Re: [FFmpeg-devel] [PATCH] avformat/libsrt: add missing version check for snddropdelay

2021-11-19 Thread lance . lmwang
On Fri, Nov 19, 2021 at 09:29:01PM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavformat/libsrt.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c > index 145eea2f7c..19b9cb9895 100644 > --- a/libavformat/libsrt.c > +

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg: Avoid temporary frame

2021-11-19 Thread James Almer
On 11/19/2021 7:59 PM, Andreas Rheinhardt wrote: send_frame_to_filters() sends a frame to all the filters that need said frame; for every filter except the last one this involves creating a reference to the frame, because av_buffersrc_add_frame_flags() by default takes ownership of the supplied r

[FFmpeg-devel] [PATCH v2] fftools/ffmpeg: Avoid temporary frame

2021-11-19 Thread Andreas Rheinhardt
send_frame_to_filters() sends a frame to all the filters that need said frame; for every filter except the last one this involves creating a reference to the frame, because av_buffersrc_add_frame_flags() by default takes ownership of the supplied references. Yet said function has a flag which chang

[FFmpeg-devel] [PATCH] avcodec/smcenc: Avoid dangling pointers in context

2021-11-19 Thread Andreas Rheinhardt
Also reduces codesize: 24E6->2296B with GCC 10 and -O3. Signed-off-by: Andreas Rheinhardt --- libavcodec/smcenc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/smcenc.c b/libavcodec/smcenc.c index 5b0035b244..52795efb5f 100644 --- a/libavcodec/smce

[FFmpeg-devel] [PATCH] avformat/libsrt: add missing version check for snddropdelay

2021-11-19 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/libsrt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index 145eea2f7c..19b9cb9895 100644 --- a/libavformat/libsrt.c +++ b/libavformat/libsrt.c @@ -320,7 +320,9 @@ static int libsrt_set_options_pre(U

[FFmpeg-devel] [PATCH 5/5] avcodec/h263: Inline constant

2021-11-19 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/h263.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h263.h b/libavcodec/h263.h index 491f2e0aac..70fd1ffdc0 100644 --- a/libavcodec/h263.h +++ b/libavcodec/h263.h @@ -103,7 +103,7 @@ static inline int h263_get_moti

[FFmpeg-devel] [PATCH 4/5] avformat/mpegtsenc: Avoid allocation of AVPacket

2021-11-19 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/mpegtsenc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 79ec1a7e5f..92b4cc8087 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -1140,9 +1140

[FFmpeg-devel] [PATCH 3/5] avformat/movenc: Avoid allocation of AVPacket

2021-11-19 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/movenc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index fec467979a..caccf18dea 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6458,8 +6458,6 @@ static v

[FFmpeg-devel] [PATCH 2/5] avformat/dashenc: Don't use stack packet

2021-11-19 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/dashenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index dd2b34afbb..3f28f5ad71 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -2342,9 +2342,7 @@ static

[FFmpeg-devel] [PATCH 1/5] avformat/avformat: Add AVStream parameter to check_bitstream() sig

2021-11-19 Thread Andreas Rheinhardt
For most check_bitstream() functions this just avoids having to dereference s->streams[pkt->stream_index] themselves; but for meta-muxers it will allow to forward the packet to stream with a different stream_index (belonging to a different AVFormatContext) without using a spare packet. Signed-off-

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/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] fftools/ffmpeg: Avoid temporary frame

2021-11-19 Thread James Almer
On 11/19/2021 2:02 PM, Andreas Rheinhardt wrote: James Almer: On 11/19/2021 1:43 PM, Andreas Rheinhardt wrote: send_frame_to_filters() sends a frame to all the filters that need said frame; for every filter except the last one this involves creating a reference to the frame, because av_buffersr

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] fftools/ffmpeg: Avoid temporary frame

2021-11-19 Thread Andreas Rheinhardt
James Almer: > On 11/19/2021 1:43 PM, Andreas Rheinhardt wrote: >> send_frame_to_filters() sends a frame to all the filters that >> need said frame; for every filter except the last one this involves >> creating a reference to the frame, because >> av_buffersrc_add_frame_flags() by default takes ow

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: Avoid temporary frame

2021-11-19 Thread James Almer
On 11/19/2021 1:43 PM, Andreas Rheinhardt wrote: send_frame_to_filters() sends a frame to all the filters that need said frame; for every filter except the last one this involves creating a reference to the frame, because av_buffersrc_add_frame_flags() by default takes ownership of the supplied r

[FFmpeg-devel] [PATCH] fftools/ffmpeg: Avoid temporary frame

2021-11-19 Thread Andreas Rheinhardt
send_frame_to_filters() sends a frame to all the filters that need said frame; for every filter except the last one this involves creating a reference to the frame, because av_buffersrc_add_frame_flags() by default takes ownership of the supplied references. Yet said function has a flag which chang

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

2021-11-19 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Xiang, Haihao > Sent: Monday, October 18, 2021 6:48 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When > deriving a hwdevice, search for existing device in both directions > > On

Re: [FFmpeg-devel] [PATCH] avformat/mov: make STTS duration unsigned int

2021-11-19 Thread Gyan Doshi
Plan to push Monday afternoon. On 2021-11-16 07:45 pm, Gyan Doshi wrote: As per 8.6.1.2.2 of ISO/IEC 14496-12:2015(E), STTS sample offsets are to be always stored as uint32_t. So far, they have been signed ints which led to desync in files with very large offsets. The MOVStts struct was used to

Re: [FFmpeg-devel] [PATCH 2/3] ffmpeg: remove unused hwaccel_get_buffer function pointer

2021-11-19 Thread James Almer
On 11/14/2021 3:59 PM, James Almer wrote: As well as the custom get_buffer2() implementation which would become a redundant wrapper for avcodec_default_get_buffer2() after this Signed-off-by: James Almer --- fftools/ffmpeg.c | 11 --- fftools/ffmpeg.h | 1 - 2 files changed, 12 del

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

[FFmpeg-devel] [PATCH 2/2] ffmpeg_hw: reuse filter_frame in hwaccel_retrieve_data()

2021-11-19 Thread James Almer
This avoids an AVFrame allocation per decoded frame. Signed-off-by: James Almer --- ist->filter_frame is safe to use here since send_frame_to_filters() also unrefs it immediately after using it. But if this is deemed ugly/evil, I'll just add a new AVFrame to InputStream. fftools/ffmpeg_hw.c | 1

[FFmpeg-devel] [PATCH 1/2] ffmpeg: unref ist->filter_frame in the only place it's used

2021-11-19 Thread James Almer
Signed-off-by: James Almer --- fftools/ffmpeg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index e88ca554ae..a67f489cda 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2326,6 +2326,7 @@ static int send_frame_to_filters(InputS

Re: [FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter

2021-11-19 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Wang, Fei W > Sent: Friday, November 19, 2021 2:15 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Sun, Xinpeng ; Zhou, Zachary > > Subject: Re: [FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi > filter > > On Thu, 2021-11-18 at 21:

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

2021-11-19 Thread Wu Jianhua
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 | 1 + libavfilter/Makefile

[FFmpeg-devel] [PATCH v2 1/2] avfilter: add a hflip_vulkan filter

2021-11-19 Thread Wu Jianhua
The following command is on how to apply hflip_vulkan filter: ffmpeg -init_hw_device vulkan -i input.264 -vf hwupload=extra_hw_frames=16,hflip_vulkan,hwdownload,format=yuv420p output.264 Signed-off-by: Wu Jianhua --- configure | 1 + libavfilter/Makefile | 1 +

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

2021-11-19 Thread Wu, Jianhua
Paul B Mahol wrote: > Sent: Thursday, November 18, 2021 6:24 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v2 1/2] avfilter: add a hflip_vulkan filter > > On Thu, Nov 18, 2021 at 6:59 AM Wu, Jianhua wrote: > > > > Andreas Rheinhardt:

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Paul B Mahol
On Fri, Nov 19, 2021 at 3:37 PM James Almer wrote: > On 11/19/2021 11:34 AM, Paul B Mahol wrote: > > On Fri, Nov 19, 2021 at 3:25 PM Anton Khirnov wrote: > > > >> Quoting Paul B Mahol (2021-11-19 15:07:13) > >>> On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov > wrote: > >>> > Quoting Paul B

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread James Almer
On 11/19/2021 11:38 AM, Paul B Mahol wrote: On Fri, Nov 19, 2021 at 3:29 PM James Almer wrote: On 11/19/2021 11:07 AM, Paul B Mahol wrote: On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov wrote: Quoting Paul B Mahol (2021-11-19 14:55:42) On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer <

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Paul B Mahol
On Fri, Nov 19, 2021 at 3:29 PM James Almer wrote: > On 11/19/2021 11:07 AM, Paul B Mahol wrote: > > On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov wrote: > > > >> Quoting Paul B Mahol (2021-11-19 14:55:42) > >>> On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer < > >> mich...@niedermayer.cc> >

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread James Almer
On 11/19/2021 11:34 AM, Paul B Mahol wrote: On Fri, Nov 19, 2021 at 3:25 PM Anton Khirnov wrote: Quoting Paul B Mahol (2021-11-19 15:07:13) On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov wrote: Quoting Paul B Mahol (2021-11-19 14:55:42) On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer <

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Paul B Mahol
On Fri, Nov 19, 2021 at 3:25 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2021-11-19 15:07:13) > > On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov wrote: > > > > > Quoting Paul B Mahol (2021-11-19 14:55:42) > > > > On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer < > > > mich...@niedermayer.

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread James Almer
On 11/19/2021 11:07 AM, Paul B Mahol wrote: On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov wrote: Quoting Paul B Mahol (2021-11-19 14:55:42) On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer < mich...@niedermayer.cc> wrote: On Fri, Nov 19, 2021 at 02:18:27PM +0100, Anton Khirnov wrote:

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Anton Khirnov
Quoting Paul B Mahol (2021-11-19 15:07:13) > On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov wrote: > > > Quoting Paul B Mahol (2021-11-19 14:55:42) > > > On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer < > > mich...@niedermayer.cc> > > > wrote: > > > > > > > On Fri, Nov 19, 2021 at 02:18:27PM

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Paul B Mahol
On Fri, Nov 19, 2021 at 3:04 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2021-11-19 14:55:42) > > On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Fri, Nov 19, 2021 at 02:18:27PM +0100, Anton Khirnov wrote: > > > > Quoting James Almer (20

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Anton Khirnov
Quoting Paul B Mahol (2021-11-19 14:55:42) > On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer > wrote: > > > On Fri, Nov 19, 2021 at 02:18:27PM +0100, Anton Khirnov wrote: > > > Quoting James Almer (2021-11-13 13:22:12) > > > > Also, missing docs. > > > > > > Could we add a development rule th

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Paul B Mahol
On Fri, Nov 19, 2021 at 3:00 PM Gyan Doshi wrote: > > > On 2021-11-19 07:25 pm, Paul B Mahol wrote: > > On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > >> On Fri, Nov 19, 2021 at 02:18:27PM +0100, Anton Khirnov wrote: > >>> Quoting James Almer (202

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Gyan Doshi
On 2021-11-19 07:25 pm, Paul B Mahol wrote: On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer wrote: On Fri, Nov 19, 2021 at 02:18:27PM +0100, Anton Khirnov wrote: Quoting James Almer (2021-11-13 13:22:12) Also, missing docs. Could we add a development rule that all new filters need doc

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Paul B Mahol
On Fri, Nov 19, 2021 at 2:27 PM Michael Niedermayer wrote: > On Fri, Nov 19, 2021 at 02:18:27PM +0100, Anton Khirnov wrote: > > Quoting James Almer (2021-11-13 13:22:12) > > > Also, missing docs. > > > > Could we add a development rule that all new filters need docs and all > > new filters/codecs

[FFmpeg-devel] [PATCH 07/11] avfilter/chromaber_vulkan: call av_vkfmt_from_pixfmt only one time

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_chromaber_vulkan.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_chromaber_vulkan.c b/libavfilter/vf_chromaber_vulkan.c index eff6554960..a4f66ac839 100644 --- a/libavfilter/vf_chromaber_vulkan.c +++ b/libavf

[FFmpeg-devel] [PATCH 11/11] avutil/vulkan_glslang: fix compiling failure issue

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavutil/vulkan_glslang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/vulkan_glslang.c b/libavutil/vulkan_glslang.c index ac5efe2365..e7785f6d40 100644 --- a/libavutil/vulkan_glslang.c +++ b/libavutil/vulkan_glslang.c @@ -219,10

[FFmpeg-devel] [PATCH 10/11] avfilter/overlay_vulkan: call av_vkfmt_from_pixfmt only one time

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_overlay_vulkan.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_overlay_vulkan.c b/libavfilter/vf_overlay_vulkan.c index 705e92e268..13dde25b22 100644 --- a/libavfilter/vf_overlay_vulkan.c +++ b/libavfil

[FFmpeg-devel] [PATCH 09/11] avfilter/scale_vulkan: call av_vkfmt_from_pixfmt only one time

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_scale_vulkan.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index caa08ff19b..6b836e7e26 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_scale_vu

[FFmpeg-devel] [PATCH 06/11] avfilter/avgblur_vulkan: call av_vkfmt_from_pixfmt only one time

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_avgblur_vulkan.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c index c733670764..f053cfb13c 100644 --- a/libavfilter/vf_avgblur_vulkan.c +++ b/libavfilte

[FFmpeg-devel] [PATCH 08/11] avfilter/scale_vulkan: call av_pix_fmt_count_planes only one time

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_scale_vulkan.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index ff67c80e33..caa08ff19b 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_sca

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

2021-11-19 Thread Wu Jianhua
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 ab97cf2c17..705e92e268 100644 --- a/libavfilter/vf_overlay_vulkan.c +++ b/libavfilter/vf_overla

[FFmpeg-devel] [PATCH 04/11] avfilter/scale_vulkan: use FF_ARRAY_ELEMS instead of magic number

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_scale_vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index c2f6fe85e2..ff67c80e33 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_scale_vulkan.c

[FFmpeg-devel] [PATCH 03/11] avfilter/chromaber_vulkan: use FF_ARRAY_ELEMS instead of magic number

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_chromaber_vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_chromaber_vulkan.c b/libavfilter/vf_chromaber_vulkan.c index 86a66454a4..eff6554960 100644 --- a/libavfilter/vf_chromaber_vulkan.c +++ b/libavfilter/

[FFmpeg-devel] [PATCH 02/11] avfilter/avgblur_vulkan: use FF_ARRAY_ELEMS instead of magic number

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_avgblur_vulkan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c index 93b59ebb7d..c733670764 100644 --- a/libavfilter/vf_avgblur_vulkan.c +++ b/libavfilter/vf_av

[FFmpeg-devel] [PATCH 01/11] avfilter/avgblur_vulkan: check if shader is created with success

2021-11-19 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_avgblur_vulkan.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c index d37d5a62b1..93b59ebb7d 100644 --- a/libavfilter/vf_avgblur_vulkan.c +++ b/libavfilter/vf_avgblur_vulkan.c @

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

2021-11-19 Thread Wu, Jianhua
Lynne: > Sent: Friday, November 19, 2021 8:55 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 05/10] avfilter/overlay_vulkan: use > FF_ARRAY_ELEMS instead of magic number > > 18 Nov 2021, 06:48 by d...@lynne.ee: > > > Nov 18, 2021, 05:24

Re: [FFmpeg-devel] [PATCH] libavcodec/vp9: export block structure when segmentation isn't enable

2021-11-19 Thread Michael Niedermayer
On Wed, Aug 26, 2020 at 09:40:19AM -0700, Yongle Lin wrote: > On Mon, Jul 13, 2020 at 2:57 PM Yongle Lin wrote: > > > > > On Thu, Jul 9, 2020 at 2:23 PM Yongle Lin wrote: > > > >> > >> > >> On Mon, Jul 6, 2020 at 11:31 AM Yongle Lin > >> wrote: > >> > >>> it makes sense to export block structur

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Michael Niedermayer
On Fri, Nov 19, 2021 at 02:18:27PM +0100, Anton Khirnov wrote: > Quoting James Almer (2021-11-13 13:22:12) > > Also, missing docs. > > Could we add a development rule that all new filters need docs and all > new filters/codecs/(de)muxers need a test (unless special circumstances, > like hwaccel)?

Re: [FFmpeg-devel] [PATCH] avfilter: add colorvd video filter

2021-11-19 Thread Anton Khirnov
Quoting James Almer (2021-11-13 13:22:12) > Also, missing docs. Could we add a development rule that all new filters need docs and all new filters/codecs/(de)muxers need a test (unless special circumstances, like hwaccel)? -- Anton Khirnov ___ ffmpeg-d

Re: [FFmpeg-devel] [PATCH 2/4] avformat/utils: Remove duplicated AV_DISPOSITION_FOO <-> "foo" table

2021-11-19 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2021-11-18 10:13:55) > Instead reuse stream_options. looks good -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or em

Re: [FFmpeg-devel] [PATCH 1/4] fftools/cmdutils: Fix undefined 1 << 31

2021-11-19 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2021-11-18 21:15:05) > Michael Niedermayer: > > On Thu, Nov 18, 2021 at 10:07:36AM +0100, Andreas Rheinhardt wrote: > >> Signed-off-by: Andreas Rheinhardt > >> --- > >> fftools/cmdutils.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a

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

[FFmpeg-devel] [PATCH] avfilter/dnn/dnn_backend_common: check thread create status before join thread

2021-11-19 Thread Steven Liu
From: Steven Liu fix SIGSEGV problem, check the thread create status before join thread. set the init status to 0 when create DNNAsyncExecModule, and set status to 1 after pthread_create success. coredump backtrace info: [Thread 0x7fff4778e700 (LWP 323218) exited] Program received signal SIGSEG

[FFmpeg-devel] [PATCH v2] avcodec/v4l2_m2m_dec: export v4l2 buffer dma-buf

2021-11-19 Thread Ming Qian
if the v4l2 buffer is supported to export dma-buf, then we can report it to AV_PIX_FMT_DRM_PRIME, so the caller can pass it to other hardware device, such as display it directly without copy frame data. Signed-off-by: Ming Qian --- libavcodec/v4l2_buffers.c | 115