[FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel format
Xiang, Haihao
haihao.xiang at intel.com
Tue Jun 30 10:33:43 EEST 2020
Agree with Mark. P012 and P016 have different significant bits, we should use
different pixfmts, otherwise an extra field in AVFrame is needed for bit depth.
BTW there are the YUV420P variants for 10 / 12 / 14 / 16 bit in FFmpeg, it would
be better to follow FFmpeg's style to introduce P012 format instead of reusing
P016.
Thanks
Haihao
> Am So., 28. Juni 2020 um 23:01 Uhr schrieb Mark Thompson <sw at jkqxz.net>:
>
> > FFmpeg has always used pixfmt as defining both the memory layout
> > and which bits are used in that (so, for example, ARGB and 0RGB
> > are not the same thing)
>
> But they have the same bitdepth per component...
>
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list