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.
Showing
- common/arm/mc-c.c 24 additions, 18 deletionscommon/arm/mc-c.c
- common/arm/predict-c.c 8 additions, 0 deletionscommon/arm/predict-c.c
- common/bitstream.h 1 addition, 1 deletioncommon/bitstream.h
- common/common.c 13 additions, 4 deletionscommon/common.c
- common/common.h 26 additions, 15 deletionscommon/common.h
- common/dct.c 11 additions, 4 deletionscommon/dct.c
- common/deblock.c 28 additions, 15 deletionscommon/deblock.c
- common/macroblock.c 1 addition, 1 deletioncommon/macroblock.c
- common/macroblock.h 42 additions, 24 deletionscommon/macroblock.h
- common/mc.c 15 additions, 18 deletionscommon/mc.c
- common/mc.h 1 addition, 1 deletioncommon/mc.h
- common/pixel.c 11 additions, 3 deletionscommon/pixel.c
- common/ppc/dct.c 2 additions, 0 deletionscommon/ppc/dct.c
- common/ppc/deblock.c 2 additions, 0 deletionscommon/ppc/deblock.c
- common/ppc/mc.c 4 additions, 0 deletionscommon/ppc/mc.c
- common/ppc/pixel.c 4 additions, 0 deletionscommon/ppc/pixel.c
- common/ppc/predict.c 6 additions, 0 deletionscommon/ppc/predict.c
- common/ppc/quant.c 2 additions, 0 deletionscommon/ppc/quant.c
- common/predict.c 34 additions, 29 deletionscommon/predict.c
- common/quant.c 5 additions, 9 deletionscommon/quant.c
Loading
Please register or sign in to comment