[FFmpeg-devel] [PATCH v1] lavc/qsvdec: Add VVC decoder

2024-06-12 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- Changelog | 1 + configure | 1 + doc/decoders.texi | 2 +- libavcodec/allcodecs.c | 1 + libavcodec/qsv.c | 4 libavcodec/qsvdec.c| 7 ++- libavcodec/version.h | 2 +- 7 files changed, 15 insertions(

Re: [FFmpeg-devel] [PATCH v1] lavc/qsvdec: Add VVC decoder

2024-06-12 Thread Wang, Fei W
On Wed, 2024-06-12 at 14:59 +0800, fei.w.w...@intel.com wrote: > From: Fei Wang Sorry for duplicate version. Please ignore this one. Thanks > > Signed-off-by: Fei Wang > --- > Changelog | 1 + > configure | 1 + > doc/decoders.texi | 2 +- > libavcodec/allcodec

[FFmpeg-devel] [PATCH] lavc/hevcdec: always call hevc_frame_end() after successfully decoding an AU

2024-06-12 Thread Anton Khirnov
Currently it is only done if the final CTB address is at the end of the frame, however that address is not known with hwaccel decoding. As we only support exactly one AU per packet, and not partial/multiple AUs, we can just as well call hevc_frame_end() unconditionally. Fixes hwaccel decoding afte

Re: [FFmpeg-devel] [PATCH 3/4] avfilter/qsvvpp: Remove unreachable code

2024-06-12 Thread Xiang, Haihao
On Di, 2024-06-11 at 23:59 +0200, Michael Niedermayer wrote: > Fixes: CID1598548 Logically dead code > > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer > --- >  libavfilter/qsvvpp.c | 5 - >  1 file changed, 5 deletions(-) > > diff --git a/libavfilter/qsvvpp.c b/libavf

Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base layer

2024-06-12 Thread Wu, Tong1
>From: ffmpeg-devel On Behalf Of Lynne >via ffmpeg-devel >Sent: Monday, June 10, 2024 10:01 AM >To: FFmpeg development discussions and patches de...@ffmpeg.org> >Cc: Lynne >Subject: Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move >the dpb logic from VAAPI to base layer > >On 07/06

[FFmpeg-devel] [PATCH] lavc/vaapi_encode: correct the timestamp when input_order = decode_delay

2024-06-12 Thread tong1 . wu-at-intel . com
From: Tong Wu Fixed the command line: ffmpeg -hwaccel vaapi -pix_fmt nv12 -s:v widthxheight -i input.yuv -vf "hwupload" -c:v hevc_vaapi -bf 10 -b_depth 3 -vframes 3 -f null - Signed-off-by: Tong Wu --- libavcodec/vaapi_encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH] lavc/vp8dsp: R-V V put_bilin_h v unroll

2024-06-12 Thread flow gg
ping 于2024年5月30日周四 23:27写道: > From: sunyuechi > > Since len < 64, the registers are sufficient, so it can be > directly unrolled (a4 is even). > > Another benefit of unrolling is that it reduces one load operation > vertically compared to horizontally. > > old

[FFmpeg-devel] [PATCH] avfilter/af_amix: fix amix decreased sound output

2024-06-12 Thread Shiqi Zhu
fix he issue of decreased sound output when one or more input of the amix settings is set to EOF. Signed-off-by: Shiqi Zhu --- libavfilter/af_amix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index ade4ef76a8..3ff85650

[FFmpeg-devel] [PATCH] checkasm/lls: add missing random values to the test buffers

2024-06-12 Thread James Almer
Fixes valgrind warnings after 18adaf9fe558587cb1b707c647af83015b69da48. Signed-off-by: James Almer --- tests/checkasm/lls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/lls.c b/tests/checkasm/lls.c index b1db21cd56..d2dbc53f41 100644 --- a/tests/checkasm/lls

Re: [FFmpeg-devel] [PATCH v1] lavc/qsvdec: Add VVC decoder

2024-06-12 Thread Nuo Mi
Hi Fei, Thank you for the patch. Which hardware supports this? Could you provide the link? On Wed, Jun 12, 2024 at 9:03 AM wrote: > From: Fei Wang > > Signed-off-by: Fei Wang > --- > Changelog | 1 + > configure | 1 + > doc/decoders.texi | 2 +- > libavcodec/al

Re: [FFmpeg-devel] [PATCH v4] lavc/vvc: Prevent overflow in chroma QP derivation

2024-06-12 Thread Nuo Mi
On Sun, Jun 9, 2024 at 7:18 PM Frank Plowman wrote: > On the top of p. 112 in VVC (09/2023): > > It is a requirement of bitstream conformance that the values of > qpInVal[ i ][ j ] and qpOutVal[ i ][ j ] shall be in the range > of −QpBdOffset to 63, inclusive for i in the range of 0 to > numQpTab

[FFmpeg-devel] [PATCH 01/57] avcodec/vc1: Combine identical checks

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 987e77fcc7..d263c70be7 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -583,21 +583,23 @@ int ff_vc1_dec

Re: [FFmpeg-devel] [PATCH v5 1/1] avcodec: add external enc libvvenc for H266/VVC

2024-06-12 Thread Nuo Mi
Hi all, If there are no objections, I will push it in 3 days. Thank you, Christian On Thu, Jun 6, 2024 at 3:52 AM Christian Bartnik wrote: > From: Thomas Siedel > > Add external encoder VVenC for H266/VVC encoding. > Register new encoder libvvenc. > Add libvvenc to wrap the vvenc interface.

[FFmpeg-devel] Add Mediacodec audio decoders support

2024-06-12 Thread Matthieu Bouron
Hello, This patchset adds Mediacodec audio decoders support. Currently, only AAC, AMR, MP3, FLAC, VORBIS and OPUS are supported. This is mainly useful to avoid shipping Android builds of FFmpeg that are subjects to licensing/patents (due to AAC and AMR). Best regards, Matthieu _

[FFmpeg-devel] [PATCH 1/2] avcodec/mediacodecdec_common: ensure input buffer timestamp is positive

2024-06-12 Thread Matthieu Bouron
Submitting a buffer with a negative timestamp seems to stall the Mediacodec audio decoders. --- libavcodec/mediacodecdec_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index d6f91e6e89..4d22db8ecf 100644 --- a/

[FFmpeg-devel] [PATCH 2/2] avcodec: add Mediacodec audio decoders support

2024-06-12 Thread Matthieu Bouron
--- configure | 14 ++ libavcodec/Makefile | 7 + libavcodec/allcodecs.c| 7 + libavcodec/mediacodecdec.c| 215 ++- libavcodec/mediacodecdec_common.c | 333 +++--- 5 files changed, 545 insertions

[FFmpeg-devel] [PATCH 02/57] avcodec/mpegvideo_enc: Avoid branches for flipping no_rounding

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_enc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index eda2305630..6ad5b0eb39 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_e

[FFmpeg-devel] [PATCH 03/57] avcodec/mpegvideo: Don't pretend dct_init can fail

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 4fe9350c40..bbee9a5f61 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -273,7 +273,7 @@ sta

[FFmpeg-devel] [PATCH 04/57] avcodec/mpegvideo: Set dct_unquantize earlier

2024-06-12 Thread Andreas Rheinhardt
Set them in ff_mpv_idct_init() so that they are already set in ff_mpv_decode_init(). This is in preparation for avoiding to set dct_unquantize in every ff_mpv_frame_start(). Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo.c | 54 +- 1 file chang

[FFmpeg-devel] [PATCH 05/57] avcodec/mpegvideo_dec: Set dct_unquantize ptrs only once when possible

2024-06-12 Thread Andreas Rheinhardt
Everything except dct_unquantize_intra for MPEG-4 need only be set once. Signed-off-by: Andreas Rheinhardt --- libavcodec/h263dec.c | 8 libavcodec/mpegvideo_dec.c | 21 +++-- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/libavcodec/h263dec.c b/

[FFmpeg-devel] [PATCH 06/57] configure: Remove obsolete mpeg4_decoder->mpeg4video_parser dependency

2024-06-12 Thread Andreas Rheinhardt
Obsolete since 3ceffe783965767e62d59e8e68ecd265c98460ec. Signed-off-by: Andreas Rheinhardt --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 83284427df..3525d9991c 100755 --- a/configure +++ b/configure @@ -3019,7 +3019,7 @@ mpeg1video_

[FFmpeg-devel] [PATCH 07/57] avcodec/mpegutils: Remap MB_TYPE_ACPRED, add codec-specific MB_TYPE

2024-06-12 Thread Andreas Rheinhardt
MB_TYPE_ACPRED is currently reused for MB_TYPE_REF0 by H.264, so that the value fits into an uint16_t. Given that MB_TYPE_ACPRED is not subject to any such restriction (apart from fitting into 32bits), it can be remapped to a hithereto unused bit. The then available bit will be declared to be codec

[FFmpeg-devel] [PATCH 08/57] avcodec/mpegutils: Remap MB_TYPE_{GMC, SKIP, CBP, QUANT}

2024-06-12 Thread Andreas Rheinhardt
Do this to make MB_TYPE_{CBP,QUANT} fit into an int16_t, so that can be used in a VLC symbol table. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegutils.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/mpegutils.h b/libavcodec/mpegutils.h index 0cca4

[FFmpeg-devel] [PATCH 09/57] avcodec/h261dec: Use VLC symbol table

2024-06-12 Thread Andreas Rheinhardt
This is possible now that MB_TYPE_CBP and MB_TYPE_QUANT fit into an int16_t; only MB_TYPE_H261_FIL needs to be remapped to MB_TYPE_CODEC_SPECIFIC. Signed-off-by: Andreas Rheinhardt --- libavcodec/h261.h | 5 +++-- libavcodec/h261data.c | 2 +- libavcodec/h261dec.c | 9 - 3 files cha

[FFmpeg-devel] [PATCH 10/57] avcodec/h261dec: Remove nonsense information from error message

2024-06-12 Thread Andreas Rheinhardt
The "invalid mtype index" here is always -1, because that is the value the VLC api uses for not existent leafs in an incomplete tree. Signed-off-by: Andreas Rheinhardt --- libavcodec/h261dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/h261dec.c b/libavcodec

[FFmpeg-devel] [PATCH 11/57] avcodec/mpegutils: Remove always-false check

2024-06-12 Thread Andreas Rheinhardt
SVQ3 does not call ff_print_debug_info2(). Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegutils.c b/libavcodec/mpegutils.c index 4b1bcaa995..acc4989aba 100644 --- a/libavcodec/mpegutils.c +++ b/libav

[FFmpeg-devel] [PATCH 12/57] avcodec/mpegutils: Don't use MB_TYPE_L[01] for mpegvideo

2024-06-12 Thread Andreas Rheinhardt
MB_TYPE_L[01] is based upon H.264 terminology (it stands for list); yet the mpegvideo based decoders don't have lists of reference frames, they have at most one forward and one backward reference. So use terminology based upon this. This also has a second advantage: MB_TYPE_L[01] is actually an OR

[FFmpeg-devel] [PATCH 13/57] avcodec/mpegutils: Move H.264-only macros to h264dec.h

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/h264dec.h | 8 libavcodec/mpegutils.h | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h index fc50df90f2..ccd7583bf4 100644 --- a/libavcodec/h264dec.h +++ b/libavcode

[FFmpeg-devel] [PATCH 14/57] avcodec/mpeg4videodec: Use VLC symbol table

2024-06-12 Thread Andreas Rheinhardt
Possible now that MB_TYPE_L1 (which does not fit into an int16_t) is no longer used). Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg4videodec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index ebbd

[FFmpeg-devel] [PATCH 15/57] avcodec/mpeg12dec: Use VLC symbol table

2024-06-12 Thread Andreas Rheinhardt
Possible by using MB_TYPE_CODEC_SPECIFIC for MB_TYPE_ZERO_MV and due to the MB_TYPE_*_MV flags fitting into an int16_t. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg12.c| 42 +- libavcodec/mpeg12dec.c | 28 libavcod

[FFmpeg-devel] [PATCH 16/57] avcodec/ituh263dec: Use VLC symbol table

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/ituh263dec.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index 47ad891391..e0f3034e57 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -59,7

[FFmpeg-devel] [PATCH 17/57] avcodec/mpegvideo_enc: Avoid excessive inlining

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_enc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 6ad5b0eb39..11f2a72804 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.

[FFmpeg-devel] [PATCH 18/57] avcodec/mpegvideo_enc: Check for existence of ildct cmp functions

2024-06-12 Thread Andreas Rheinhardt
Not all compare functions are implemented for all compare function types. Therefore check for the existence of the used functions. Fixes issue #10245. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_enc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/l

[FFmpeg-devel] [PATCH 19/57] avcodec/dvenc: Check for availability of interlaced dct cmp func

2024-06-12 Thread Andreas Rheinhardt
Not every type of comparison function implements every function. Signed-off-by: Andreas Rheinhardt --- libavcodec/dvenc.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c index 3afeedbb87..08ed53d823 100644 --- a/

[FFmpeg-devel] [PATCH 20/57] avcodec/motion_est: Factor one-time initialization out of ff_init_me

2024-06-12 Thread Andreas Rheinhardt
The majority of the stuff performed in it needs to be done only once; so factor it out into a function of its own to be called in the user's init function. Also avoid using MpegEncContext in it, to separate the two a bit more. Signed-off-by: Andreas Rheinhardt --- libavcodec/motion_est.c| 89

[FFmpeg-devel] [PATCH 21/57] avcodec/me_cmp: Constify ff_set_cmp()

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/me_cmp.c | 2 +- libavcodec/me_cmp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/me_cmp.c b/libavcodec/me_cmp.c index 670103cc05..cff8936e44 100644 --- a/libavcodec/me_cmp.c +++ b/libavcodec/me_cmp.c @@ -473,7

[FFmpeg-devel] [PATCH 22/57] avcodec/me_cmp, motion_est: Move me_(pre_)?_cmp etc. to MotionEstContext

2024-06-12 Thread Andreas Rheinhardt
MECmpContext has several arrays of function pointers that are not set by ff_me_cmp_init(), but that are set by users to one of the other arrays via ff_set_cmp(). One of these other users is the motion estimation API. It uses MECmpContext.(me_pre|me|me_sub|mb)_cmp. It is basically the only user of

[FFmpeg-devel] [PATCH 23/57] avcodec/me_cmp, mpegvideo: Move frame_skip_cmp to MpegEncContext

2024-06-12 Thread Andreas Rheinhardt
MECmpContext has several arrays of function pointers that are not set by ff_me_cmp_init(), but that are set by users to one of the other arrays via ff_set_cmp(). One of these other users is mpegvideo_enc; it is the only user of MECmpContext.frame_skip_cmp and it only uses one of these function poi

[FFmpeg-devel] [PATCH 24/57] avcodec/me_cmp, dvenc, mpegvideo: Move ildct_cmp to its users

2024-06-12 Thread Andreas Rheinhardt
MECmpContext.ildct_cmp is an array of function pointers that are not set by ff_me_cmp_init(), but that are set by users to one of the other arrays via ff_set_cmp(). Remove these pointers from MECmpContext and add pointers for the actually used functions to its users. (The DV encoder already did so

[FFmpeg-devel] [PATCH 25/57] avcodec/me_cmp, motion_est: Sanitize permissible cmp_funcs

2024-06-12 Thread Andreas Rheinhardt
Several of the potential choices of comparison functions need an initialized MpegEncContext (initialized for encoding, not only ff_mpv_common_init()) or they crash when called. Modify ff_set_cmp() to check for this. Signed-off-by: Andreas Rheinhardt --- libavcodec/dvenc.c | 2 +- libav

[FFmpeg-devel] [PATCH 26/57] avcodec/motion_est: Store remaining required me_cmp_funcs

2024-06-12 Thread Andreas Rheinhardt
This avoids using MpegEncContext.mecc; it already allows to avoid touching the latter for snowenc and svq1enc. Signed-off-by: Andreas Rheinhardt --- libavcodec/motion_est.c | 7 +-- libavcodec/motion_est.h | 3 +++ libavcodec/snowenc.c| 1 - libavcodec/svq1enc.c| 1 - 4 files changed

[FFmpeg-devel] [PATCH 27/57] avcodec/me_cmp: Zero MECmpContext in ff_me_cmp_init()

2024-06-12 Thread Andreas Rheinhardt
Not every function will be set, so zero the context to initialize everything. This also allows to remove an initialization in dvenc.c. Signed-off-by: Andreas Rheinhardt --- libavcodec/dvenc.c| 1 - libavcodec/me_cmp.c | 2 ++ libavcodec/tests/motion.c | 2 -- tests/checkasm/motion

[FFmpeg-devel] [PATCH 28/57] avcodec/mpegvideo_enc: Avoid branch for sse vs nsse cmp

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo.h | 1 + libavcodec/mpegvideo_enc.c | 23 +++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 44695776ad..79c5561793 100644 --- a/libavcodec/m

[FFmpeg-devel] [PATCH 29/57] avcodec/mpegvideo_enc: Only keep what is used from MECmpContext

2024-06-12 Thread Andreas Rheinhardt
A MECmpContext is quite big (792B here) and given how ff_update_duplicate_context() works, it is (unfortunately) copied quite frequently when using slice threading. Therefore keep only what is needed from MECmpContext and remove MECmpContext from MpegEncContext. Signed-off-by: Andreas Rheinhardt

[FFmpeg-devel] [PATCH 30/57] avcodec/mpegvideo_enc: Initialize qscale tab for all codecs

2024-06-12 Thread Andreas Rheinhardt
Calling it is the first thing ff_clean_h263_qscales() and ff_clean_mpeg4_qscales() do anyway. Signed-off-by: Andreas Rheinhardt --- libavcodec/h263enc.h | 1 - libavcodec/ituh263enc.c| 2 -- libavcodec/mpegvideo_enc.c | 6 +++--- 3 files changed, 3 insertions(+), 6 deletions(-) diff -

[FFmpeg-devel] [PATCH 31/57] avcodec/mpegvideo_enc: Don't update qscale unnecessarily

2024-06-12 Thread Andreas Rheinhardt
The new value will be overwritten in ff_set_qscale() below. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_enc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 6d26b2d619..125d16e694 100644 --- a

[FFmpeg-devel] [PATCH 32/57] avcodec/mpegutils: Fix ff_draw_horiz_band()

2024-06-12 Thread Andreas Rheinhardt
Broken in 5ecf5b93dda9d0c69875b80d28929f0d97dd7d06. More precisely, 3994623df2efd2749631c3492184dd8d4ffa9d1b changed the precursor of ff_mpv_reconstruct_mb() to always decode to the first row of macroblocks for B pictures when a draw_horiz_band callback is set and to (they are exported to the call

[FFmpeg-devel] [PATCH 33/57] avcodec/mpv_reconstruct_mb_template: Don't unnecessarily copy data

2024-06-12 Thread Andreas Rheinhardt
There is no reason to use a temporary buffer as destination for the new macroblock before copying it into its proper place. (History: 3994623df2efd2749631c3492184dd8d4ffa9d1b changed the precursor of ff_mpv_reconstruct_mb() to always decode to the first row of macroblocks for B pictures when a dra

[FFmpeg-devel] [PATCH 34/57] avcodec/mpeg12dec: Disable allocating scratchpad buffers when possible

2024-06-12 Thread Andreas Rheinhardt
They are no longer used by the MPEG-1/2 decoders except when using lowres. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg12dec.c | 4 libavcodec/mpegpicture.h | 10 ++ 2 files changed, 14 insertions(+) diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index e0e

[FFmpeg-devel] [PATCH 35/57] avcodec/mpegvideo_dec: Don't alloc framesize-bufs in update_thread_ctx

2024-06-12 Thread Andreas Rheinhardt
It is always allocated in ff_mpv_frame_start(), so the only reason to put it into ff_mpeg_update_thread_context() would be for the case that a frame-threaded decoder that supports coded fields implements frame-threading. The only mpegvideo-decoders supporting coded fields are MPEG-1/2 and VC-1. Th

[FFmpeg-devel] [PATCH 36/57] avcodec/mpegvideo_dec: Don't keep droppable in sync in update_thread_ctx

2024-06-12 Thread Andreas Rheinhardt
It is not a stream property, but a property of an individual picture (in fact, it is only set by the FLV decoder that does not even support frame threading). Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_dec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/mpegvideo_d

[FFmpeg-devel] [PATCH 37/57] avcodec/mpegutils: Don't output wrong mb skip values

2024-06-12 Thread Andreas Rheinhardt
The earlier code had two problems: 1. For reference frames that are not directly output (happens unless low_delay is set), the mb skip values referred to the next reference frame to be decoded. 2. For non-reference frames, every macroblock was always considered skipped. This makes the output (worse

[FFmpeg-devel] [PATCH 38/57] avcodec/svq1enc: Stop copying PutBitContext unnecessarily

2024-06-12 Thread Andreas Rheinhardt
Possible since 404fe63e23433aa559cee5366cb26f78b425e7e5. Signed-off-by: Andreas Rheinhardt --- libavcodec/svq1enc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 6e687166b8..4065c9b21a 100644 --- a/libavcodec/svq1enc.c

[FFmpeg-devel] [PATCH 39/57] avcodec/ituh263enc: Inline constants

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/ituh263enc.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c index b1fe4e241e..3982b1e675 100644 --- a/libavcodec/ituh263enc.c +++ b/libavcodec/ituh263enc.c @@ -709,9 +7

[FFmpeg-devel] [PATCH 40/57] avcodec/h263enc: Remove no-output code

2024-06-12 Thread Andreas Rheinhardt
The no-output mode (guarded by AV_CODEC_FLAG2_NO_OUTPUT) does not provide a noteworthy speedup; in fact, it even turned out to be slower than the code with the no-output code removed (ordinary encode: 153259721 decicycles, noout encode: 153259721; encode with this patch applied: 152451581 decicycle

[FFmpeg-devel] [PATCH 41/57] avcodec/mpeg4videodec: Inline constants

2024-06-12 Thread Andreas Rheinhardt
Partitioned macroblocks are always 8bit and not studio profile. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg4videodec.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index 116dc1507e..f1b542cebf 100644 -

[FFmpeg-devel] [PATCH 42/57] avcodec/mpeg4videodec: Don't initialize unused stuff

2024-06-12 Thread Andreas Rheinhardt
Only the intra scantable is used for studio profile. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg4videodec.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index f1b542cebf..18329132aa 100644

[FFmpeg-devel] [PATCH 43/57] avcodec/vc1_block: Remove unnecessary assignments

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1_block.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/vc1_block.c b/libavcodec/vc1_block.c index 640f7329ca..384979caf5 100644 --- a/libavcodec/vc1_block.c +++ b/libavcodec/vc1_block.c @@ -2675,12 +2675,11 @@

[FFmpeg-devel] [PATCH 44/57] avcodec/vc1_block: Simplify resetting coded_block

2024-06-12 Thread Andreas Rheinhardt
Everything that init_block_index() sets will be overwritten a few lines below again, so don't call it and simply calculate the only thing that is used (namely block_index[0]) manually. Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1_block.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletio

[FFmpeg-devel] [PATCH 45/57] avcodec/mpeg4videodec: Remove always-false check

2024-06-12 Thread Andreas Rheinhardt
All valid values of dc_lum and dc_chrom are in the range 0..9, because they are initialized via tables with 10 elements. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg4videodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mp

[FFmpeg-devel] [PATCH 46/57] avcodec/mpeg12enc: Use AVCodecContext, not priv ctx as logctx

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg12enc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index ba56f0c37a..3948dbe599 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -180,7 +180,6 @@ stat

[FFmpeg-devel] [PATCH 47/57] avcodec/mpeg12enc: Pass AVCodecContext* directly

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpeg12enc.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 3948dbe599..b840fe887d 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -137,16 +13

[FFmpeg-devel] [PATCH 48/57] avcodec/msmpeg4enc: Combine writing bits

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/msmpeg4enc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/msmpeg4enc.c b/libavcodec/msmpeg4enc.c index 642a0ff100..3103a73663 100644 --- a/libavcodec/msmpeg4enc.c +++ b/libavcodec/msmpeg4enc.c @@ -71,8 +71,7 @@ v

[FFmpeg-devel] [PATCH 49/57] avcodec/h261dec: Don't reset gob_start_code_skipped in h261_decode_init()

2024-06-12 Thread Andreas Rheinhardt
It always gets reset at the start of h261_decode_frame(). Signed-off-by: Andreas Rheinhardt --- libavcodec/h261dec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c index be285ce5e9..8671800c3e 100644 --- a/libavcodec/h261dec.c +++ b/libavcodec/h2

[FFmpeg-devel] [PATCH 50/57] avcodec/h261dec: Fix UB NULL + 0, remove broken resync code

2024-06-12 Thread Andreas Rheinhardt
last_resync_gb is never initialized, causing NULL + 0 in align_get_bits(). In addition to that, the loop is never entered. Signed-off-by: Andreas Rheinhardt --- libavcodec/h261dec.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/libavcodec/h261dec.c b/liba

[FFmpeg-devel] [PATCH 51/57] avcodec/h261dec: Simplify decoding GOB header

2024-06-12 Thread Andreas Rheinhardt
h261_resync() can be completely removed, because h261_decode_gob_header() checks for a GOB header itself if gob_start_code_skipped is zero. Signed-off-by: Andreas Rheinhardt --- libavcodec/h261dec.c | 27 +-- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/l

[FFmpeg-devel] [PATCH 52/57] avcodec/mpv_reconstruct_mb_template: Optimize always-true branch away

2024-06-12 Thread Andreas Rheinhardt
There are only two mpegvideo decoders that use another (software) pixel format than YUV420: MPEG-1/2 and the MPEG-4 studio profile. Neither of these use this part of the code, so one can optimize the 422 code away when this code is compiled for the decoder. Signed-off-by: Andreas Rheinhardt ---

[FFmpeg-devel] [PATCH 53/57] avcodec/mpegvideo_dec: Remove unnecessary FFMIN

2024-06-12 Thread Andreas Rheinhardt
No mpegvideo-based decoder supports lowres > 3, so the FFMIN here are unnecessary. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo_dec.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c index 4e2

[FFmpeg-devel] [PATCH 54/57] avcodec/mpegvideo: Join loops when initializing ScanTable

2024-06-12 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 27f7ebf933..4b5b864b83 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -296,20

[FFmpeg-devel] [PATCH 55/57] avcodec/mpv_reconstruct_mb_template: Optimize WMV2 code away if possible

2024-06-12 Thread Andreas Rheinhardt
The WMV2 decoder does not support lowres, so one can optimize the WMV2 specific code away in the lowres version of this function. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpv_reconstruct_mb_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpv_reco

[FFmpeg-devel] [PATCH 56/57] avcodec/mpeg4videodec: Don't initialize unused inter_scantable

2024-06-12 Thread Andreas Rheinhardt
inter_scantable is only used by the dct_unquantize_h263_inter functions, yet this is not used by the MPEG-4 decoder at all (in case H.263 quantization is used, the unquantization already happens in mpeg4_decode_block()). Also move the common initialization of ff_permute_scantable() out of the if.

[FFmpeg-devel] [PATCH 57/57] avcodec/mpeg_er: Don't set block_index unnecessarily

2024-06-12 Thread Andreas Rheinhardt
ff_init_block_index() sets MpegEncContext.dest and MpegEncContext.block_index. The latter is unused by ff_mpv_reconstruct_mb() (which is what this code is preparatory for) and dest is overwritten a few lines below. So don't initialize block_index at all. Signed-off-by: Andreas Rheinhardt --- lib

Re: [FFmpeg-devel] Add Mediacodec audio decoders support

2024-06-12 Thread Paul B Mahol
FFmpeg RIP ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] lavc/vp8dsp: R-V V put_bilin_h v unroll

2024-06-12 Thread Rémi Denis-Courmont
Le torstaina 30. toukokuuta 2024, 18.26.53 EEST u...@foxmail.com a écrit : > From: sunyuechi > > Since len < 64, the registers are sufficient, so it can be > directly unrolled (a4 is even). > > Another benefit of unrolling is that it reduces one load operation > vertically compared to horizontal

Re: [FFmpeg-devel] [PATCH v2 2/4] swscale/x86: add sse4 {lum, chr}ConvertRange

2024-06-12 Thread Ramiro Polla
Hi, On Tue, Jun 11, 2024 at 8:42 PM James Almer wrote: > > On 6/11/2024 3:26 PM, Michael Niedermayer wrote: > > On Tue, Jun 11, 2024 at 02:28:56PM +0200, Ramiro Polla wrote: > >> chrRangeFromJpeg_8_c: 28.7 > >> chrRangeFromJpeg_8_sse4: 16.2 > >> chrRangeFromJpeg_24_c: 152.7 > >> chrRangeFromJpeg_

[FFmpeg-devel] [PATCH] lavc/vp8dsp: R-V V bilin_load to bilin_load_h

2024-06-12 Thread uk7b
From: sunyuechi --- libavcodec/riscv/vp8dsp_rvv.S | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libavcodec/riscv/vp8dsp_rvv.S b/libavcodec/riscv/vp8dsp_rvv.S index a5f2e34f44..6ad349741e 100644 --- a/libavcodec/riscv/vp8dsp_rvv.S +++ b/libavcodec/riscv/vp8dsp_rvv

Re: [FFmpeg-devel] [PATCH] lavc/vp8dsp: R-V V put_bilin_h v unroll

2024-06-12 Thread flow gg
> Does this not render the type parameter of bilin_load useless (always h)? > (Not a blocker for this patch.) Yes, this was needed in the initial version, but it is no longer required. I just sent a patch. > Not sure if I already asked this but is this really faster than slide1? > Normally we wan

[FFmpeg-devel] [PATCH 2/2] avutil/macos_kperf: Fix assert which makes kperf failed to run

2024-06-12 Thread Zhao Zhili
From: Zhao Zhili On m1, kpc_get_counter_count(KPC_MASK) return 8. The exact value doesn't matter in our case. --- libavutil/macos_kperf.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libavutil/macos_kperf.c b/libavutil/macos_kperf.c index a0bc845fd3..906b27

[FFmpeg-devel] [PATCH 1/2] avutil/timer: define macos kperf as AV_READ_TIME

2024-06-12 Thread Zhao Zhili
From: Zhao Zhili Firstly, make ff_kperf_cycles as an implementation of AV_READ_TIME avoids code duplication. Secondly, fix compilation error since 6a18c0bc87e when macos-kperf is enabled. mach_time.h is included only when CONFIG_MACOS_KPERF is 0. The error happened due to define mach_absolute_ti

Re: [FFmpeg-devel] [PATCHv4 1/4] lavc/h263dsp: add DCT dequantisation functions

2024-06-12 Thread James Almer
On 6/10/2024 5:23 PM, Rémi Denis-Courmont wrote: Note that optimised implementations of these functions will be taken into actual use only if MpegEncContext.dct_unquantize_h263_{inter,intra} are *not* overloaded by existing optimisations. --- libavcodec/h263dsp.c | 25 +

Re: [FFmpeg-devel] [PATCHv4 3/4] checkasm/h263dsp: test dct_unquantize_{intra, inter}

2024-06-12 Thread James Almer
On 6/10/2024 5:23 PM, Rémi Denis-Courmont wrote: --- tests/checkasm/h263dsp.c | 53 +++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/tests/checkasm/h263dsp.c b/tests/checkasm/h263dsp.c index 2d0957a90b..a8530403ee 100644 --- a/tests/checkas

[FFmpeg-devel] [PATCH] tests/checkasm: Remove check on linux perf fd in uninit

2024-06-12 Thread Zhao Zhili
From: Zhao Zhili The check should be >= 0, not > 0. The check itself is redundant since uninit only being called after init is success. --- tests/checkasm/checkasm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index

Re: [FFmpeg-devel] [PATCHv5 1/4] lavc/h263dsp: add DCT dequantisation functions

2024-06-12 Thread James Almer
On 6/12/2024 1:47 AM, Rémi Denis-Courmont wrote: Note that optimised implementations of these functions will be taken into actual use only if MpegEncContext.dct_unquantize_h263_{inter,intra} are *not* overloaded by existing optimisations. --- This adds the plus ones back, saving two branch instr

[FFmpeg-devel] [PATCH] doc/faq: Provide information about git send-email and gmail

2024-06-12 Thread Michael Niedermayer
The 2 links are the clearest i found. Signed-off-by: Michael Niedermayer --- doc/faq.texi | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/faq.texi b/doc/faq.texi index 477cc60533a..d07ed533dd7 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -683,4 +683,9 @@ Do you happen to have a @

Re: [FFmpeg-devel] [PATCHv5 1/4] lavc/h263dsp: add DCT dequantisation functions

2024-06-12 Thread Rémi Denis-Courmont
Le keskiviikkona 12. kesäkuuta 2024, 20.40.37 EEST James Almer a écrit : > On 6/12/2024 1:47 AM, Rémi Denis-Courmont wrote: > > Note that optimised implementations of these functions will be taken > > into actual use only if MpegEncContext.dct_unquantize_h263_{inter,intra} > > are *not* overloaded

Re: [FFmpeg-devel] [PATCH] doc/faq: Provide information about git send-email and gmail

2024-06-12 Thread epirat07
On 12 Jun 2024, at 19:46, Michael Niedermayer wrote: > The 2 links are the clearest i found. > > Signed-off-by: Michael Niedermayer > --- > doc/faq.texi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/doc/faq.texi b/doc/faq.texi > index 477cc60533a..d07ed533dd7 100644 > --- a/do

Re: [FFmpeg-devel] [PATCH 3/4] checkasm/h263dsp: test dct_unquantize_{intra, inter}

2024-06-12 Thread James Almer
On 6/12/2024 1:47 AM, Rémi Denis-Courmont wrote: --- tests/checkasm/h263dsp.c | 47 +++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/tests/checkasm/h263dsp.c b/tests/checkasm/h263dsp.c index 2d0957a90b..8a2cdb34df 100644 --- a/tests/checkas

Re: [FFmpeg-devel] [PATCH 3/4] checkasm/h263dsp: test dct_unquantize_{intra, inter}

2024-06-12 Thread Rémi Denis-Courmont
Le keskiviikkona 12. kesäkuuta 2024, 21.39.12 EEST James Almer a écrit : > On 6/12/2024 1:47 AM, Rémi Denis-Courmont wrote: > > --- > > > > tests/checkasm/h263dsp.c | 47 +++- > > 1 file changed, 46 insertions(+), 1 deletion(-) > > > > diff --git a/tests/che

Re: [FFmpeg-devel] lavfi: add perlin noise generator

2024-06-12 Thread Stefano Sabatini
On date Monday 2024-06-03 11:41:59 +0200, Stefano Sabatini wrote: > On date Tuesday 2024-05-28 18:58:28 +0200, Stefano Sabatini wrote: > > On date Monday 2024-05-27 23:37:33 +0200, Stefano Sabatini wrote: > > > Hi, > > > > > > still missing documentation and might be optimized (and maybe extended

Re: [FFmpeg-devel] [PATCH 3/4] checkasm/h263dsp: test dct_unquantize_{intra, inter}

2024-06-12 Thread James Almer
On 6/12/2024 4:15 PM, Rémi Denis-Courmont wrote: Le keskiviikkona 12. kesäkuuta 2024, 21.39.12 EEST James Almer a écrit : On 6/12/2024 1:47 AM, Rémi Denis-Courmont wrote: --- tests/checkasm/h263dsp.c | 47 +++- 1 file changed, 46 insertions(+), 1 deleti

Re: [FFmpeg-devel] [PATCH v3] area changed: scdet filter

2024-06-12 Thread radu.taraibuta
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: marți, 11 iunie 2024 20:18 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v2] area changed: scdet filter > > On Tue, Jun 11, 2024 at 10:07:32AM +0300, radu.taraib..

Re: [FFmpeg-devel] [PATCH 3/4] checkasm/h263dsp: test dct_unquantize_{intra, inter}

2024-06-12 Thread Rémi Denis-Courmont
Le keskiviikkona 12. kesäkuuta 2024, 22.39.49 EEST James Almer a écrit : > >> These are not padded, and unless I'm reading this wrong, an asm > >> implementation loading say 16 bytes at a time will overread/write in > >> dct_unquantize_intra (which offsets block by 1). > > > > AFAIU, there is no p

Re: [FFmpeg-devel] [PATCH] avfilter: add sdlvsink for video display

2024-06-12 Thread Stefano Sabatini
On date Tuesday 2024-06-11 21:13:48 +0800, Shiqi Zhu wrote: > On Fri, 7 Jun 2024 at 19:55, Rémi Denis-Courmont wrote: > > Le 7 juin 2024 12:53:51 GMT+03:00, Michael Niedermayer > > a écrit : > > >We can require anything from an API that we are able to change and extend > > >Of course we can deci

Re: [FFmpeg-devel] [PATCH] doc/faq: Provide information about git send-email and gmail

2024-06-12 Thread Stefano Sabatini
On date Wednesday 2024-06-12 19:46:59 +0200, Michael Niedermayer wrote: > The 2 links are the clearest i found. > > Signed-off-by: Michael Niedermayer > --- > doc/faq.texi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/doc/faq.texi b/doc/faq.texi > index 477cc60533a..d07ed533dd7

Re: [FFmpeg-devel] [PATCH] avfilter: add sdlvsink for video display

2024-06-12 Thread Paul B Mahol
On Wed, Jun 12, 2024 at 9:52 PM Stefano Sabatini wrote: > On date Tuesday 2024-06-11 21:13:48 +0800, Shiqi Zhu wrote: > > On Fri, 7 Jun 2024 at 19:55, Rémi Denis-Courmont > wrote: > > > Le 7 juin 2024 12:53:51 GMT+03:00, Michael Niedermayer < > mich...@niedermayer.cc> a écrit : > > > >We can req

Re: [FFmpeg-devel] [PATCH v6 1/4] doc: Explain what "context" means

2024-06-12 Thread Stefano Sabatini
On date Tuesday 2024-06-04 15:47:21 +0100, Andrew Sayers wrote: > Derived from explanations kindly provided by Stefano Sabatini and others: > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325903.html > --- > doc/context.md | 430 + > 1 file ch

[FFmpeg-devel] [PATCH 1/3] avfilter/vf_avgblur_opencl: Use AV_VIDEO_MAX_PLANES

2024-06-12 Thread Michael Niedermayer
Fixes: CID1437470 Out-of-bounds read (out of bounds read would only occur with a pixel format of more than 4 planes) Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavfilter/vf_avgblur_opencl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --

[FFmpeg-devel] [PATCH 2/3] avfilter/vf_bm3d: Dont round MSE2SSE to an integer

2024-06-12 Thread Michael Niedermayer
Fixes: CID1439581 Result is not floating-point Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavfilter/vf_bm3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_bm3d.c b/libavfilter/vf_bm3d.c index f53a206b518..eb7f6d34d99 100644 --

[FFmpeg-devel] [PATCH 3/3] avfilter/vf_convolution_opencl: Assert that the filter name is one of the filters

2024-06-12 Thread Michael Niedermayer
Helps with: CID1439572 Uninitialized pointer read Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavfilter/vf_convolution_opencl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_convolution_opencl.c b/libavfilter/vf_convolution_opencl.c index 0

Re: [FFmpeg-devel] [PATCH] doc/faq: Provide information about git send-email and gmail

2024-06-12 Thread Michael Niedermayer
On Wed, Jun 12, 2024 at 08:23:08PM +0200, epira...@gmail.com wrote: > > > On 12 Jun 2024, at 19:46, Michael Niedermayer wrote: > > > The 2 links are the clearest i found. > > > > Signed-off-by: Michael Niedermayer > > --- > > doc/faq.texi | 5 + > > 1 file changed, 5 insertions(+) > > > >

  1   2   >