[FFmpeg-devel] [PATCH] vaapi: Enable more libva surface formats
Michael Niedermayer
michael at niedermayer.cc
Thu Jun 2 00:53:24 CEST 2016
On Wed, Jun 01, 2016 at 08:22:26PM +0100, Mark Thompson wrote:
> On 22/05/16 11:38, Mark Thompson wrote:
> > ---
> > These were not already enabled because the other tine does not have suitable support for them.
> >
> > BGR0/RGB0 tested and working. I don't have any hardware for the others, but I believe they should work.
> >
> > libavutil/hwcontext_vaapi.c | 10 +++++-----
> > 1 file changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
> > index c2cdaa9..7c3e4bd 100644
> > --- a/libavutil/hwcontext_vaapi.c
> > +++ b/libavutil/hwcontext_vaapi.c
> > @@ -86,16 +86,16 @@ static struct {
> > MAP(YUY2, YUV422, YUYV422),
> > MAP(Y800, YUV400, GRAY8),
> > #ifdef VA_FOURCC_P010
> > - //MAP(P010, YUV420_10BPP, P010),
> > + MAP(P010, YUV420_10BPP, P010),
> > #endif
> > MAP(BGRA, RGB32, BGRA),
> > - //MAP(BGRX, RGB32, BGR0),
> > + MAP(BGRX, RGB32, BGR0),
> > MAP(RGBA, RGB32, RGBA),
> > - //MAP(RGBX, RGB32, RGB0),
> > + MAP(RGBX, RGB32, RGB0),
> > MAP(ABGR, RGB32, ABGR),
> > - //MAP(XBGR, RGB32, 0BGR),
> > + MAP(XBGR, RGB32, 0BGR),
> > MAP(ARGB, RGB32, ARGB),
> > - //MAP(XRGB, RGB32, 0RGB),
> > + MAP(XRGB, RGB32, 0RGB),
> > };
> > #undef MAP
> >
>
> Ping.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160602/94ae5106/attachment.sig>
More information about the ffmpeg-devel
mailing list