Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-09-30 Thread Lynne
29 Sept 2021, 22:47 by p...@sandflow.com: > From: Pierre-Anthony Lemieux > > Signed-off-by: Pierre-Anthony Lemieux > --- > > Notes: > Implements IMF Composition Playlist (CPL) parsing. > > libavformat/imf_cpl.c | 652 ++ > 1 file changed, 652 insertions(

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-05 Thread Lynne
5 Oct 2021, 17:22 by p...@sandflow.com: > Hi Lynne, > > Can you be more specific? > > The file header we used look consistent with the header of other > BSD-licensed files, like aacdec.c. > > Thanks, > > -- Pierre > > On Thu, Sep 30, 2021 at 6:40 AM Lynne wro

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-07 Thread Lynne
6 Oct 2021, 02:45 by p...@sandflow.com: > On Tue, Oct 5, 2021 at 5:03 PM Lynne wrote: > >> >> 5 Oct 2021, 17:22 by p...@sandflow.com: >> >> > Hi Lynne, >> > >> > Can you be more specific? >> > >> > The file header we used l

Re: [FFmpeg-devel] [PATCH v3] libavfilter: add a gblur_vulkan filter

2021-11-05 Thread Lynne
9 Sept 2021, 07:44 by jianhua...@intel.com: > This commit adds a powerful and customizable gblur Vulkan filter, > which provides a maximum 127x127 kernel size of Gaussian Filter. > The size could be adjusted by requirements on quality or performance. > > The following command is on how to apply gb

Re: [FFmpeg-devel] [PATCH 6/7] libavutil/hwcontext_vulkan: fix a sem_wait bug when export drm

2021-11-09 Thread Lynne
9 Nov 2021, 10:18 by wenbin.c...@intel.com: > sem_sig_val is wrongly assigned to pWaitSemaphoreValues when export drm. Now > fix > it. > > Signed-off-by: Wenbin Chen <> wenbin.c...@intel.com> > > Thanks for spotting this, I fixed that in my patchset and updated branch. frame->sem_value is safe t

Re: [FFmpeg-devel] [PATCH 0/14] Vulkan fixes and improvements

2021-11-11 Thread Lynne
Nov 10, 2021, 08:20 by d...@lynne.ee: > I've extensively fixed and improved our Vulkan codebase, and it's > now up to standard. Since it's a 14-part patchset, I've uploaded > my branch for review here: > https://github.com/cyanreg/FFmpeg/tree/vulkan > > The implementation now follows modern Vulkan

Re: [FFmpeg-devel] [PATCH 0/14] Vulkan fixes and improvements

2021-11-11 Thread Lynne
11 Nov 2021, 12:54 by ffm...@haasn.xyz: > On Thu, 11 Nov 2021 09:12:35 +0100 Lynne wrote: > >> Nov 10, 2021, 08:20 by d...@lynne.ee: >> >> > I've extensively fixed and improved our Vulkan codebase, and it's >> > now up to standard. Since it's a

Re: [FFmpeg-devel] [PATCH 0/14] Vulkan fixes and improvements

2021-11-11 Thread Lynne
11 Nov 2021, 13:43 by d...@lynne.ee: > 11 Nov 2021, 12:54 by ffm...@haasn.xyz: > >> On Thu, 11 Nov 2021 09:12:35 +0100 Lynne wrote: >> >>> Nov 10, 2021, 08:20 by d...@lynne.ee: >>> >>> > I've extensively fixed and improved our Vulkan codebas

[FFmpeg-devel] [PATCH] configure: autodetect uuid and use it for dshow and vulkan

2021-11-11 Thread Lynne
rvers. Patch attached. >From b3f2e72e6f86db86b6cbb8bcc755caeee23bdfe9 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 12 Nov 2021 06:38:27 +0100 Subject: [PATCH] configure: autodetect uuid and use it for dshow and vulkan The UUID library is even more ubiquitous than iconv, and it hasn't ch

Re: [FFmpeg-devel] [PATCH] configure: autodetect uuid and use it for dshow and vulkan

2021-11-11 Thread Lynne
12 Nov 2021, 07:04 by mar...@martin.st: > On Fri, 12 Nov 2021, Lynne wrote: > >> The UUID library is even more ubiquitous than iconv, and it hasn't >> changed its API and ABI for maybe 20 years. >> MediaFoundation and dshow already depends on it silently, and >>

Re: [FFmpeg-devel] [PATCH 4/7] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-11 Thread Lynne
9 Nov 2021, 10:18 by wenbin.c...@intel.com: > The vaapi can import external frame, but the planes of the external > frames should be in the same drm object. I add a new function to > allocate vkFrame in one memory and vulkan device will choose a way > to allocate memory according to one_memory fla

Re: [FFmpeg-devel] [PATCH 7/7] libavutil/hwcontext_vulkan: specify the modifier to create VKImage

2021-11-11 Thread Lynne
9 Nov 2021, 10:18 by wenbin.c...@intel.com: > When vulkan image exports to drm, the tilling need to be > VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT. Now add code to create vulkan > image using this format. > > Now the following command line works: > > ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/re

Re: [FFmpeg-devel] [PATCH v1 2/2] avcodec/v4l2_buffer: export v4l2 buffer dma-buf

2021-11-12 Thread Lynne
12 Nov 2021, 09:36 by ming.q...@nxp.com: > Signed-off-by: Ming Qian > --- > libavcodec/v4l2_buffers.c | 14 ++ > libavcodec/v4l2_buffers.h | 1 + > libavcodec/v4l2_context.c | 4 > 3 files changed, 19 insertions(+) > > diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_b

Re: [FFmpeg-devel] [PATCH v2] lavfi: add a libplacebo filter

2021-11-12 Thread Lynne
Nov 12, 2021, 11:58 by ffm...@haasn.xyz: > From: Niklas Haas > > This filter conceptually maps the libplacebo `pl_renderer` API into > libavfilter, which is a high-level image rendering API designed to work > with an RGB pipeline internally. As such, there's no way to avoid e.g. > chroma interpol

Re: [FFmpeg-devel] [PATCH 2/6] lavf: add an AVClass to AVStream on next major bump

2021-11-12 Thread Lynne
12 Nov 2021, 20:00 by h.lepp...@gmail.com: > On Fri, Nov 12, 2021 at 5:47 PM Anton Khirnov wrote: > >> >> Quoting James Almer (2021-11-12 17:36:58) >> > On 11/12/2021 1:32 PM, Anton Khirnov wrote: >> > > Also add a function to retrieve that class, analogously to >> > > avformat_get_class(). >> >

Re: [FFmpeg-devel] [PATCH] lavfi/vf_libplacebo: pick log level dynamically

2021-11-12 Thread Lynne
12 Nov 2021, 20:24 by ffm...@haasn.xyz: > From: Niklas Haas > > In particular, allows users to go all the way up to PL_LOG_TRACE if > desired. (While also avoiding some potentially unnecessary callbacks for > filtered messages, including e.g. the CPU cost of printing out shader > sources) > > Res

Re: [FFmpeg-devel] [PATCH v4] libavfilter: add a gblur_vulkan filter

2021-11-16 Thread Lynne
16 Nov 2021, 08:35 by jianhua...@intel.com: > This commit adds a powerful and customizable gblur Vulkan filter, > which provides a maximum 127x127 kernel size of Gaussian Filter. > The size could be adjusted by requirements on quality or performance. > > The following command is on how to apply gb

Re: [FFmpeg-devel] [PATCH] avfilter/gblur_vulkan: fix memory leak

2021-11-16 Thread Lynne
17 Nov 2021, 04:04 by jianhua...@intel.com: > Whether failed or not, the block of codes labeled with fail should > be always run to ensure the av_free(kernel_def) is executed. > > Signed-off-by: Wu Jianhua > --- > libavfilter/vf_gblur_vulkan.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --

Re: [FFmpeg-devel] [PATCH] avfilter/vf_gblur_vulkan: Fix use of uninitialized value

2021-11-16 Thread Lynne
17 Nov 2021, 06:04 by lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_gblur_vulkan.c | 2 +- > Pushed, thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/f

Re: [FFmpeg-devel] [PATCH 2/2] avfilter: add a vflip_vulkan filter

2021-11-17 Thread Lynne
Nov 17, 2021, 08:51 by jianhua...@intel.com: > The following command is on how to apply vflip_vulkan filter: > > ffmpeg -init_hw_device vulkan -i input.264 -vf > hwupload=extra_hw_frames=16,vflip_vulkan,hwdownload,format=yuv420p output.264 > > Signed-off-by: Wu Jianhua > --- > configure

Re: [FFmpeg-devel] [PATCH 05/10] avfilter/overlay_vulkan: use FF_ARRAY_ELEMS instead of magic number

2021-11-17 Thread Lynne
Nov 18, 2021, 05:24 by jianhua...@intel.com: > Signed-off-by: Wu Jianhua > --- > libavfilter/vf_overlay_vulkan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_overlay_vulkan.c b/libavfilter/vf_overlay_vulkan.c > index b902ad83f5..29eb11c89d 100644 > ---

Re: [FFmpeg-devel] [PATCH] vulkan: move common Vulkan code from libavfilter to libavutil

2021-11-18 Thread Lynne
Nov 18, 2021, 06:46 by d...@lynne.ee: > This commit moves the common Vulkan framework into libavutil, > allowing it to be used in libavcodec. Each library that uses it is > expected to #include the .c/.h files into their own templates, > that may include extra library-specific functions, and compi

Re: [FFmpeg-devel] [PATCH 05/10] avfilter/overlay_vulkan: use FF_ARRAY_ELEMS instead of magic number

2021-11-19 Thread Lynne
18 Nov 2021, 06:48 by d...@lynne.ee: > Nov 18, 2021, 05:24 by jianhua...@intel.com: > >> Signed-off-by: Wu Jianhua >> --- >> libavfilter/vf_overlay_vulkan.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavfilter/vf_overlay_vulkan.c >> b/libavfilter/vf_overlay_vu

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter: add a vflip_vulkan filter

2021-11-19 Thread Lynne
19 Nov 2021, 15:50 by jianhua...@intel.com: > The following command is on how to apply vflip_vulkan filter: > > ffmpeg -init_hw_device vulkan -i input.264 -vf > hwupload=extra_hw_frames=16,vflip_vulkan,hwdownload,format=yuv420p output.264 > > Signed-off-by: Wu Jianhua > --- > configure

Re: [FFmpeg-devel] [PATCH 4/7] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-19 Thread Lynne
15 Nov 2021, 08:25 by wenbin.c...@intel.com: >> 9 Nov 2021, 10:18 by wenbin.c...@intel.com: >> >> > The vaapi can import external frame, but the planes of the external >> > frames should be in the same drm object. I add a new function to >> > allocate vkFrame in one memory and vulkan device will c

Re: [FFmpeg-devel] [PATCH 4/7] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-19 Thread Lynne
19 Nov 2021, 18:59 by d...@lynne.ee: > 15 Nov 2021, 08:25 by wenbin.c...@intel.com: > >>> 9 Nov 2021, 10:18 by wenbin.c...@intel.com: >>> >>> > The vaapi can import external frame, but the planes of the external >>> > frames should be in the same drm object. I add a new function to >>> > allocate

Re: [FFmpeg-devel] [PATCH 4/7] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-19 Thread Lynne
19 Nov 2021, 19:13 by d...@lynne.ee: > 19 Nov 2021, 18:59 by d...@lynne.ee: > >> 15 Nov 2021, 08:25 by wenbin.c...@intel.com: >> 9 Nov 2021, 10:18 by wenbin.c...@intel.com: > The vaapi can import external frame, but the planes of the external > frames should be in the same drm

Re: [FFmpeg-devel] [PATCH 4/4] avutil/hwcontext_vulkan: fully support customizable validation layers

2021-11-23 Thread Lynne
23 Nov 2021, 10:01 by jianhua...@intel.com: > Validation layer is an indispensable part of developing on Vulkan. > > The following commands is on how to enable validation layers: > > ffmpeg -init_hw_device > vulkan=0,debug=1,validation_layers=VK_LAYER_KHRONOS_validation+VK_LAYER_LUNARG_api_dump >

Re: [FFmpeg-devel] [PATCH 4/4] avutil/hwcontext_vulkan: fully support customizable validation layers

2021-11-23 Thread Lynne
23 Nov 2021, 10:48 by jianhua...@intel.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Lynne >> Sent: Tuesday, November 23, 2021 5:23 PM >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >>

Re: [FFmpeg-devel] [PATCH 4/4] avutil/hwcontext_vulkan: fully support customizable validation layers

2021-11-23 Thread Lynne
23 Nov 2021, 12:03 by toq...@outlook.com: > Lynne: > >23 Nov 2021, 10:48 by jianhua...@intel.com: > >>Lynne: > >>>> From: ffmpeg-devel On Behalf Of >>>> Lynne >>>> Sent: Tuesday, November 23, 2021 5:23 PM >>>> To: FFmpeg devel

Re: [FFmpeg-devel] [PATCH 01/11] avformat/rtpdec_rfc4175: use rawvideo for uyvy422

2021-11-23 Thread Lynne
23 Nov 2021, 23:33 by lance.lmw...@gmail.com: > On Fri, Nov 12, 2021 at 06:22:06PM +0800, lance.lmw...@gmail.com wrote: > >> From: Limin Wang >> >> Signed-off-by: Limin Wang >> --- >> libavformat/rtpdec_rfc4175.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/lib

Re: [FFmpeg-devel] [PATCH v2 4/4] avutil/hwcontext_vulkan: fully support customizable validation layers

2021-11-24 Thread Lynne
24 Nov 2021, 05:11 by jianhua...@intel.com: > +static int check_validation_layers(AVHWDeviceContext *ctx, AVDictionary > *opts, > + const char * const **dst, uint32_t *num) > +{ > +static const char default_layer[] = { "VK_LAYER_KHRONOS_validation" }; > + >

Re: [FFmpeg-devel] [PATCH V2 4/5] libavutil/hwcontext_vulkan: Add hwupload and hwdownload support when using contiguous_planes flag.

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > Add hwupload and hwdownload support to vulkan when frames are allocated > in one memory > > Signed-off-by: Wenbin Chen > --- > libavutil/hwcontext_vulkan.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/libavu

Re: [FFmpeg-devel] [PATCH V2 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > The vaapi can import external frame, but the planes of the external > frames should be in the same drm object. A new option "contiguous_planes" > is added to device. This flag tells device to allocate places in one > memory. When device is derived fro

Re: [FFmpeg-devel] [PATCH V2 5/5] libavutil/hwcontext_vulkan: specify the modifier to create VKImage

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > When vulkan image exports to drm, the tilling need to be > VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT. Now add code to create vulkan > image using this format. > > Now the following command line works: > > ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/r

Re: [FFmpeg-devel] [PATCH V2 1/5] hwcontext_vaapi: Use PRIME_2 memory type for modifiers.

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > From: Bas Nieuwenhuizen > > This way we can pass explicit modifiers in. Sometimes the > modifier matters for the number of memory planes that > libva accepts, in particular when dealing with > driver-compressed textures. Furthermore the driver might

Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-11-24 Thread Lynne
r_create((uint8_t*)(s->handle_pairs_internal + s- >> > >nb_surfaces_used - 1), >> > -sizeof(*s->handle_pairs_internal), >> > qsv_pool_release_dummy, NULL, 0); >> > +sizeof(*s->handle_pairs_i

Re: [FFmpeg-devel] [PATCH v3 7/7] avformat/rtp: support for RGB/BGR for rfc4175

2021-11-24 Thread Lynne
24 Nov 2021, 16:27 by lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/rtpdec_rfc4175.c | 20 > libavformat/rtpenc_rfc4175.c | 8 > libavformat/sdp.c| 6 ++ > 3 files changed, 34 insertions(+) > Much be

[FFmpeg-devel] [PATCH] configure: do not include -lvulkan in vulkan's pkg-config check

2021-11-24 Thread Lynne
Also fixes the non-pkg-config check. Patch attached. >From 6df42fc4ed19e54ee83c7ef3f969a3bc744ca036 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 24 Nov 2021 20:17:09 +0100 Subject: [PATCH] configure: do not include -lvulkan in vulkan's pkg-config check Also fixes the non-pkg-conf

Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-11-24 Thread Lynne
25 Nov 2021, 03:58 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Lynne >> Sent: Wednesday, November 24, 2021 12:27 PM >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >> Su

Re: [FFmpeg-devel] [PATCH V2 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-24 Thread Lynne
25 Nov 2021, 03:58 by wenbin.c...@intel.com: >> 24 Nov 2021, 06:28 by wenbin.c...@intel.com: >> >> > The vaapi can import external frame, but the planes of the external >> > frames should be in the same drm object. A new option >> "contiguous_planes" >> > is added to device. This flag tells device

Re: [FFmpeg-devel] [PATCH v3 2/2] avfilter: add a bflip_vulkan filter

2021-11-25 Thread Lynne
25 Nov 2021, 10:22 by ffm...@gyani.pro: > > > On 2021-11-25 02:38 pm, Wu Jianhua wrote: > >> 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. >> > > bflip is not an intuiti

Re: [FFmpeg-devel] [PATCH v3 2/2] avfilter: add a bflip_vulkan filter

2021-11-25 Thread Lynne
25 Nov 2021, 10:39 by jianhua...@intel.com: > Lynne: > >> From: ffmpeg-devel On Behalf Of >> Lynne >> Sent: Thursday, November 25, 2021 5:33 PM >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >> Subject: Re: [FFmpeg-devel] [

Re: [FFmpeg-devel] [PATCH] doc/APIchanges: fix typo

2021-11-25 Thread Lynne
25 Nov 2021, 17:26 by an...@khirnov.net: > --- > doc/APIchanges | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index 565f7e091e..51fc259d3f 100644 > --- a/doc/APIchanges > +++ b/doc/APIchanges > @@ -24,7 +24,7 @@ API changes, most recent

Re: [FFmpeg-devel] [PATCH] configure: do not include -lvulkan in vulkan's pkg-config check

2021-11-25 Thread Lynne
24 Nov 2021, 20:19 by d...@lynne.ee: > Also fixes the non-pkg-config check. > > Patch attached. > Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ff

[FFmpeg-devel] [PATCH v2] lavu/avframe: add a time_base field

2021-11-25 Thread Lynne
00:00:00 2001 From: Lynne Date: Thu, 25 Nov 2021 18:26:20 +0100 Subject: [PATCH] lavu/avframe: add a time_base field This adds a time_base field (currently unused), analogue to the AVPacket.time_base field. --- libavutil/frame.c | 2 ++ libavutil/frame.h | 6 ++ 2 files changed, 8 inserti

Re: [FFmpeg-devel] [PATCH v2] lavu/avframe: add a time_base field

2021-11-26 Thread Lynne
25 Nov 2021, 23:49 by c...@passwd.hu: > > > On Thu, 25 Nov 2021, Lynne wrote: > >> This adds a time_base field (currently unused), analogue to the >> AVPacket.time_base field. >> This allows for API clients to exchange AVFrames directly, without >> needing

Re: [FFmpeg-devel] [PATCH v4 1/2] avutil/hwcontext_vulkan: fully support customizable validation layers

2021-11-26 Thread Lynne
26 Nov 2021, 10:10 by jianhua...@intel.com: > Validation layer is an indispensable part of developing on Vulkan. > > The following commands is on how to enable validation layers: > > ffmpeg -init_hw_device > vulkan=0,debug=1,validation_layers=VK_LAYER_LUNARG_monitor+VK_LAYER_LUNARG_api_dump > > S

Re: [FFmpeg-devel] [PATCH v4 2/2] avfilter: add a flip_vulkan filter

2021-11-26 Thread Lynne
26 Nov 2021, 10:10 by jianhua...@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 > --- > configure| 1 + >

Re: [FFmpeg-devel] [PATCH V3 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-26 Thread Lynne
26 Nov 2021, 03:54 by wenbin.c...@intel.com: > The vaapi can import external frame, but the planes of the external > frames should be in the same drm object. A new option "contiguous_planes" > is added to device. This flag tells device to allocate places in one > memory. When device is derived fro

Re: [FFmpeg-devel] [PATCH v4 2/2] avfilter: add a flip_vulkan filter

2021-11-26 Thread Lynne
26 Nov 2021, 11:37 by ffm...@gyani.pro: > > > On 2021-11-26 03:08 pm, Lynne wrote: > >> 26 Nov 2021, 10:10 by jianhua...@intel.com: >> >>> This filter flips the input video both horizontally and vertically >>> in one compute pipeline, and it's no

Re: [FFmpeg-devel] [PATCH v4 2/2] avfilter: add a flip_vulkan filter

2021-11-26 Thread Lynne
26 Nov 2021, 12:20 by ffm...@gyani.pro: > > > On 2021-11-26 04:33 pm, Lynne wrote: > >> 26 Nov 2021, 11:37 by ffm...@gyani.pro: >> >>> >>> On 2021-11-26 03:08 pm, Lynne wrote: >>> >>>> 26 Nov 2021, 10:10 by jianhua...@intel.com: >

Re: [FFmpeg-devel] [PATCH V3 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-28 Thread Lynne
29 Nov 2021, 05:07 by wenbin.c...@intel.com: >> 26 Nov 2021, 03:54 by wenbin.c...@intel.com: >> >> > The vaapi can import external frame, but the planes of the external >> > frames should be in the same drm object. A new option >> "contiguous_planes" >> > is added to device. This flag tells device

Re: [FFmpeg-devel] [PATCH v2] lavu/avframe: add a time_base field

2021-12-01 Thread Lynne
1 Dec 2021, 16:47 by an...@khirnov.net: > Quoting Lynne (2021-11-26 09:00:59) > >> 25 Nov 2021, 23:49 by c...@passwd.hu: >> >> > >> > >> > On Thu, 25 Nov 2021, Lynne wrote: >> > >> >> This adds a time_base field (currently unused),

Re: [FFmpeg-devel] 回复: [PATCH v4 2/2] avfilter: add a flip_vulkan filter

2021-12-02 Thread Lynne
2 Dec 2021, 03:18 by jianhua...@intel.com: > Ping. > >> Wu Jianhua: >> Lynne: >> >>ffm...@gyani.pro: >> >>> On 2021-11-26 04:33 pm, Lynne wrote: >> >>> >> >>>> 26 Nov 2021, 11:37 by ffm...@gyani.pro: >> >>&g

Re: [FFmpeg-devel] [PATCH V5 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-12-02 Thread Lynne
2 Dec 2021, 02:53 by wenbin.c...@intel.com: >> The vaapi can import external frame, but the planes of the external >> frames should be in the same drm object. A new option "contiguous_planes" >> is added to device. This flag tells device to allocate places in one >> memory. When device is derived

[FFmpeg-devel] [PATCH] hwcontext_vulkan: make 2 public functions always available

2021-12-02 Thread Lynne
functions do not use any Vulkan functions. Patch attached. >From ccd4aed173ea3e668ccf767d3a1ef6bef155ea48 Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 2 Dec 2021 18:55:39 +0100 Subject: [PATCH] hwcontext_vulkan: make 2 public functions always available The issue is that if ffmpeg is compi

[FFmpeg-devel] [PATCH v2] hwcontext_vulkan: make 2 public functions always available

2021-12-03 Thread Lynne
functions do not use any Vulkan functions. Patch attached. >From 8ae7841e098be4964ea21cdc6ab01c8a95fd13ff Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 2 Dec 2021 18:55:39 +0100 Subject: [PATCH v2] hwcontext_vulkan: make 2 public functions always available The issue is that if ffmpeg is compi

[FFmpeg-devel] [PATCH v3] hwcontext_vulkan: make 2 public functions always available

2021-12-03 Thread Lynne
functions do not use any Vulkan functions. Ninja v3 due to forgotten config.h. Patch attached. >From 260f9e1efb67be03f899706e105a6740d5732647 Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 2 Dec 2021 18:55:39 +0100 Subject: [PATCH v3] hwcontext_vulkan: make 2 public functions always available

[FFmpeg-devel] [PATCH] packet: add description for the AVPacket.time_base field

2021-12-03 Thread Lynne
s, but its value will be by default ignored on input to decoders + * or muxers.   */ AVRational time_base; ``` >From de811776a83bb8e29335663d580f0c44cb4ce72d Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 3 Dec 2021 22:43:38 +0100 Subject: [PATCH] packet: add description for the AVPac

Re: [FFmpeg-devel] [PATCH v2] lavu/avframe: add a time_base field

2021-12-03 Thread Lynne
1 Dec 2021, 21:11 by d...@lynne.ee: > 1 Dec 2021, 16:47 by an...@khirnov.net: > >> Quoting Lynne (2021-11-26 09:00:59) >> >>> 25 Nov 2021, 23:49 by c...@passwd.hu: >>> >>> > >>> > >>> > On Thu, 25 Nov 2021, Lynne wrote: >

Re: [FFmpeg-devel] [PATCH V5 5/5] libavutil/hwcontext_vulkan: specify the modifier to create VKImage

2021-12-03 Thread Lynne
2 Dec 2021, 02:43 by wenbin.c...@intel.com: > When vulkan image exports to drm, the tilling need to be > VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT. Now add code to create vulkan > image using this format. > > Now the following command line works: > > ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/re

Re: [FFmpeg-devel] IMF demuxer ping

2021-12-05 Thread Lynne
5 Dec 2021, 02:33 by p...@sandflow.com: > Hi all, > > Quick ping re: libavformat/imf demuxer patch set. > > All outstanding feedback (thanks!) has been addressed as far as I know. > > What are the next steps? > > It would be good to make progress while it is fresh in peoples' minds. > > Latest pa

Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame for subtitle handling

2021-12-05 Thread Lynne
5 Dec 2021, 17:23 by softwo...@hotmail.com: > @@ -491,6 +499,39 @@ typedef struct AVFrame { > */ > uint64_t channel_layout; > > +/** > + * Display start time, relative to packet pts, in ms. > + */ > +uint32_t subtitle_start_time; > + > +/** > + * Display end time, rela

Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame for subtitle handling

2021-12-05 Thread Lynne
5 Dec 2021, 20:21 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Lynne >> Sent: Sunday, December 5, 2021 5:40 PM >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel] [PATCH v20

[FFmpeg-devel] [PATCH 1/3] nlmeans_vulkan: fix width/height for chroma plane weights calculation

2023-10-07 Thread Lynne
Patch attached. >From 927c74d7851aafc589760a3882bef7f72b19db1c Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 16 Sep 2023 00:42:53 +0200 Subject: [PATCH 1/3] nlmeans_vulkan: fix width/height for chroma plane weights calculation --- libavfilter/vf_nlmeans_vulkan.c | 8 1 file chan

[FFmpeg-devel] [PATCH 2/3] nlmeans_vulkan: reduce dispatches by parallelizing the planes

2023-10-07 Thread Lynne
Patch attached. >From 863a9977192abf00d131d7b0ed88569210fe0d0c Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 16 Sep 2023 01:04:18 +0200 Subject: [PATCH 2/3] nlmeans_vulkan: reduce dispatches by parallelizing the planes --- libavfilter/vf_nlmeans_vulkan.c |

[FFmpeg-devel] [PATCH 3/3] nlmeans_vulkan: parallelize workgroup invocations

2023-10-07 Thread Lynne
rom a51dd2ace418974c7e8b24a3762bd7495d3b3b10 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 15 Sep 2023 21:55:59 +0200 Subject: [PATCH 3/3] nlmeans_vulkan: parallelize workgroup invocations --- libavfilter/Makefile | 3 +- libavfilter/vf_nlmeans_vulkan.c| 333 ++--- libavfilter/vul

Re: [FFmpeg-devel] [RFC] Release 6.1

2023-10-08 Thread Lynne
Jul 6, 2023, 18:04 by d...@lynne.ee: > It's been a while since we've had a release, and we've had > a lot of new features in. > We did say we would make releases more often, and I think > it's about time we have a new release. > > Anything anyone wants to have merged or should we branch > off 6.1

Re: [FFmpeg-devel] [PATCH 3/3] nlmeans_vulkan: parallelize workgroup invocations

2023-10-10 Thread Lynne
Oct 7, 2023, 17:08 by d...@lynne.ee: > Removes the clever subgroup parallel prefix computation, > and instead just computes the prefix inline. > Cuts down the number of dispatches by a huge amount. > > Provides a ~12x speedup (2.5fps to 30fps on a 7900XTX, > 2.1fps to 24fps on an Ada). > > Patch a

Re: [FFmpeg-devel] [PATCH 3/3] doc: add spi.txt

2023-10-12 Thread Lynne
Oct 12, 2023, 19:37 by mich...@niedermayer.cc: > On Thu, Oct 12, 2023 at 10:03:20AM +0200, Andreas Rheinhardt wrote: > >> Michael Niedermayer: >> > This explains how to request refunds and what can be funded by SPI >> > --- >> > doc/spi.txt | 50 ++

Re: [FFmpeg-devel] [PATCH v2 00/13] YUVJ removal

2023-10-13 Thread Lynne
Oct 13, 2023, 20:33 by vittorio.giov...@gmail.com: > On Fri, Oct 13, 2023 at 10:27 AM Niklas Haas wrote: > >> Changes since v1: >> >> - Remove unneeded patch (AVCodecContext.colorspace init) >> - Merge auto-range conversion into auto-scale filter >> - Replace vf_zscale by vf_colorspace in fftools

Re: [FFmpeg-devel] SWS cleanup / SPI Funding Suggestion

2023-10-13 Thread Lynne
Oct 13, 2023, 22:31 by vittorio.giov...@gmail.com: > On Fri, Oct 13, 2023 at 3:19 PM Michael Niedermayer > wrote: > >> Hi everyone >> >> I propose using 15k$ from SPI for funding sws cleanup work. >> this is substantially less than what people belive this needs (see IRC >> logs from yesterday or

Re: [FFmpeg-devel] [PATCH v2 00/13] YUVJ removal

2023-10-14 Thread Lynne
Oct 14, 2023, 00:22 by vittorio.giov...@gmail.com: > On Fri, Oct 13, 2023 at 5:14 PM Lynne wrote: > >> Oct 13, 2023, 20:33 by vittorio.giov...@gmail.com: >> >> > On Fri, Oct 13, 2023 at 10:27 AM Niklas Haas wrote: >> > >> >> Chang

Re: [FFmpeg-devel] [PATCH v2 00/13] YUVJ removal

2023-10-14 Thread Lynne
Oct 14, 2023, 17:16 by vittorio.giov...@gmail.com: > On Sat, Oct 14, 2023 at 9:11 AM Lynne wrote: > >> Oct 14, 2023, 00:22 by vittorio.giov...@gmail.com: >> >> > On Fri, Oct 13, 2023 at 5:14 PM Lynne wrote: >> > >> >> Oct 13, 2023, 20:33 by vitto

[FFmpeg-devel] [PATCH] configure: disable libglslang/libshaderc if the vulkan is disabled

2023-10-14 Thread Lynne
Fixes build failures when the Vulkan headers are too old and libglslang or libshaderc are enabled. Patch attached. >From b47d5d3759f9c3de15846ae0fa184f1fa93f2c9a Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 14 Oct 2023 18:36:46 +0200 Subject: [PATCH] configure: disable libglslang/libshad

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add entry for jpegxl*

2023-10-15 Thread Lynne
Oct 15, 2023, 14:14 by leo.i...@gmail.com: > Adding myself for jpegxl* in avcodec as I'm the maintainer of this > parser. > > Signed-off-by: Leo Izen > --- > MAINTAINERS | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index b5c116c3d4..b66

Re: [FFmpeg-devel] [PATCH] configure: disable libglslang/libshaderc if the vulkan is disabled

2023-10-15 Thread Lynne
Oct 15, 2023, 15:47 by tma...@videolan.org: > On Sat, Oct 14, 2023 at 12:38 PM Lynne wrote: > >> >> Fixes build failures when the Vulkan headers are too old and libglslang >> or libshaderc are enabled. >> > > This fixes https://trac.ffmpeg.org/ticket/1

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add entry for jpegxl*

2023-10-15 Thread Lynne
Oct 15, 2023, 23:42 by leo.i...@gmail.com: > On 10/15/23 09:11, Lynne wrote: > >> Oct 15, 2023, 14:14 by leo.i...@gmail.com: >> >>> Adding myself for jpegxl* in avcodec as I'm the maintainer of this >>> parser. >>> >>> Signed-off-by: Leo

Re: [FFmpeg-devel] [PATCH v2] doc: add spi.txt

2023-10-15 Thread Lynne
Oct 16, 2023, 00:50 by mich...@niedermayer.cc: > This explains how to request refunds and what can be funded by SPI > > Co-Author: Stefano Sabatini > --- > doc/spi.txt | 73 + > 1 file changed, 73 insertions(+) > create mode 100644 doc/spi.txt

Re: [FFmpeg-devel] [RFC] A file format to store generic raw image/video files

2023-10-17 Thread Lynne
Oct 18, 2023, 00:12 by ffmpeg-devel@ffmpeg.org: > # RFC: A file format to store generic raw image/video files > > Context: Developers and researchers often want to use raw image/video > files, as they avoid the effects of encoding. Dealing with raw > image/video files is typically done using raw f

Re: [FFmpeg-devel] [PATCH v2] doc: add spi.txt

2023-10-18 Thread Lynne
Oct 19, 2023, 00:15 by stefa...@gmail.com: > On date Wednesday 2023-10-18 23:46:48 +0200, Stefano Sabatini wrote: > >> On date Tuesday 2023-10-17 14:41:00 +0200, epira...@gmail.com wrote: >> > [...] > >> > IMO this would be much more discoverable on the website, it would >> > never occur to me to

Re: [FFmpeg-devel] [PATCH v2 2/2] fftools/ffplay: add hwaccel decoding support

2023-10-18 Thread Lynne
Oct 18, 2023, 19:05 by quinkbl...@foxmail.com: > > On 2023/10/19 00:55, Zhao Zhili wrote: > >> From: Zhao Zhili >> >> --- >> fftools/ffplay.c | 30 ++ >> fftools/ffplay_renderer.c | 117 ++ >> 2 files changed, 147 insertions(+) >> > > With th

[FFmpeg-devel] [PATCH 1/2] lavc/internal: add skip_samples2 field

2023-10-18 Thread Lynne
ng with the rest of the skip adjustments, is a neater way, and can be extended to other codecs. Patch attached. >From 9986c7f0c71d944101f1c7fe7b1395ee21e34a8e Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 19 Oct 2023 04:28:03 +0200 Subject: [PATCH 1/2] lavc/internal: add skip_samples2 fie

[FFmpeg-devel] [PATCH 2/2] aacdec: padding skip improvements

2023-10-18 Thread Lynne
this being a standard MDCT-based codec with a frame size of 1024, hence a delay of 1024 samples at the start, all major encoders, excluding faac and ffmpeg, use different amounts of padding. Patch attached. >From 691fdb2952707fffd6975ca7a555e198236e9168 Mon Sep 17 00:00:00 2001 From: Lynne D

Re: [FFmpeg-devel] [PATCH 2/2] aacdec: padding skip improvements

2023-10-18 Thread Lynne
Correct patch attached. >From 91ff271acffdb00bb8a7ace0ae1e811770104fc2 Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 19 Oct 2023 04:36:12 +0200 Subject: [PATCH 2/2] aacdec: padding skip improvements For some reason, this was never set, which meant all **raw** AAC in ADTS streams, except f

Re: [FFmpeg-devel] [PATCH v2 2/2] fftools/ffplay: add hwaccel decoding support

2023-10-18 Thread Lynne
Oct 18, 2023, 18:55 by quinkbl...@foxmail.com: > From: Zhao Zhili > > --- > fftools/ffplay.c | 30 ++ > fftools/ffplay_renderer.c | 117 ++ > 2 files changed, 147 insertions(+) > This patch doesn't look correct, libplacebo and lavc have to s

Re: [FFmpeg-devel] [PATCH 2/2] aacdec: padding skip improvements

2023-10-19 Thread Lynne
Oct 19, 2023, 10:40 by an...@khirnov.net: > Quoting Lynne (2023-10-19 04:38:51) > >> @@ -3471,6 +3478,9 @@ static const AVOption options[] = { >> { "coded","order in which the channels are coded in the bitstream", >> 0, AV_OPT_TYPE_C

Re: [FFmpeg-devel] [PATCH 1/2] lavc/internal: add skip_samples2 field

2023-10-19 Thread Lynne
Oct 19, 2023, 10:39 by an...@khirnov.net: > Current interaction between AV_FRAME_DATA_SKIP_SAMPLES and > AVCodecContext.skip_samples seems unncecessarily complicated to me and > you're just making it worse. > > Is there any reason we can't drop AVCodecContext.skip_samples entirely > and signal it

Re: [FFmpeg-devel] [PATCH 5/6] avutil/tx_template: fix integer ovberflwo in fft3()

2023-10-21 Thread Lynne
Oct 22, 2023, 02:36 by mich...@niedermayer.cc: > Fixes: signed integer overflow: -1028966111 + -1314089526 cannot be > represented in type 'int' > Fixes: > 63174/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5853273711837184 > > Found-by: continuous fuzzing process > https:

[FFmpeg-devel] hwcontext_vulkan: improve queue family init code

2023-10-21 Thread Lynne
ed. >From 39ff0b95e9d7038775da8c07af526c4a50b0af24 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 22 Oct 2023 03:52:33 +0200 Subject: [PATCH] hwcontext_vulkan: improve queue family init code When users zero-init'd the struct, or left it as-is, the encode queue family matched the graphics queue family, which led it to be

Re: [FFmpeg-devel] hwcontext_vulkan: improve queue family init code

2023-10-23 Thread Lynne
Oct 22, 2023, 03:56 by d...@lynne.ee: > When users zero-init'd the struct, or left it as-is, the encode > queue family matched the graphics queue family, which led it to be > incorrectly logged as being used for encode. > > This just improves the logging so this isn't printed anymore. > > Patch at

[FFmpeg-devel] [PATCH] vulkan_decode: use coded_width/height instead of the non-coded width and h

2023-10-23 Thread Lynne
Fixes several samples. There may be issues with cropping, but so far, I have not found any in my samples set. Patch attached. >From b928053158ec5f63d3c07a9daa9b802cb9229858 Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 24 Oct 2023 06:33:07 +0200 Subject: [PATCH] vulkan_decode:

Re: [FFmpeg-devel] [PATCH] vulkan_decode: use coded_width/height instead of the non-coded width and h

2023-10-24 Thread Lynne
Oct 24, 2023, 21:05 by an...@khirnov.net: > Quoting Lynne (2023-10-24 06:37:03) > >> Fixes several samples. >> >> There may be issues with cropping, but so far, I have not found any >> in my samples set. >> > > Frames ctx dimensions should be the allo

[FFmpeg-devel] [PATCH 1/2] vulkan_decode: fix pedantic validation issue

2023-10-24 Thread Lynne
_3D; and subresourceRange.layerCount is VK_REMAINING_ARRAY_LAYERS, then the remaining number of layers must be 1" Patch attached. >From af7bd8c40c1b54a065311f15c72ba676bded561b Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 24 Oct 2023 22:43:06 +0200 Subject: [PATCH 1/2] vulkan_decode: fix pedantic

[FFmpeg-devel] [PATCH 2/2] vulkan_decode: fix another validation issue

2023-10-24 Thread Lynne
pecs/1.3-extensions/html/vkspec.html#VUID-VkImageMemoryBarrier2-srcQueueFamilyIndex-07122) " Patch attached. >From 8594a95ca1c0819fdf7b04f57542787c5f574223 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 25 Oct 2023 01:32:20 +0200 Subject: [PATCH 2/2] vulkan_decode: fix another

Re: [FFmpeg-devel] [PATCH 2/2] vulkan_decode: fix another validation issue

2023-10-25 Thread Lynne
Oct 25, 2023, 01:43 by d...@lynne.ee: > Surprising no one, the insane usage rule has a catch. > > Only happens in the layered_dpb path, which was poorly tested. > > Fixes: > "[AVHWDeviceContext @ 0x557f4b87dc00] Validation Error: [ > VUID-VkImageMemoryBarrier2-srcQueueFamilyIndex-07122 ] Object 0

[FFmpeg-devel] [PATCH] vulkan: return VK_NOT_READY when no queries are available

2023-10-25 Thread Lynne
, just check if submissions have happened. Patch attached. >From 833a1c249f5e41305fe8ea68f5e2453a5505817d Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 25 Oct 2023 22:58:20 + Subject: [PATCH] vulkan: return VK_NOT_READY when no queries are available Fixes a validation issue. The issue is

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: fix memleak when device_create is skipped

2023-10-26 Thread Lynne
Oct 27, 2023, 05:53 by quinkbl...@foxmail.com: > From: Zhao Zhili > > --- > libavutil/hwcontext_vulkan.c | 17 ++--- > 1 file changed, 14 insertions(+), 3 deletions(-) > > diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c > index 4adcc0e839..8dd40cb66f 100644 >

Re: [FFmpeg-devel] [RFC] Release 6.1

2023-10-28 Thread Lynne
Oct 28, 2023, 18:49 by mich...@niedermayer.cc: > On Thu, Jul 06, 2023 at 06:04:41PM +0200, Lynne wrote: > >> It's been a while since we've had a release, and we've had >> a lot of new features in. >> We did say we would make releases more often, and I

  1   2   3   4   5   6   7   8   9   10   >