[FFmpeg-devel] [PATCH v4 2/2] avfilter: add a flip_vulkan filter
Gyan Doshi
ffmpeg at gyani.pro
Fri Nov 26 13:20:57 EET 2021
On 2021-11-26 04:33 pm, Lynne wrote:
> 26 Nov 2021, 11:37 by ffmpeg at gyani.pro:
>
>>
>> On 2021-11-26 03:08 pm, Lynne wrote:
>>
>>> 26 Nov 2021, 10:10 by jianhua.wu at intel.com:
>>>
>>>> This filter flips the input video both horizontally and vertically
>>>> in one compute pipeline, and it's no need to use two pipelines for
>>>> hflip_vulkan,vflip_vulkan anymore.
>>>>
>>>> Signed-off-by: Wu Jianhua <jianhua.wu at intel.com>
>>>> ---
>>>> configure | 1 +
>>>> libavfilter/allfilters.c | 1 +
>>>> libavfilter/vf_flip_vulkan.c | 61 +++++++++++++++++++++++++++++-------
>>>> 3 files changed, 51 insertions(+), 12 deletions(-)
>>>>
>>> I'll push this tonight if there are no further objections to the name.
>>>
>> Will other flip modes be added to this filter?
>>
> No. Other flip modes are already separate filters, and transposition
> would be another filter. Our transpose filter doesn't support flipping
> the image, and to keep options compatible between software and
> hardware filters, we can't add it. So the most appropriate filter for
> this is a standalone one.
If modes can be added, you can add them here, and deprecate the single
mode variants.
Since these filters are very new, there are no legacy users to
accommodate and now would be the best time they come become present in a
release branch.
Regards,
Gyan
More information about the ffmpeg-devel
mailing list