[FFmpeg-devel] [PATCH] libavcodec/dnxhd: Enable 12-bit DNxHR support.

Michael Niedermayer michael at niedermayer.cc
Wed Aug 3 04:19:19 EEST 2016

On Mon, Aug 01, 2016 at 11:26:12PM -0700, Steven Robertson wrote:
> 10- and 12-bit DNxHR use the same DC coefficient decoding process and
> VLC table, just with a different shift value. From SMPTE 2019-1:2016,
> 8.2.4 DC Coefficient Decoding:
> "For 8-bit video sampling, the maximum value of η=11 and for
> 10-/12-bit video sampling, the maximum value of η=13."
> A sample file will be uploaded to show that with this patch, things
> decode correctly:
> dnxhr_hqx_12bit_1080p_smpte_colorbars_davinci_resolve.mov
> Signed-off-by: Steven Robertson <steven at strobe.cc>
> ---
>  libavcodec/dnxhddec.c | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)


can you add a fate test


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160803/7ec4f042/attachment.sig>

More information about the ffmpeg-devel mailing list