[FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

Yufei He yhe at matrox.com
Mon Mar 25 15:53:42 EET 2019


Hi

I think there may be one format missing in AVPixelFormat.

AV_PIX_FMT_YUYV210


[cid:part1.002B7405.3138ACFB at 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 of video data must be padded out to the nearest 48 pixel
boundary. For example, a 1280 × 720 video buffer is 1280 pixels wide, which is not a
multiple of 48. Each line of the video buffer must be padded to 1296 pixels (3456
bytes) in order to make each line a multiple of 48.

It's popular when video is in 10bit.

Yufei.





-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdmobopbpmfjdjbj.png
Type: image/png
Size: 43427 bytes
Desc: bdmobopbpmfjdjbj.png
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190325/1679a2ed/attachment.png>


More information about the ffmpeg-devel mailing list