[FFmpeg-devel] [PATCH] avcodec/dnxhddec: fix decoding of DNxHR HQX 10-bit

Paul B Mahol onemda at gmail.com
Thu Feb 23 16:18:12 EET 2017


On 2/23/17, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2017-02-23 8:00 GMT+01:00 Paul B Mahol <onemda at gmail.com>:
>> On 2/23/17, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>>> 2017-02-22 14:51 GMT+01:00 Paul B Mahol <onemda at gmail.com>:
>>>> On 2/22/17, Paul B Mahol <onemda at gmail.com> wrote:
>>>>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>>>>> ---
>>>>>  libavcodec/dnxhddec.c | 2 +-
>>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
>>>>> index 70ce264..cdbc0bc 100644
>>>>> --- a/libavcodec/dnxhddec.c
>>>>> +++ b/libavcodec/dnxhddec.c
>>>>> @@ -435,7 +435,7 @@ static int dnxhd_decode_dct_block_8(const
>>>>> DNXHDContext
>>>>> *ctx,
>>>>>  static int dnxhd_decode_dct_block_10(const DNXHDContext *ctx,
>>>>>                                       RowContext *row, int n)
>>>>>  {
>>>>> -    return dnxhd_decode_dct_block(ctx, row, n, 6, 8, 4, 0);
>>>>> +    return dnxhd_decode_dct_block(ctx, row, n, 6, 32, 6, 0);
>>>>>  }
>>>>>
>>>>>  static int dnxhd_decode_dct_block_10_444(const DNXHDContext *ctx,
>>>>> --
>>>>> 2.9.3
>>>>>
>>>>>
>>>>
>>>> File can be found here:
>>>> https://drive.google.com/open?id=0B1hdyiz226iBV1llcDl3LW80U2c
>>>
>>> The file does not decode here with your patch applied:
>>> $ md5sum test.mov
>>> 25e45b380250bb76296f623fee9d43f1  test.mov
>>
>> Disable edit list support.
>
> Thank you.
>
> How can I create such a sample?

Buy certain software.


More information about the ffmpeg-devel mailing list