aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decoding_encoding.c
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2015-09-25 18:57:17 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-08 13:15:42 +0200
commitf5f9c166a1b48212262974d74a5524e180d8f86f (patch)
tree0a02e5a2dd0f3a61a393f1a8bd7a3c7e6668613e /doc/examples/decoding_encoding.c
parent01bf0a178d90c078d45bee22d640a53decfc56cb (diff)
downloadffmpeg-f5f9c166a1b48212262974d74a5524e180d8f86f.tar.gz
dnxhddec: decode and use interlace mb flag
This bit is 1 in some samples, and seems to coincide with interlaced mbs and CID1260. 2008 specs do not know about it, and maintain qscale is 11 bits. This looks oversized, but may help larger bitdepths. Currently, it leads to an obviously incorrect qscale value, meaning its syntax is shifted by 1. However, reading 11 bits also leads to obviously incorrect decoding: qscale seems to be 10 bits. However, as most profiles still have 11bits qscale, the feature is restricted to the CID1260 profile. The encoder writes 12 bits of syntax, last and first bits always 0, which is now somewhat inconsistent with the decoder, but ends up with the same effect (progressive + reserved bit). Partially fixes ticket #4876. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 2801a1352dc8682b028e53880f9847fcb2116947) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions