1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
FFmpeg/libavcodec
Steven Robertson 5222f660d7 libavcodec/dnxhd: Enable 12-bit DNxHR support.
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@strobe.cc>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e1be80aa11cca765881d04f21119487db53c4ffa)
2016-08-05 23:00:58 +02:00
..
2016-06-22 18:49:33 +02:00
2016-02-27 16:31:46 -06:00
2016-01-20 16:56:53 +00:00
2016-05-04 18:16:21 +02:00
2016-04-05 23:13:44 -03:00
2016-05-31 01:08:25 +01:00
2016-05-04 18:16:21 +02:00
2015-12-19 09:32:53 -08:00
2015-11-30 18:29:57 -05:00
2016-05-21 18:10:07 +02:00
2016-03-28 14:13:17 -08:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-01-11 21:51:11 +01:00
2016-06-06 14:32:48 +02:00
2015-11-30 10:58:46 -05:00
2016-01-30 17:44:13 +00:00
2016-02-02 18:06:13 -08:00
2016-03-28 14:13:17 -08:00
2016-06-10 16:31:23 +02:00
2016-02-07 09:26:15 -08:00
2016-05-04 18:16:21 +02:00
2016-01-28 10:31:41 +01:00
2016-05-11 12:21:25 +02:00
2016-04-02 22:48:15 +01:00
2016-04-02 22:48:15 +01:00
2016-03-07 11:17:31 +01:00
2016-03-04 13:51:42 +01:00
2015-12-07 16:10:51 +01:00
2016-01-18 19:56:37 +01:00
2016-01-31 15:44:11 -08:00
2015-12-05 21:11:52 +01:00
2015-12-05 21:11:52 +01:00
2016-03-16 11:32:51 +01:00
2016-03-16 11:32:51 +01:00
2016-03-07 11:17:31 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-03-13 09:40:09 +01:00
2016-03-12 02:08:45 +01:00
2016-05-05 10:48:34 +02:00
2016-05-04 18:16:21 +02:00
2016-05-03 15:45:10 +02:00
2016-06-11 17:27:19 +02:00
2016-02-28 13:32:01 +01:00
2016-03-23 09:25:30 +01:00
2016-04-14 22:31:57 +02:00
2016-02-09 19:19:43 +01:00
2016-05-04 18:16:21 +02:00
2016-06-23 00:42:16 +02:00
2016-05-04 18:16:21 +02:00
2016-06-17 21:48:34 +02:00
2016-01-30 13:31:44 +01:00
2015-12-22 12:54:23 +01:00
2016-05-06 01:12:51 +01:00
2016-05-04 18:16:21 +02:00
2016-05-04 18:16:21 +02:00
2016-06-23 00:42:16 +02:00
2016-05-04 18:16:21 +02:00
2016-01-11 21:51:11 +01:00
2016-01-20 16:41:19 -03:00
2016-05-04 18:16:21 +02:00
2016-01-28 19:49:48 -08:00
2016-06-26 10:18:10 +02:00