writes:
the comment is not clear
> too. It says :
>
> ///< planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
>
> even though the two Croma are inverted, the difference will be in colors.
> If they are swapped (little endian instead of big endian due to the fact
> that is in 16 bi
At 15.30 23/01/2012 +, you wrote:
> writes:
>
>> >> locpFrame->data[0] => The buffer containing packetized samples,
>> >> Y0,Cr0,Y1,Cb0,Y2,Cr1,Y3,Cb1
>> >
>> >This is approximately PIX_FMT_YUYV422, but I suspect you have Cr and Cb
>> swapped,
>> >please see libavutil/pixfmt.h
>> >(Or is th
writes:
> >> locpFrame->data[0] => The buffer containing packetized samples,
> >> Y0,Cr0,Y1,Cb0,Y2,Cr1,Y3,Cb1
> >
> >This is approximately PIX_FMT_YUYV422, but I suspect you have Cr and Cb
> swapped,
> >please see libavutil/pixfmt.h
> >(Or is the comment wrong there?)
[...]
> why you state
At 12.04 23/01/2012 +, you wrote:
> writes:
>
>> I'm attempting to encode in PIX_FMT_YUYV422 using libavcodec.
>> It's not clear to me the format of input raw data. I understood that
>> all pixel should be in 16 Bit format, but in buffer, how should be inserted
>> data ? That is, if locpFram
Carl Eugen Hoyos writes:
> > locpFrame->data[0] => The buffer containing packetized samples,
> > Y0,Cr0,Y1,Cb0,Y2,Cr1,Y3,Cb1
>
> This is approximately PIX_FMT_YUYV422
I should add that afaict, rawvideo is the only encoder that supports
PIX_FMT_YUYV422, so I don't think that is what you want
writes:
> I'm attempting to encode in PIX_FMT_YUYV422 using libavcodec.
> It's not clear to me the format of input raw data. I understood that
> all pixel should be in 16 Bit format, but in buffer, how should be inserted
> data ? That is, if locpFrame is a pointer to an AVFrame, I should inser
Hi to all
I'm attempting to encode in PIX_FMT_YUYV422 using libavcodec.
It's not clear to me the format of input raw data. I understood that
all pixel should be in 16 Bit format, but in buffer, how should be inserted
data ? That is, if locpFrame is a pointer to an AVFrame, I should insert;
locp