On Mon, Jan 25, 2016 at 6:15 PM, Kieran Kunhya wrote:
>>> +{
>>> +CFHDContext *s = avctx->priv_data;
>>> +
>>> +avctx->pix_fmt = AV_PIX_FMT_YUV422P10;
>>
>> if the decoder supports multiple pixel formats it's better not to
>> initialize the pixel format here, and wait until dec
On Mon, Jan 25, 2016 at 4:51 PM, Vittorio Giovara
wrote:
> On Sun, Jan 24, 2016 at 7:34 PM, Kieran Kunhya wrote:
>> Decodes YUV 4:2:2 10-bit and RGB 12-bit files.
>> Older files with more subbands, skips, Bayer, alpha not supported.
>> Alpha requires addition of GBRAP12 pixel format.
>
> Actually
On Sun, Jan 24, 2016 at 7:34 PM, Kieran Kunhya wrote:
> Decodes YUV 4:2:2 10-bit and RGB 12-bit files.
> Older files with more subbands, skips, Bayer, alpha not supported.
> Alpha requires addition of GBRAP12 pixel format.
Actually you could set AV_PIX_FMT_GBRAP16 and tweak the
bits_per_raw_sampl
Decodes YUV 4:2:2 10-bit and RGB 12-bit files.
Older files with more subbands, skips, Bayer, alpha not supported.
Alpha requires addition of GBRAP12 pixel format.
---
libavcodec/Makefile | 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/avcodec.h| 1 +
libavcodec/cfhd.c | 744 ++