[x264-devel] commit: Major API change: encapsulate NALs within libx264 ( Jason Garrett-Glaser )

git version control git at videolan.org
Wed Sep 23 11:01:51 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Wed Sep 16 20:00:00 2009 -0700| [031e25d8cc909af2d138f9fedc8252961f34a6ac] | committer: Jason Garrett-Glaser 

Major API change: encapsulate NALs within libx264
libx264 now returns NAL units instead of raw data.  x264_nal_encode is no longer a public function.
See x264.h for full documentation of changes.
New parameter: b_annexb, on by default.  If disabled, startcodes are replaced by sizes as in mp4.
x264's VBV now works on a NAL level, taking into account escape codes.
VBV will also take into account the bit cost of SPS/PPS, but only if b_repeat_headers is set.
Add an overhead tracking system to VBV to better predict the constant overhead of frames (headers, NALU overhead, etc).

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

 common/common.c       |   33 +++++++++----
 common/common.h       |    8 ++-
 encoder/encoder.c     |  123 +++++++++++++++++++++++++++++++-----------------
 encoder/ratecontrol.c |   22 ++++----
 encoder/ratecontrol.h |    2 +-
 x264.c                |   15 +------
 x264.h                |   35 +++++++++-----
 7 files changed, 144 insertions(+), 94 deletions(-)

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


More information about the x264-devel mailing list