[FFmpeg-devel] [PATCH 1/3] lavu/pix_fmt: add new pixel format x2rgb10
Carl Eugen Hoyos
ceffmpeg at gmail.com
Thu Apr 23 01:10:03 EEST 2020
Am Mi., 22. Apr. 2020 um 04:32 Uhr schrieb Wang, Fei W <fei.w.wang at intel.com>:
>
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > Hendrik Leppkes
> > Subject: Re: [FFmpeg-devel] [PATCH 1/3] lavu/pix_fmt: add new pixel format
> > x2rgb10
> >
> > On Tue, Apr 21, 2020 at 9:53 AM Fei Wang <fei.w.wang at intel.com> wrote:
> > >
> > > The format is packed RGB with each channel 10 bits available and
> > > include 2 bits unused.
> > >
> >
> > The name of this pix_fmt seems very confusing, and the entire format seems
> > very specific. What is such a packed RGB format really good for in ffmpeg?
>
> This format is named as X2R10G10B10 in libva, but I think X2RGB10 is more
> concise. There is similar format name defined in Gstreamer like RGB10A2.
> Because there are lots of Codec/Filter based on third-party library in ffmpeg, while
> in these library they may support some specific format like P010/Y210/Y410.., so in
> Ffmpeg side it should support this kinds of formats first, at least the definition.
Why don't you use AV_PIX_FMT_GBRP10?
Carl Eugen
More information about the ffmpeg-devel
mailing list