On 26/09/15 17:38, Vittorio Giovara wrote:
> From: Christophe Gisquet <[email protected]>
> 
> 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).
> 
> Signed-off-by: Vittorio Giovara <[email protected]>
> ---
>  libavcodec/dnxhddec.c | 18 ++++++++++++++----
>  1 file changed, 14 insertions(+), 4 deletions(-)
> 

Possibly Ok.

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to