Re: [FFmpeg-devel] [PATCH 10/14] swscale/range_convert: fix mpeg ranges in yuv range conversion for non-8-bit pixel formats

2024-09-29 Thread Andrew Randrianasulu
вс, 29 сент. 2024 г., 14:01 Christophe Gisquet : > Hi, > > Le sam. 28 sept. 2024 à 18:16, Ramiro Polla a > écrit : > > I think you missed that the internal representation (the contents of > > dst) is 15 bits for bit_depth <= 14, and 19 bits for bit_depth > 14. > > It is confusing, but when I say

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/flashsvenc: add compression_level option

2024-09-29 Thread Ramiro Polla
On Mon, Sep 30, 2024 at 12:01 AM James Almer wrote: > On 9/29/2024 3:36 PM, Ramiro Polla wrote: > > This allows setting the compression level used by zlib. > > --- > > libavcodec/flashsvenc.c | 10 -- > > tests/ref/vsynth/vsynth1-flashsv | 2 +- > > tests/ref/vsynth/v

Re: [FFmpeg-devel] [PATCH v2 0/3] [RFC] Exif Overhaul

2024-09-29 Thread James Almer
On 9/16/2024 11:43 AM, Leo Izen wrote: I've made some changes to the last EXIF overhaul patch I sent, notably I fixed up some bugs and added MakerNote parsing, so it should not corrupt MakerNotes that are inside TIFF files. MakerNote is supposed to be a binary blob but many camera manufacturers

Re: [FFmpeg-devel] [PATCH v2 1/3] various: change EXIF metadata into AVFrameSideData

2024-09-29 Thread James Almer
On 9/16/2024 11:43 AM, Leo Izen wrote: This patch centralizes much of the EXIF parsing and handling code for libavcodec, and delegates its own AVFrameSideData type to containing the buffer that holds EXIF metadata. This patch also adds exposes the exif parsing routing so it can be called by ffpro

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/flashsvenc: add compression_level option

2024-09-29 Thread James Almer
On 9/29/2024 3:36 PM, Ramiro Polla wrote: This allows setting the compression level used by zlib. --- libavcodec/flashsvenc.c | 10 -- tests/ref/vsynth/vsynth1-flashsv | 2 +- tests/ref/vsynth/vsynth2-flashsv | 4 ++-- tests/ref/vsynth/vsynth3-flashsv | 2

Re: [FFmpeg-devel] [PATCH 2/2] tests/fate: disable compression for zlib-based codecs

2024-09-29 Thread Ramiro Polla
On Sun, Sep 29, 2024 at 11:01 PM James Almer wrote: > On 9/29/2024 3:07 PM, Ramiro Polla wrote: > > FATE results differ when using the original zlib and zlib-ng. > > > > Since we don't need to test the result from zlib itself, this commit > > disables compression on tests for zlib-based codecs, wh

Re: [FFmpeg-devel] [RFC] Swscale refactor progress and feedback

2024-09-29 Thread Niklas Haas
On Sat, 28 Sep 2024 01:20:58 +0200 Michael Niedermayer wrote: > Hi > > On Fri, Sep 27, 2024 at 04:49:58PM +0200, Niklas Haas wrote: > > Hi all, > > > > After a bit of a hiatus due to delays in negotioting the appropriate > > contracts, I've finally been able to resume work on the swscale refactor

[FFmpeg-devel] [PATCH] web/contact: update broken KiwiIRC URL to Libera's instance

2024-09-29 Thread Marth64
Signed-off-by: Marth64 --- src/contact | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contact b/src/contact index 537ca9d..509936c 100644 --- a/src/contact +++ b/src/contact @@ -104,8 +104,8 @@ IRC network. Both channels are open and unmoderated. Maintainer

[FFmpeg-devel] [PATCH v2 1/2] avcodec/flashsvenc: add compression_level option

2024-09-29 Thread Ramiro Polla
This allows setting the compression level used by zlib. --- libavcodec/flashsvenc.c | 10 -- tests/ref/vsynth/vsynth1-flashsv | 2 +- tests/ref/vsynth/vsynth2-flashsv | 4 ++-- tests/ref/vsynth/vsynth3-flashsv | 2 +- tests/ref/vsynth/vsynth_lena-flashsv | 2 +-

[FFmpeg-devel] [PATCH v2 2/2] tests/fate: disable compression for zlib-based codecs

2024-09-29 Thread Ramiro Polla
FATE results differ when using the original zlib and zlib-ng. Since we don't need to test the result from zlib itself, this commit disables compression on tests for zlib-based codecs, which ends up giving the same results with both libraries. --- tests/fate/cover-art.mak | 6 +--

Re: [FFmpeg-devel] [PATCH 2/2] tests/fate: disable compression for zlib-based codecs

2024-09-29 Thread James Almer
On 9/29/2024 3:07 PM, Ramiro Polla wrote: FATE results differ when using the original zlib and zlib-ng. Since we don't need to test the result from zlib itself, this commit disables compression on tests for zlib-based codecs, which ends up giving the same results with both libraries. --- tests

[FFmpeg-devel] [PATCH 2/2] tests/fate: disable compression for zlib-based codecs

2024-09-29 Thread Ramiro Polla
FATE results differ when using the original zlib and zlib-ng. Since we don't need to test the result from zlib itself, this commit disables compression on tests for zlib-based codecs, which ends up giving the same results with both libraries. --- tests/fate/cover-art.mak | 6 +--

[FFmpeg-devel] [PATCH 1/2] avcodec/flashsvenc: add compression_level option

2024-09-29 Thread Ramiro Polla
This allows setting the compression level used by zlib. --- libavcodec/flashsvenc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c index 5cf0602f5d..f650e517d0 100644 --- a/libavcodec/flashsvenc.c +++ b/libavcodec/fl

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/img2enc: Fix integer truncation when frame_pts is enabled

2024-09-29 Thread Filip Mašić
> > > On Sep 29, 2024, at 08:05, Michael Niedermayer > wrote: > > > > On Tue, Sep 24, 2024 at 12:16:13AM +0800, Zhao Zhili wrote: > >> From: Zhao Zhili > >> > >> --- > >> libavformat/img2enc.c | 8 > >> 1 file changed, 4 insertions(+), 4 deletions(-) > > > > probably ok > > > > thx > > Ap

[FFmpeg-devel] [PATCH] tests/fate/filter-video: don't convert owdenoise test to mpeg range

2024-09-29 Thread Ramiro Polla
--- The new owdenoise-scenwin-jpeg.raw reference file is available at https://0x0.st/XguT.raw tests/fate/filter-video.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 5b8a294afd..0f351ea404 100644 --- a/te

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: update myself for dvdvideo, rcwtdec, rcwtenc

2024-09-29 Thread Michael Niedermayer
On Wed, Sep 25, 2024 at 09:28:42PM -0500, Marth64 wrote: > I plan to look after and test them for the forseeable future. > I am not a committer but do care for these muxers/demuxers. > > Signed-off-by: Marth64 > --- > MAINTAINERS | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) will

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

2024-09-29 Thread Michael Niedermayer
On Sun, Sep 29, 2024 at 12:16:24PM +0200, Lynne via ffmpeg-devel wrote: > On 29/09/2024 02:09, Michael Niedermayer wrote: > > On Tue, Sep 24, 2024 at 05:47:54PM +0200, Michael Niedermayer wrote: > > > On Wed, Aug 14, 2024 at 02:41:55PM +0200, Michael Niedermayer wrote: > > > > Hi all > > > > > > >

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

2024-09-29 Thread Michael Niedermayer
On Tue, Sep 24, 2024 at 05:47:54PM +0200, Michael Niedermayer wrote: > anyone has a suggestion/preferrance for a name ? A quick count shows this: Huffman: Marcus B Spencer Ramanujan: Tristan Matthews Peters: Martin Schitter, Reto Kromer, Gyan Doshi Leavitt: Ingo Oppermann That makes 3 votes for

Re: [FFmpeg-devel] [PATCH v4 1/3] aarch64/vvc: Add w_avg

2024-09-29 Thread Martin Storsjö
On Sun, 29 Sep 2024, Zhao Zhili wrote: From: Zhao Zhili w_avg_8_2x2_c: 0.0 ( 0.00x) w_avg_8_2x2_neon:0.0 ( 0.00x) w_avg_8_4x4_c: 0.2 ( 1.00x) w_avg_8_4x4_neon:

Re: [FFmpeg-devel] [PATCH v2 12/16] swscale/range_convert: fix mpeg ranges in yuv range conversion for non-8-bit pixel formats

2024-09-29 Thread Martin Storsjö
On Sun, 29 Sep 2024, Ramiro Polla wrote: On Sat, Sep 28, 2024 at 11:41 PM Michael Niedermayer wrote: On Fri, Sep 27, 2024 at 02:52:37PM +0200, Ramiro Polla wrote: > There is an issue with the constants used in YUV to YUV range conversion, > where the upper bound is not respected when convertin

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/img2enc: Fix integer truncation when frame_pts is enabled

2024-09-29 Thread Zhao Zhili
> On Sep 29, 2024, at 08:05, Michael Niedermayer wrote: > > On Tue, Sep 24, 2024 at 12:16:13AM +0800, Zhao Zhili wrote: >> From: Zhao Zhili >> >> --- >> libavformat/img2enc.c | 8 >> 1 file changed, 4 insertions(+), 4 deletions(-) > > probably ok > > thx Applied, thanks. > > [..

Re: [FFmpeg-devel] [PATCH v2 12/16] swscale/range_convert: fix mpeg ranges in yuv range conversion for non-8-bit pixel formats

2024-09-29 Thread Ramiro Polla
On Sat, Sep 28, 2024 at 11:41 PM Michael Niedermayer wrote: > On Fri, Sep 27, 2024 at 02:52:37PM +0200, Ramiro Polla wrote: > > There is an issue with the constants used in YUV to YUV range conversion, > > where the upper bound is not respected when converting to mpeg range. > > > > With this comm

[FFmpeg-devel] [PATCH v4 1/3] aarch64/vvc: Add w_avg

2024-09-29 Thread Zhao Zhili
From: Zhao Zhili w_avg_8_2x2_c: 0.0 ( 0.00x) w_avg_8_2x2_neon:0.0 ( 0.00x) w_avg_8_4x4_c: 0.2 ( 1.00x) w_avg_8_4x4_neon:0.0 ( 0.00x)

[FFmpeg-devel] [PATCH v4 3/3] aarch64/vvc: Add dmvr

2024-09-29 Thread Zhao Zhili
From: Zhao Zhili dmvr_8_12x20_c: 1.5 ( 1.00x) dmvr_8_12x20_neon: 0.2 ( 6.56x) dmvr_8_20x12_c: 1.0 ( 1.00x) dmvr_8_20x12_neon: 0.2 ( 4.33x)

[FFmpeg-devel] [PATCH v4 2/3] aarch64/vvc: Add dmvr_hv

2024-09-29 Thread Zhao Zhili
From: Zhao Zhili dmvr_hv_8_12x20_c: 8.0 ( 1.00x) dmvr_hv_8_12x20_neon:1.2 ( 6.62x) dmvr_hv_8_20x12_c: 8.0 ( 1.00x) dmvr_hv_8_20x12_neon:0.9 ( 8.37x)

[FFmpeg-devel] [PATCH 3/3] fate/filter-audio: add missing aresample filter dependency to fate-filter-crazychannels

2024-09-29 Thread James Almer
Signed-off-by: James Almer --- tests/fate/filter-audio.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index eb8582ab31..84478740c7 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -420,

[FFmpeg-devel] [PATCH 2/3] fate/hevc: add missing scale filter dependency to fate-hevc-mv-switch

2024-09-29 Thread James Almer
Signed-off-by: James Almer --- tests/fate/hevc.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak index 7f7ec43902..9e6fd72618 100644 --- a/tests/fate/hevc.mak +++ b/tests/fate/hevc.mak @@ -284,7 +284,7 @@ $(TARGET_SAMPLES)/hevc/mv_nu

[FFmpeg-devel] [PATCH 1/3] fate/vcodec: add missing scale filter dependency to ffv1-2pass10 vsynth tests

2024-09-29 Thread James Almer
Also, add sws_flags matching other similar tests while at it. Signed-off-by: James Almer --- tests/fate/vcodec.mak | 9 + tests/ref/vsynth/vsynth1-ffv1-2pass10 | 8 tests/ref/vsynth/vsynth2-ffv1-2pass10 | 8 tests/ref/vsynth/vsynth3-ffv1-2pas

[FFmpeg-devel] [PATCH v4 0/3] aarch64/vvc add w_avg and dmvr/dmvr_hv

2024-09-29 Thread Zhao Zhili
From: Zhao Zhili v4: 1. Rewords on Apple ABI 2. Remove const on some local variables v3: 1. Remove some const modifier in function prototypes 2. Use 'uaddl' to replace 'uxtl then add' in patch 3/3 Zhao Zhili (3): aarch64/vvc: Add w_avg aarch64/vvc: Add dmvr_hv aarch64/vvc: Add dmvr liba

Re: [FFmpeg-devel] [PATCH] avformat/aeadec, avcodec/atrac1: Fix 8 and 4-channel ATRAC1 support

2024-09-29 Thread asivery via ffmpeg-devel
Pinging the patch. I've merged the fate test case patch into the functionality one, and rebased onto the current master. Here are the two sample files required by the FATE test: https://0x0.st/Xaw2.aea/boxboy333_house_music_multitrack.aea https://0x0.st/Xaw_.pcm/boxboy333_house_music_multitrack.pc

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

2024-09-29 Thread Lynne via ffmpeg-devel
On 29/09/2024 02:09, Michael Niedermayer wrote: On Tue, Sep 24, 2024 at 05:47:54PM +0200, Michael Niedermayer wrote: On Wed, Aug 14, 2024 at 02:41:55PM +0200, Michael Niedermayer wrote: Hi all Are there any upcoming LTS releases that want to/could include FFmpeg 7.1 ? If so please reply here a

[FFmpeg-devel] [PATCH 1/5] vulkan: merge FFVkSPIRVShader and FFVkPipeline into FFVkShader

2024-09-29 Thread Lynne via ffmpeg-devel
Pipelines are just shaders. There's no reason to treat them differently. This also lets us implement shader objects and is an overall cleanup. --- libavfilter/vf_avgblur_vulkan.c | 28 +- libavfilter/vf_blend_vulkan.c | 24 +- libavfilter/vf_bwdif_vulkan.c | 29 +- libavfilter/vf_chro

[FFmpeg-devel] [PATCH 5/5] vulkan: check if current buffer has finished execution before picking another

2024-09-29 Thread Lynne via ffmpeg-devel
This saves resources, as dependencies are freed/reclaimed with a lower latency, and provies a speedup. --- libavcodec/vulkan_decode.c | 4 ++-- libavcodec/vulkan_encode.c | 2 +- libavfilter/vf_nlmeans_vulkan.c | 2 +- libavfilter/vulkan_filter.c | 6 +++--- libavutil/hwcontext_v

[FFmpeg-devel] [PATCH 4/5] vulkan: always enable GL_EXT_scalar_block_layout

2024-09-29 Thread Lynne via ffmpeg-devel
This makes std430 (which we use everywhere already) fully match C layout. Extension was made mandatory in 1.2. --- libavutil/hwcontext_vulkan.c | 1 + libavutil/vulkan.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c inde

[FFmpeg-devel] [PATCH 2/5] vulkan: move shader data execution state to execution pools

2024-09-29 Thread Lynne via ffmpeg-devel
This finally permits using fully compiled shaders across multiple execution contexts. --- libavutil/vulkan.c | 157 + libavutil/vulkan.h | 81 ++- 2 files changed, 153 insertions(+), 85 deletions(-) diff --git a/libavutil/vulkan.c b

[FFmpeg-devel] [PATCH 3/5] vulkan: use shader objects if supported

2024-09-29 Thread Lynne via ffmpeg-devel
Shader objects finally allow completely independent shaders. --- libavutil/vulkan.c | 51 +++--- libavutil/vulkan.h | 5 ++--- 2 files changed, 50 insertions(+), 6 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 71581b91a9..8b1c1eb7

Re: [FFmpeg-devel] [PATCH 10/14] swscale/range_convert: fix mpeg ranges in yuv range conversion for non-8-bit pixel formats

2024-09-29 Thread Christophe Gisquet
Hi, Le sam. 28 sept. 2024 à 18:16, Ramiro Polla a écrit : > I think you missed that the internal representation (the contents of > dst) is 15 bits for bit_depth <= 14, and 19 bits for bit_depth > 14. > It is confusing, but when I say bit depths > 14, I mean input bit > depths > 14, which have an