[x264-devel] commit: Support for 9 and 10-bit encoding (Oskar Arvidsson )

git at videolan.org git at videolan.org
Mon Jul 5 03:41:42 CEST 2010


x264 | branch: master | Oskar Arvidsson <oskar at irock.se> | Fri Jul  2 04:06:08 2010 +0200| [d058f37d9af8fc425fa0626695a190eb3aa032af] | committer: Jason Garrett-Glaser 

Support for 9 and 10-bit encoding
Output bit depth is specified on compilation time via --bit-depth.
There is currently almost no assembly code available for high-bit-depth modes, so encoding will be very slow.
Input is still 8-bit only; this will change in the future.

Note that very few H.264 decoders support >8 bit depth currently.
Also note that the quantizer scale differs for higher bit depth.  For example, for 10-bit, the quantizer (and crf) ranges from 0 to 63 instead of 0 to 51.

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

 common/arm/mc-c.c      |   42 +++++++-----
 common/arm/predict-c.c |    8 ++
 common/bitstream.h     |    2 +-
 common/common.c        |   17 ++++-
 common/common.h        |   41 +++++++----
 common/dct.c           |   15 +++-
 common/deblock.c       |   43 ++++++++----
 common/macroblock.c    |    2 +-
 common/macroblock.h    |   66 ++++++++++++-------
 common/mc.c            |   33 ++++-----
 common/mc.h            |    2 +-
 common/pixel.c         |   14 +++-
 common/ppc/dct.c       |    2 +
 common/ppc/deblock.c   |    2 +
 common/ppc/mc.c        |    4 +
 common/ppc/pixel.c     |    4 +
 common/ppc/predict.c   |    6 ++
 common/ppc/quant.c     |    2 +
 common/predict.c       |   63 ++++++++++--------
 common/quant.c         |   14 ++---
 common/set.c           |   25 ++++++-
 common/x86/mc-c.c      |   12 +++-
 common/x86/predict-c.c |   10 +++
 configure              |   17 +++++
 encoder/analyse.c      |   80 ++++++++++++-----------
 encoder/cabac.c        |   25 ++++---
 encoder/cavlc.c        |   24 +++----
 encoder/encoder.c      |   45 +++++++++----
 encoder/macroblock.h   |    4 +-
 encoder/me.h           |    2 +-
 encoder/ratecontrol.c  |   49 ++++++++------
 encoder/rdo.c          |   10 +--
 encoder/set.c          |   11 ++-
 encoder/slicetype.c    |   10 ++--
 tools/checkasm.c       |  169 +++++++++++++++++++++++++----------------------
 x264.c                 |   22 ++++--
 x264.h                 |    4 +-
 37 files changed, 547 insertions(+), 354 deletions(-)

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


More information about the x264-devel mailing list