[x264-devel] Add slices-max feature

Jason Garrett-Glaser git at videolan.org
Tue Apr 23 23:03:04 CEST 2013


x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Tue Feb 19 13:48:44 2013 -0800| [389d06e8f93916b4fe5766ee4503380f2632ef79] | committer: Jason Garrett-Glaser

Add slices-max feature

The H.264 spec technically has limits on the number of slices per frame. x264
normally ignores this, since most use-cases that require large numbers of
slices prefer it to. However, certain decoders may break with extremely large
numbers of slices, as can occur with some slice-max-size/mbs settings.

When set, x264 will refuse to create any slices beyond the maximum number,
even if slice-max-size/mbs requires otherwise.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=389d06e8f93916b4fe5766ee4503380f2632ef79
---

 common/common.c   |    4 ++
 common/frame.c    |   16 ++++++++
 common/frame.h    |    2 +
 common/osdep.h    |   19 ++++++++++
 encoder/encoder.c |  105 +++++++++++++++++++++++++++++------------------------
 x264.c            |    3 ++
 x264.h            |    4 +-
 7 files changed, 105 insertions(+), 48 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=389d06e8f93916b4fe5766ee4503380f2632ef79


More information about the x264-devel mailing list