[FFmpeg-devel] [PATCH v1 1/2] lavu/pixfmt: add new pixel format a2r10g10b10/a2b10g10r10

Sun, Xinpeng xinpeng.sun at intel.com
Fri Sep 27 12:02:22 EEST 2019


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Carl
> Eugen Hoyos
> Sent: Wednesday, September 25, 2019 4:53 PM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v1 1/2] lavu/pixfmt: add new pixel format
> a2r10g10b10/a2b10g10r10
> 
> Am Mi., 25. Sept. 2019 um 04:46 Uhr schrieb Xinpeng Sun
> <xinpeng.sun at intel.com>:
> 
> > Add two 10 bit RGBA pixel format for hardware color space conversion
> > support in VAAPI and QSV:
> >
> > 2:10:10:10 10 bit: A2R10G10B10
> > 2:10:10:10 10 bit: A2B10G10R10
> 
> Without more explanation, this patch is not ok.
> 
> Carl Eugen

 Thanks for review. The main reasons for adding these two format are as follows:
1. For most HDR monitors, A2R10G10B10 is used for display format for rendering. So this format is important to do 10bit RGB rendering support in ffmpeg.
2. HW VPP can do both p010->a2r10g10b10 and a2r10g10b10->p010 with this patch, which can provide support for hw encode pipeline using a2r10g10b10 as input.

Xinpeng Sun
> _______________________________________________
> 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