[FFmpeg-devel] [PATCH v4 2/2] avfilter: add a flip_vulkan filter
Lynne
dev at lynne.ee
Fri Nov 26 13:03:23 EET 2021
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.
I agree the name isn't perfect. Maybe we can add a note in the
description this is equivalent to 180-degree rotation.
More information about the ffmpeg-devel
mailing list