[x264-devel] commit: Make B-pyramid spec-compliant (Lamont Alston )
git version control
git at videolan.org
Mon Oct 19 11:29:45 CEST 2009
x264 | branch: master | Lamont Alston <wewk584 at gmail.com> | Mon Oct 12 23:32:16 2009 -0700| [e2659dbdc0aed2d2cd4f6538faddf370e7740ada] | committer: Jason Garrett-Glaser
Make B-pyramid spec-compliant
The rules of the specification with regard to picture buffering for pyramid coding are widely ignored.
x264's b-pyramid implementation, despite being practically identical to that proposed by the original paper, was technically not compliant.
Now it is.
Two modes are now available:
1) strict b-pyramid, while worse for compression, follows the rule mandated by Blu-ray (no P-frames can reference B-frames)
2) normal b-pyramid, which is like the old mode except fully compliant.
This patch also adds MMCO support (necessary for compliant pyramid in some cases).
MB-tree still doesn't support b-pyramid (but will soon).
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=e2659dbdc0aed2d2cd4f6538faddf370e7740ada
---
common/common.c | 6 +-
common/common.h | 12 +++++-
common/frame.h | 3 +-
common/macroblock.c | 2 +-
encoder/encoder.c | 121 +++++++++++++++++++++++++++++++++++++++---------
encoder/lookahead.c | 6 ++-
encoder/ratecontrol.c | 6 ++-
encoder/set.c | 10 +++--
encoder/slicetype.c | 7 +++
muxers.c | 2 +-
x264.c | 8 +++-
x264.h | 8 +++-
12 files changed, 150 insertions(+), 41 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=e2659dbdc0aed2d2cd4f6538faddf370e7740ada
More information about the x264-devel
mailing list