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
> +
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
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
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
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
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
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
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
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
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-
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
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
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
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
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
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
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
> -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
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
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
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
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
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
> -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:
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
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 +
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:
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
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 <
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>
>
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 <
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.
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
@
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
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
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)?
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
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
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
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
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
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
59 matches
Mail list logo