[FFmpeg-devel] [PATCH] avutil/timecode: Apply fix from c94875471e3ba3dc396c6919ff3ec9b14539cd71 to av_timecode_get_smpte_from_framenum()

2024-12-21 Thread Michael Niedermayer
Found-by: Youngjae Choi Signed-off-by: Michael Niedermayer --- libavutil/timecode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/timecode.c b/libavutil/timecode.c index f40a10eb385..f454466f975 100644 --- a/libavutil/timecode.c +++ b/libavutil/timecode.c @@ -

Re: [FFmpeg-devel] [PATCH] configure: Include quotes around pkg_version

2024-12-21 Thread J Shiff
On Sat, Dec 21, 2024 at 5:44 PM Alexander Strasser via ffmpeg-devel wrote: > > On 2024-12-16 16:19 -0500, Joe Schiffler wrote: > > Since $pkg_version includes spaces, builds can fail in some MSYS > > environments. > > Could you show what the pkg_version with spaces was in your case? The value of

[FFmpeg-devel] [PATCH] avcodec/hw_base_encode: restrict size of next_prev

2024-12-21 Thread Benjamin Cheng via ffmpeg-devel
Some drivers are more strict about the size of the reference lists given (i.e. VAOn12 [1]). The next_prev list is used to handle multiple "L0" references in AV1 encode. Restrict the size of next_prev based on the value of ref_l0 when the GOP structure is initialized. [1] https://github.com/intel/c

[FFmpeg-devel] [PATCH v2] avcodec/hw_base_encode: restrict size of next_prev

2024-12-21 Thread Benjamin Cheng via ffmpeg-devel
Some drivers are more strict about the size of the reference lists given (i.e. VAOn12 [1]). The next_prev list is used to handle multiple "L0" references in AV1 encode. Restrict the size of next_prev based on the value of ref_l0 when the GOP structure is initialized. [1] https://github.com/intel/c

Re: [FFmpeg-devel] [PATCH 3/3] vp9: recon: Use emulated edge to prevent buffer overflows

2024-12-21 Thread Ronald S. Bultje
Hi Janne, On Thu, Dec 19, 2024 at 4:12 PM Janne Grunau wrote: > The arm/aarch64 horizontal filter reads one additional pixel beyond what > the filter uses. This can become an issue if the application does not > allocate larger buffers than what's required for the pixel data. If the > motion vect

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/hevcdec: remove hevc prefix for x86 asm files

2024-12-21 Thread Ronald S. Bultje
Hi, On Sat, Dec 21, 2024 at 5:02 AM Nuo Mi wrote: > rename from libavcodec/x86/hevc_add_res.asm > rename to libavcodec/x86/hevc/add_res.asm > Good idea - LGTM. I should probably do this for VP9 also... Ronald ___ ffmpeg-devel mailing list ffmpeg-deve

[FFmpeg-devel] [PATCH] lavc/vvc_mc: reduce sequential dependency in R-V V sad

2024-12-21 Thread uk7b-at-foxmail . com
From: sunyuechi --- libavcodec/riscv/vvc/vvc_sad_rvv.S | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/riscv/vvc/vvc_sad_rvv.S b/libavcodec/riscv/vvc/vvc_sad_rvv.S index 341167be1f..f325deee17 100644 --- a/libavcodec/riscv/vvc/vvc_sad_rvv.S +++ b/libavc

Re: [FFmpeg-devel] [PATCH] lavc/vvc_mc: reduce sequential dependency in R-V V sad

2024-12-21 Thread flow gg
> Don't clobber v8 here. > Use vsub.vv here to avoid the sequential dependency. Updated. 于2024年12月21日周六 20:22写道: > From: sunyuechi > > --- > libavcodec/riscv/vvc/vvc_sad_rvv.S | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/riscv/vvc/vvc_sad_rvv.

Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-21 Thread Rémi Denis-Courmont
Hi, Le 21 décembre 2024 05:57:26 GMT+02:00, Michael Niedermayer a écrit : >Hi Anton > >On Fri, Dec 20, 2024 at 06:24:46AM +0100, Anton Khirnov wrote: >> Quoting Michael Niedermayer (2024-12-19 20:52:39) >> > This was a brave decission and IMO it was the correct decission. >> > You saw people fig

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/vvcdec: remove vvc prefix for x86 and riscv

2024-12-21 Thread Rémi Denis-Courmont
Hi The RISC-V bits look ok. No opinion on x86. ___ 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] configure: Include quotes around pkg_version

2024-12-21 Thread Alexander Strasser via ffmpeg-devel
On 2024-12-16 16:19 -0500, Joe Schiffler wrote: > Since $pkg_version includes spaces, builds can fail in some MSYS environments. Could you show what the pkg_version with spaces was in your case? Alexander > Build passing with quotes: > https://github.com/JoeSchiff/pyav-ffmpeg/actions/runs/12

Re: [FFmpeg-devel] [PATCH] avutil/timecode: Apply fix from c94875471e3ba3dc396c6919ff3ec9b14539cd71 to av_timecode_get_smpte_from_framenum()

2024-12-21 Thread Vittorio Giovara
On Sat, Dec 21, 2024 at 7:19 PM Michael Niedermayer wrote: > Found-by: Youngjae Choi > Signed-off-by: Michael Niedermayer > --- > libavutil/timecode.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavutil/timecode.c b/libavutil/timecode.c > index f40a10eb385..f

[FFmpeg-devel] [PATCHv2 1/3] avformat/mlvdec: demux LJ92 huffman comressed frames

2024-12-21 Thread Peter Ross
A minimal DNG header is added to each LJ92 compressed frame, allowing thme to be decoded by the TIFF decoder. The TIFF decoder is responsible for setting up the MJPEG decoder, signalling the correct s->bayer flag, and setting pix_fmt. The LJ92 compressed frames can be muxed out to DNG files, and m

[FFmpeg-devel] [PATCHv2 3/3] avformat/mlvdec: skip over some other known block types

2024-12-21 Thread Peter Ross
--- libavformat/mlvdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index a786f73fba..96a666e243 100644 --- a/libavformat/mlvdec.c +++ b/libavformat/mlvdec.c @@ -263,9 +263,12 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, AV

[FFmpeg-devel] [PATCHv2 2/3] avformat/mlvdec: process VERS block

2024-12-21 Thread Peter Ross
--- libavformat/mlvdec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index 22c94c6c58..a786f73fba 100644 --- a/libavformat/mlvdec.c +++ b/libavformat/mlvdec.c @@ -259,6 +259,10 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, A

Re: [FFmpeg-devel] [PATCH] swscale/options: add missing -sws_dither none alias

2024-12-21 Thread Michael Niedermayer
On Thu, Dec 19, 2024 at 12:43:39PM +0100, Niklas Haas wrote: > From: Niklas Haas > > This one was documented, but never actually supported. > > Fixes: ticket #9192 > Signed-off-by: Niklas Haas > Sponsored-by: Sovereign Tech Fund > --- > libswscale/options.c | 1 + > 1 file changed, 1 insertion

Re: [FFmpeg-devel] [PATCH] swscale: use 16-bit intermediate precision for RGB/XYZ conversion

2024-12-21 Thread Niklas Haas
On Mon, 16 Dec 2024 14:56:07 +0100 Niklas Haas wrote: > From: Niklas Haas > > The current logic uses 12-bit linear light math, which is woefully > insufficient > and leads to nasty postarization artifacts. This patch simply switches the > internal logic to 16-bit precision. > > This raises the m

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/vvcdec: remove vvc prefix for x86 and riscv

2024-12-21 Thread Nuo Mi
On Sat, Dec 21, 2024 at 2:06 PM flow gg wrote: > Hi, other RISC-V assembly file names usually include the extensions being > used, such as rvv, rvb, etc. > How about naming them mc_rvv.S and sad_rvv.S? > Thank you for the comment. Fixed by v2 > > Nuo Mi 于2024年12月17日周二 11:59写道: > > > --- > > li

[FFmpeg-devel] [PATCH v2 2/2] avcodec/hevcdec: remove hevc prefix for x86 asm files

2024-12-21 Thread Nuo Mi
--- libavcodec/x86/Makefile | 8 libavcodec/x86/hevc/Makefile | 12 .../x86/{hevc_add_res.asm => hevc/add_res.asm} | 0 .../x86/{hevc_deblock.asm => hevc/deblock.asm} | 0 libavcodec/x86/{hevcdsp_init.c => he

[FFmpeg-devel] [PATCH v2 1/2] avcodec/vvcdec: remove vvc prefix for x86 and riscv

2024-12-21 Thread Nuo Mi
--- libavcodec/riscv/vvc/Makefile | 6 +++--- libavcodec/riscv/vvc/{vvcdsp_init.c => dsp_init.c} | 0 libavcodec/riscv/vvc/{vvc_mc_rvv.S => mc_rvv.S}| 0 libavcodec/riscv/vvc/{vvc_sad_rvv.S => sad_rvv.S} | 0 libavcodec/x86/vvc/Makefile| 12 +++

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/vvcdec: remove vvc prefix for x86 and riscv

2024-12-21 Thread flow gg
LGTM. Nuo Mi 于2024年12月21日周六 18:19写道: > --- > libavcodec/riscv/vvc/Makefile | 6 +++--- > libavcodec/riscv/vvc/{vvcdsp_init.c => dsp_init.c} | 0 > libavcodec/riscv/vvc/{vvc_mc_rvv.S => mc_rvv.S}| 0 > libavcodec/riscv/vvc/{vvc_sad_rvv.S => sad_rvv.S} | 0 > libavco

Re: [FFmpeg-devel] [PATCH 3/3] vp9: recon: Use emulated edge to prevent buffer overflows

2024-12-21 Thread Janne Grunau
On Fri, Dec 20, 2024 at 07:51:08PM +0100, Michael Niedermayer wrote: > Hi Janne > > On Thu, Dec 19, 2024 at 10:12:23PM +0100, Janne Grunau wrote: > > The arm/aarch64 horizontal filter reads one additional pixel beyond what > > the filter uses. This can become an issue if the application does not >