[FFmpeg-devel] [PATCH] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver
Zhou, Zachary
zachary.zhou at intel.com
Tue Oct 23 16:25:56 EEST 2018
I was planning to enable VAAPI rotation and mirroring as two features in two patches.
I am checking VAProcPipelineParameterBuffer::mirror_state, it looks like iHD driver doesn’t support to query mirror_flags via vaQueryVideoProcPipelineCaps currently.
-----Original Message-----
From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Li, Zhong
Sent: Tuesday, October 23, 2018 8:56 PM
To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Moritz Barsnick
> Sent: Tuesday, October 23, 2018 8:32 PM
> To: FFmpeg development discussions and patches
> <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] libavfilter/vaapi: enable vaapi
> rotation feature via call Intel iHD driver
>
> On Tue, Oct 23, 2018 at 09:56:04 +0000, Li, Zhong wrote:
> > Not sure vaapi can expose more angles or not.
>
> VAAPI's rotation_state only supports those four "angles":
> http://01org.github.io/libva_staging_doxygen/struct__VAProcPipelinePar
> am eterBuffer.html#ae05cc1f2189c9e85339f7c63e9a61e1c
Yup, I know. I mean vaapi is kept in evolution. I am not sure future version VAAPI will introduce more angles or not.
>
> > But using similar options/suboptions should be a good idea.
>
> Great.
>
> BTW, you could also introduce filters similar to hflip/vflip by using
> VAProcPipelineParameterBuffer::mirror_state.
Good suggestion, :).
>
> Moritz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list