af_hdcd: add experimental 20 and 24-bit decoding support

Multimedia / FFmpeg - Burt P [gmail.com] - 5 October 2016 12:48 UTC

I don't have any legitimate 20 or 24-bit HDCD to test. It is known that the PM Model Two would insert packets into 20 and 24-bit output, but I have no idea what differences in behavior existed when decoding 20 or 24-bit. For now, as with 16-bit, PE (if enabled) will expand the top 3dB into 9dB and LLE (gain adjust) will be applied if signaled.

f51ddbf af_hdcd: add experimental 20 and 24-bit decoding support
libavfilter/af_hdcd.c | 88 ++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 68 insertions(+), 20 deletions(-)

  • Share