Re: [FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Yufei He
It's a standard format. I suggest that it should be in AVPixelFormat.  the codec can do the conversion. Yufei. On 03/25/2019 09:55 AM, Kieran Kunhya wrote: > On Mon, 25 Mar 2019 at 13:53 Yufei He wrote: > >> Hi >> >> I think there may be one format missing in AVPixelFormat. >> >> AV_PIX_FMT_YU

Re: [FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Devin Heitmueller
Hello Yufei, > On Mar 25, 2019, at 9:53 AM, Yufei He wrote: > > Hi > > I think there may be one format missing in AVPixelFormat. > > AV_PIX_FMT_YUYV210 > > > [cid:part1.002B7405.3138ACFB@matrox.com] > > > The start of each line in the V210 video buffer format must be > aligned to a multip

Re: [FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Kieran Kunhya
On Mon, 25 Mar 2019 at 13:53 Yufei He wrote: > Hi > > I think there may be one format missing in AVPixelFormat. > > AV_PIX_FMT_YUYV210 > For various reasons v210 and friends are implemented as a codec in FFmpeg. Kieran ___ ffmpeg-devel mailing list ff

[FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Yufei He
Hi I think there may be one format missing in AVPixelFormat. AV_PIX_FMT_YUYV210 [cid:part1.002B7405.3138ACFB@matrox.com] The start of each line in the V210 video buffer format must be aligned to a multiple of 48 pixels (128 bytes). This means that if a line is not a multiple of 48, each line