[FFmpeg-devel] [PATCH] avcodec/dpx: Support for RGB 12-bit packed decoding

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Apr 10 14:02:06 EEST 2018


2018-04-10 12:41 GMT+02:00, Paul B Mahol <onemda at gmail.com>:
> On 4/10/18, Kieran O Leary <kieran.o.leary at gmail.com> wrote:
>> I just tested this patch non packed to 16-bit gbrp12le DPX from DaVinci
>> Resolve. Encoding to FFV1 and back again to DPX produced the same framemd5
>> values.
>>
>> Does any more testing need to happen before this can be merged?

> Does this patch decodes to gbrp12 pixel format?

Looking at this block of the patch, it appears so:
> +                    *dst[2]++ = read12in32(&buf, &rgbBuffer,
> +                                           &n_datum, endian);
> +                    *dst[0]++ = read12in32(&buf, &rgbBuffer,
> +                                           &n_datum, endian);
> +                    *dst[1]++ = read12in32(&buf, &rgbBuffer,
> +                                           &n_datum, endian);

(Above are "& 0xFFF")

Carl Eugen


More information about the ffmpeg-devel mailing list