Re: [FFmpeg-devel] [PATCH v2 1/2] checkasm/rv40dsp: cover more cases

2024-12-04 Thread flow gg
Hi, the original issue I encountered was that FATE failed on RISC-V because the assembly code didn't handle `rv40_bias` correctly. I submitted a new patch: "checkasm/rv40dsp: cover more cases for rv40_bias" to test this situation. The value of `src` was indeed just copied from `h264_chroma_mc`. M

[FFmpeg-devel] [PATCH] avcodec/jpeg2000: Fix undefined behaviour in left shift operations

2024-12-04 Thread Osamu Watanabe
This patch fixes undefined behaviour error in left shift operations in jpeg2000dec.c and jpeg2000htdec.c. Signed-off-by: Osamu Watanabe --- libavcodec/jpeg2000dec.c | 6 +++--- libavcodec/jpeg2000htdec.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/jpeg

[FFmpeg-devel] [PATCH v2] avcodec/jpeg2000: Fix undefined behaviour in left shift operations

2024-12-04 Thread Osamu Watanabe
This patch fixes undefined behaviour error in left shift operations in jpeg2000dec.c, jpeg2000htdec.c, and libavcodec/tests/jpeg2000dwt.c. Signed-off-by: Osamu Watanabe --- libavcodec/jpeg2000dec.c | 6 +++--- libavcodec/jpeg2000htdec.c | 6 +++--- libavcodec/tests/jpeg2000dwt.c | 2 +-

Re: [FFmpeg-devel] [PATCH] avcodec/jpeg2000: Fix undefined behaviour in left shift operations

2024-12-04 Thread WATANABE Osamu
Sorry, this is a mistake. Please ignore this. > On Dec 5, 2024, at 15:37, WATANABE Osamu > wrote: > > This patch fixes undefined behaviour error in left shift > operations in jpeg2000dec.c and jpeg2000htdec.c. > > Signed-off-by: Osamu Watanabe > --- > libavcodec/jpeg2000dec.c | 6 +++--- > l

Re: [FFmpeg-devel] [PATCH v2 1/2] checkasm/rv40dsp: cover more cases

2024-12-04 Thread Christophe Gisquet
Hello, Le mer. 4 déc. 2024 à 10:14, a écrit : > @@ -27,7 +27,7 @@ > #define randomize_buffers() \ > do { \ > for (int i = 0; i < 16*18*2; i++)\ > -src[i] = rnd() & 0x3;\ > +src[i] = rnd() &

[FFmpeg-devel] [PATCH 2/2] lavc/rv40dsp: fix RISC-V chroma_mc

2024-12-04 Thread uk7b-at-foxmail . com
From: sunyuechi --- libavcodec/riscv/rv40dsp_rvv.S | 116 ++--- 1 file changed, 78 insertions(+), 38 deletions(-) diff --git a/libavcodec/riscv/rv40dsp_rvv.S b/libavcodec/riscv/rv40dsp_rvv.S index ca431eb8ab..d4beb7f1e9 100644 --- a/libavcodec/riscv/rv40dsp_rvv.S +++

Re: [FFmpeg-devel] [PATCH 1/2] checkasm/rv40dsp: cover more cases for rv40_bias

2024-12-04 Thread flow gg
Update here because there's no need to change it to 0xFF. 于2024年12月5日周四 12:31写道: > From: sunyuechi > > --- > tests/checkasm/rv40dsp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/checkasm/rv40dsp.c b/tests/checkasm/rv40dsp.c > index a1a873d430..0600b07d09

Re: [FFmpeg-devel] [PATCH 2/2] lavc/rv40dsp: fix RISC-V chroma_mc

2024-12-04 Thread flow gg
The message was sent twice; please ignore this one. 于2024年12月5日周四 12:29写道: > From: sunyuechi > > --- > libavcodec/riscv/rv40dsp_rvv.S | 116 ++--- > 1 file changed, 78 insertions(+), 38 deletions(-) > > diff --git a/libavcodec/riscv/rv40dsp_rvv.S > b/libavcodec/risc

[FFmpeg-devel] [PATCH 1/2] checkasm/rv40dsp: cover more cases for rv40_bias

2024-12-04 Thread uk7b-at-foxmail . com
From: sunyuechi --- tests/checkasm/rv40dsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/rv40dsp.c b/tests/checkasm/rv40dsp.c index a1a873d430..0600b07d09 100644 --- a/tests/checkasm/rv40dsp.c +++ b/tests/checkasm/rv40dsp.c @@ -47,8 +47,8 @@ static void

[FFmpeg-devel] [PATCH] avformat/movenc: log stream index for invalid pkt duration

2024-12-04 Thread Gyan Doshi
--- libavformat/movenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 010d2afa13..9cc977f413 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6500,15 +6500,15 @@ static int check_pkt(AVFormatContext *s,

[FFmpeg-devel] [PATCH] avfiltergraph: display more info when auto-insert filter

2024-12-04 Thread Shiqi Zhu
--- libavfilter/avfiltergraph.c | 64 + 1 file changed, 64 insertions(+) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index c6472876bf..24d8201f9c 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -437,6 +43

Re: [FFmpeg-devel] [PATCH v3 00/03] fix broken CC detection and ffprobe fields (cover letter)

2024-12-04 Thread Marth64
v5 fixes obvious leak. Use v5: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20241205032625.2371068-1-mart...@proxyid.net/ Sorry for the noise, I missed this. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/

[FFmpeg-devel] [PATCH v5 2/2] doc/ffprobe: document -analyze_frames

2024-12-04 Thread Marth64
Signed-off-by: Marth64 --- doc/ffprobe.texi | 13 + 1 file changed, 13 insertions(+) diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 6333249a6e..ceedc8793b 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -351,6 +351,19 @@ while other writers always print them. This opt

[FFmpeg-devel] [PATCH v5 1/2] fftools/ffprobe: add analyze_frames option for CC and grain detection

2024-12-04 Thread Marth64
Currently, ffprobe has two stream-level fields that do not work, closed_captions and film_grain). Their value is always 0 because ffprobe cannot access the internal codec properties when it is setting up its stream contexts. In this commit, add the new option -analyze_frames to ffprobe, allowing

[FFmpeg-devel] [PATCH] avfiltergraph: display more info when auto-insert filter

2024-12-04 Thread zhushiqshi
--- libavfilter/avfiltergraph.c | 64 + 1 file changed, 64 insertions(+) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index c6472876bf..24d8201f9c 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -437,6 +43

Re: [FFmpeg-devel] [PATCH v3 00/03] fix broken CC detection and ffprobe fields (cover letter)

2024-12-04 Thread Marth64
See v4: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=13465 ___ 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

[FFmpeg-devel] [PATCH v4 2/2] doc/ffprobe: document -analyze_frames

2024-12-04 Thread Marth64
Signed-off-by: Marth64 --- doc/ffprobe.texi | 13 + 1 file changed, 13 insertions(+) diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 6333249a6e..ceedc8793b 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -351,6 +351,19 @@ while other writers always print them. This opt

Re: [FFmpeg-devel] [PATCH v3 1/2] fftools/ffprobe: add analyze_frames option for CC and grain detection

2024-12-04 Thread Marth64
Sorry, please see v4 (incoming). Screwed up the commit message and screwed up on an else if. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-re

[FFmpeg-devel] [PATCH v4 1/2] fftools/ffprobe: add analyze_frames option for CC and grain detection

2024-12-04 Thread Marth64
Currently, ffprobe has two stream-level fields that do not work, closed_captions and film_grain. Their value is always 0 because ffprobe cannot access the internal codec properties when it is setting up its stream contexts. In this commit, add the new option -analyze_frames to ffprobe, allowing t

[FFmpeg-devel] [PATCH v3 2/2] doc/ffprobe: document -analyze_frames

2024-12-04 Thread Marth64
Signed-off-by: Marth64 --- doc/ffprobe.texi | 13 + 1 file changed, 13 insertions(+) diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 6333249a6e..ceedc8793b 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -351,6 +351,19 @@ while other writers always print them. This opt

[FFmpeg-devel] [PATCH v3 1/2] fftools/ffprobe: add analyze_frames option for CC and grain detection

2024-12-04 Thread Marth64
Currently, ffprobe has two stream-level fields that do not work, closed_captions and film_grain). Their value is always 0 because ffprobe cannot access the internal codec properties when it is setting up its stream contexts. In this commit, add the new option -analyze_frames to ffprobe, allowing

[FFmpeg-devel] [PATCH v3 00/03] fix broken CC detection and ffprobe fields (cover letter)

2024-12-04 Thread Marth64
As it stands today, ffprobe has two stream-level fields (closed_captions and film_grain) that do not work. Their value is always 0 because ffprobe cannot access the internal codec properties in the stream context when it is setting up its internal streams. This patchset aims to fix the issue by ad

[FFmpeg-devel] [PATCH 2/2] configure: add leaddec blockdsp dependency

2024-12-04 Thread Peter Ross
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 8168fed6b8..bf55ba67fa 100755 --- a/configure +++ b/configure @@ -3004,7 +3004,7 @@ ipu_decoder_select="mpegvideodec" jpegls_decoder_select="mjpeg_decoder" jv_decoder_select="blockdsp"

[FFmpeg-devel] [PATCH 1/2] avcodec/leaddec: support format 0x6

2024-12-04 Thread Peter Ross
Fixes ticket #10657. --- libavcodec/leaddec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/leaddec.c b/libavcodec/leaddec.c index 2f5152c226..88387902ca 100644 --- a/libavcodec/leaddec.c +++ b/libavcodec/leaddec.c @@ -157,6 +157,7 @@ static int lead_decode_frame(AVCodecContext *a

Re: [FFmpeg-devel] [PATCH v2 00/11] fix broken CC detection and ffprobe fields (cover letter)

2024-12-04 Thread Marth64
Update: will send a patch with the modifying ffprobe approach soon. It was pretty straightforward and less invasive than the v1 or v2 patchsets. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To uns

Re: [FFmpeg-devel] [PATCH v2 00/11] fix broken CC detection and ffprobe fields (cover letter)

2024-12-04 Thread Marth64
(This could work because the presence of EIA608 is exposed in the side data which is already available to ffprobe). Also apologies, meant for -analyzeduration meant to be a time value in the hypothetical example. ___ ffmpeg-devel mailing list ffmpeg-deve

Re: [FFmpeg-devel] [PATCH v2 00/11] fix broken CC detection and ffprobe fields (cover letter)

2024-12-04 Thread Marth64
Hi Marton, > But how many frames do you intend to decode to make sure that you detect > closed captions reliably? Because as far as I understand we basically rely > on avformat_find_stream_info() to encounter a frame with closed captions. > So detection is based on the completeness of AVCodecParam

Re: [FFmpeg-devel] [PATCH] avfilter/af_ashowinfo: fix scaling factor of replaygain peak values

2024-12-04 Thread Leo Izen
On 12/4/24 3:26 PM, Kacper Michajłow wrote: Fixes: 8542f9c4f17125d483c40c0c5723842f1c982f81 Signed-off-by: Kacper Michajłow --- libavfilter/af_ashowinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_ashowinfo.c b/libavfilter/af_ashowinfo.c index b83847b8

Re: [FFmpeg-devel] [PATCH 0/7] RFC: complete rework of s337m support

2024-12-04 Thread Kieran Kunhya via ffmpeg-devel
> - a s337m decoder: it includes a resampler: output and input sample_rate > are the same, sync is always correct. It would be possible to implement > a full pcm fallback, but currently only a silence/pcm fallback is > provided. A 'passthrough' option is also provided and would make it > possible t

Re: [FFmpeg-devel] [RFC] infrastructure documentation

2024-12-04 Thread Kieran Kunhya via ffmpeg-devel
Hi Michael, Are you able to document the differences between source.ffmpeg.org and git.ffmpeg.org? Why does one resolve to telepoint and one to VideoLAN? What is the purpose of having two CNAMEs? https://git.ffmpeg.org currently goes to a 403 Forbidden "You don't have permission to access this re

[FFmpeg-devel] [PATCH] avfilter/af_ashowinfo: fix scaling factor of replaygain peak values

2024-12-04 Thread Kacper Michajłow
Fixes: 8542f9c4f17125d483c40c0c5723842f1c982f81 Signed-off-by: Kacper Michajłow --- libavfilter/af_ashowinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_ashowinfo.c b/libavfilter/af_ashowinfo.c index b83847b866..de94d4c7c2 100644 --- a/libavfilter/af_ashow

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-12-04 Thread James Almer
On 11/28/2024 11:32 AM, Anton Khirnov wrote: Hi all, the current Community Committee (CC) was elected on 2023-12-05 and its mandate lasts for one year, so we should hold a new election soon. If there are no unforeseen circumstances, I would like to start the vote on Monday 2024-12-09. As a remin

[FFmpeg-devel] [PATCH 7/7] fate: add s337m decode and demux tests

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier Signed-off-by: Nicolas Gaullier --- tests/fate/audio.mak | 10 tests/fate/demux.mak | 15 - tests/ref/fate/s337m-demux-mxf| 56 +++ .../ref/fate/{s337m-demux => s337m-demux-raw} |

[FFmpeg-devel] [PATCH 6/7] avformat: add s337m support in mpegts, wav and mxf stereo tracks

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier Signed-off-by: Nicolas Gaullier --- libavformat/demux.c | 2 ++ libavformat/mxfdec.c | 9 +++-- libavformat/wavdec.c | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index cba1f2e4df..d26d207a46 100644

[FFmpeg-devel] [PATCH 5/7] avformat/mpegts: add s337m support

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier Move s302m decoder from avcodec to avformat. Set AVSTREAM_PARSE_FULL for s337m support. Signed-off-by: Nicolas Gaullier --- libavformat/mpegts.c | 138 +- tests/fate/acodec.mak | 3 +- 2 files changed, 139 insertions(+), 2 delet

[FFmpeg-devel] [PATCH 4/7] fate/acodec: add 20/24bit s302m tests

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier Prepare for s302m decoder re-implementation in mpegts. Signed-off-by: Nicolas Gaullier --- tests/fate/acodec.mak| 15 ++- tests/ref/acodec/s302m | 4 tests/ref/acodec/s302m-16bit | 4 tests/ref/acodec/s302m-20bit | 4 tests/ref

[FFmpeg-devel] [PATCH 3/7] avformat/s337m: switch to two rawdec for 16- and 24-bit

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier Add support for variable or unknown 'offset': - phase change or jitter - Dolby E D2 Fix sync in several cases: - Dolby E integer rounded sample_rate - Missing frames (replaced by silence) Signed-off-by: Nicolas Gaullier --- libavformat/Makefile | 3 +- libavform

[FFmpeg-devel] [PATCH 2/7] avformat/spdif, s337m: use shared code from avcodec

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier --- libavformat/Makefile | 6 +++--- libavformat/s337m.c| 3 ++- libavformat/spdif.c| 42 -- libavformat/spdif.h| 1 - libavformat/spdifdec.c | 3 ++- libavformat/spdifenc.c | 3 ++- 6 files changed, 9 insertions(+

[FFmpeg-devel] [PATCH 1/7] avcodec: add s337m parser and decoder

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier Signed-off-by: Nicolas Gaullier --- configure| 2 + libavcodec/Makefile | 4 + libavcodec/allcodecs.c | 2 + libavcodec/codec_desc.c | 14 + libavcodec/codec_id.h

[FFmpeg-devel] [PATCH 0/7] RFC: complete rework of s337m support

2024-12-04 Thread ffnicolasg
From: Nicolas Gaullier I would like to have some feedback on this work before going on... I send this as an RFC, and so, I have not considered versioning, changelog, doc, deprecation schemes. More testing and testing by other people is also obviously required. The fate samples are available here

[FFmpeg-devel] x265 alpha bounty

2024-12-04 Thread MediaStream
Greetings! Looking for a few days' effort from a willing developer to add x265 alpha channel feature to FFmpeg please, similar to videotoolbox HEVC and VPX. https://trac.ffmpeg.org/ticket/11331 Thank you, Dennis. _

Re: [FFmpeg-devel] [PATCH 0/2] Animated JPEG XL Encoder

2024-12-04 Thread Leo Izen
On 12/4/24 9:59 AM, Leo Izen wrote: Changes since v1: - modified fate tests to use jpegxl_anim codec ID, so the fate tests don't fail after applying patch 2/2 Leo Izen (2): avcodec/libjxlenc: add animated JPEG XL encoder avformat/jpegxl_anim_dec: use new animated JPEG XL codec ID config

[FFmpeg-devel] [PATCH v2 7/8] avfilter/vf_colorspace: strip color volume metadata

2024-12-04 Thread Niklas Haas
From: Niklas Haas --- libavfilter/vf_colorspace.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c index 62055aa1bf..ea0d470bd7 100644 --- a/libavfilter/vf_colorspace.c +++ b/libavfilter/vf_colorspace.c @@ -25,6 +25,7 @@ #inclu

[FFmpeg-devel] [PATCH 2/2] avformat/jpegxl_anim_dec: use new animated JPEG XL codec ID

2024-12-04 Thread Leo Izen
A new codec ID has been added to avcodec for animated JPEG XL, so we should use that in the animated JPEG XL demuxer. Signed-off-by: Leo Izen --- libavformat/jpegxl_anim_dec.c| 2 +- tests/ref/fate/jxl-anim-demux-icos4d | 2 +- tests/ref/fate/jxl-anim-demux-newton | 2 +- 3 files changed

[FFmpeg-devel] [PATCH 1/2] avcodec/libjxlenc: add animated JPEG XL encoder

2024-12-04 Thread Leo Izen
libjxl supports animated encoding, so we add a wrapper to the library using the receive_packet callback method. This code was based largely on a patch sent by Zsolt Vadász, although it was updated to use more recent coding practices and many of the leaks and issues were fixed. Co-authored-by: Zso

[FFmpeg-devel] [PATCH 0/2] Animated JPEG XL Encoder

2024-12-04 Thread Leo Izen
Changes since v1: - modified fate tests to use jpegxl_anim codec ID, so the fate tests don't fail after applying patch 2/2 Leo Izen (2): avcodec/libjxlenc: add animated JPEG XL encoder avformat/jpegxl_anim_dec: use new animated JPEG XL codec ID configure| 2 + l

[FFmpeg-devel] [PATCH v2 8/8] avfilter/vf_lut*: strip color volume metadata

2024-12-04 Thread Niklas Haas
From: Niklas Haas These filters, in general, will apply some arbitrary color volume transformation. Strip corresponding metadata to be conservative/safe. --- libavfilter/vf_lut.c | 2 ++ libavfilter/vf_lut2.c | 1 + libavfilter/vf_lut3d.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a

[FFmpeg-devel] [PATCH v2 3/8] avutil/frame: add av_frame_remove_side_data_by_props()

2024-12-04 Thread Niklas Haas
From: Niklas Haas As discussed in the previous commit, we often need a convenient way of stripping all side data related to a certain aspect of the frame. This helper accomplishes just that. I considered also adding a way to match only side data matching *all* properties, but I think this is suf

[FFmpeg-devel] [PATCH v2 6/8] avfilter/vf_libplacebo: update metadata stripping logic

2024-12-04 Thread Niklas Haas
From: Niklas Haas Switches to av_frame_remove_side_data_by_props(), covering a number of cases that we previously ignored. Additionally, stop stripping metadata when merely changing colorspace or color range, since these do not affect the actual color volume of the image data, only the encoding.

[FFmpeg-devel] [PATCH v2 4/8] avfilter/vf_scale*: strip metadata on size change

2024-12-04 Thread Niklas Haas
From: Niklas Haas --- libavfilter/vf_scale.c| 2 ++ libavfilter/vf_scale_cuda.c | 3 +++ libavfilter/vf_scale_npp.c| 3 +++ libavfilter/vf_scale_vaapi.c | 3 +++ libavfilter/vf_scale_vt.c | 2 ++ libavfilter/vf_scale_vulkan.c | 3 +++ 6 files changed, 16 insertions(+) diff --

[FFmpeg-devel] [PATCH v2 5/8] avfilter/vf_zscale: strip metadata on change

2024-12-04 Thread Niklas Haas
From: Niklas Haas Required for both size changes and color volume changes (as a result of changing primaries/transfer). --- libavfilter/vf_zscale.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index e456053b4e..fdf94

[FFmpeg-devel] [PATCH v2 2/8] avutil/frame: add AV_SIDE_DATA_PROP_{SIZE, COLOR}_DEPENDENT

2024-12-04 Thread Niklas Haas
From: Niklas Haas Many filters modify certain aspects of frame data, e.g. through resizing (vf_*scale* family), color volume mapping (vf_lut*, vf_tonemap*), or possibly others. When this happens, we should strip all frame side data that will no longer be correct/relevant after the operation. For

[FFmpeg-devel] [PATCH v2 1/8] avutil/frame: add AVSideDataDescriptor for AV_FRAME_DATA_VIDEO_HINT

2024-12-04 Thread Niklas Haas
From: Niklas Haas This entry was seemingly missing. --- libavutil/frame.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/frame.c b/libavutil/frame.c index 5fb47dbaa6..3020845ef8 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -58,6 +58,7 @@ static const AVSideDataDescrip

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: rename MediaCodecH264DecContext to MediaCodecContext

2024-12-04 Thread Zhao Zhili
> On Dec 4, 2024, at 20:45, luckysk wrote: > > We support multiple video and audio formats, not just H264 LGTM. > --- > libavcodec/mediacodecdec.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec

[FFmpeg-devel] [PATCH] avcodec/mediacodecenc: Check fifo write result and simplify fifo operation

2024-12-04 Thread Zhao Zhili
From: Zhao Zhili --- libavcodec/mediacodecenc.c | 105 - 1 file changed, 58 insertions(+), 47 deletions(-) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index 62bd7b4fda..464903d628 100644 --- a/libavcodec/mediacodecenc.c +++ b/libavcod

[FFmpeg-devel] [PATCH v2] fate: Add a target for listing failed tests

2024-12-04 Thread Martin Storsjö
If running tests with "make -j fate", the execution will stop after the first failing test. To get an overview of the whole test suite, one rather would run "make -k -j fate", which then again buries the results about what tests actually failed further up in the console log. Add a target so one ca

Re: [FFmpeg-devel] [PATCH] fate: Add a target for listing failed tests

2024-12-04 Thread Martin Storsjö
On Sun, 1 Dec 2024, Alexander Strasser via ffmpeg-devel wrote: Looks good and useful to me. Thanks! Just a few ideas follow: diff --git a/doc/build_system.txt b/doc/build_system.txt index 0b1b0c2054..91c7a5e9af 100644 --- a/doc/build_system.txt +++ b/doc/build_system.txt @@ -30,6 +30,12 @@

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mediacodecenc: add async mode support

2024-12-04 Thread Zhao Zhili
> On Nov 27, 2024, at 14:37, Anton Khirnov wrote: > > Quoting Zhao Zhili (2024-11-06 13:31:34) >> @@ -78,6 +80,17 @@ typedef struct MediaCodecEncContext { >> int extract_extradata; >> // Ref. MediaFormat KEY_OPERATING_RATE >> int operating_rate; >> +int async_mode; >> + >> +

Re: [FFmpeg-devel] [FFmpeg-cvslog] tests/checkasm: Add partial support for wasm

2024-12-04 Thread Martin Storsjö
On Wed, 4 Dec 2024, Zhao Zhili wrote: On Dec 4, 2024, at 17:56, Martin Storsjö wrote: On Wed, 4 Dec 2024, Zhao Zhili wrote: ffmpeg | branch: master | Zhao Zhili | Wed Nov 20 20:45:35 2024 +0800| [ea3d21c349db5bbfee7840857de81e4b2fc757fa] | committer: Zhao Zhili tests/checkasm: Add par

Re: [FFmpeg-devel] [PATCH] tests/checkasm: Simplify logic for WASI signal handling

2024-12-04 Thread Martin Storsjö
On Wed, 4 Dec 2024, Zhao Zhili wrote: From: Zhao Zhili --- tests/checkasm/checkasm.c | 10 ++ tests/checkasm/checkasm.h | 13 +++-- 2 files changed, 5 insertions(+), 18 deletions(-) Ok, thanks. // Martin ___ ffmpeg-devel mailing lis

[FFmpeg-devel] [PATCH] avcodec/mediacodecdec: rename MediaCodecH264DecContext to MediaCodecContext

2024-12-04 Thread luckysk
We support multiple video and audio formats, not just H264 --- libavcodec/mediacodecdec.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 4937828f21..e096a7e0a0 100644 --- a/libavcodec/mediacodecde

Re: [FFmpeg-devel] [FFmpeg-cvslog] tests/checkasm: Add partial support for wasm

2024-12-04 Thread Zhao Zhili
> On Dec 4, 2024, at 17:56, Martin Storsjö wrote: > > On Wed, 4 Dec 2024, Zhao Zhili wrote: > >> ffmpeg | branch: master | Zhao Zhili | Wed Nov 20 >> 20:45:35 2024 +0800| [ea3d21c349db5bbfee7840857de81e4b2fc757fa] | committer: >> Zhao Zhili >> >> tests/checkasm: Add partial support for was

[FFmpeg-devel] [PATCH v2 2/2] lavc/rv40dsp: fix RISC-V chroma_mc

2024-12-04 Thread uk7b-at-foxmail . com
From: sunyuechi --- libavcodec/riscv/rv40dsp_rvv.S | 116 ++--- 1 file changed, 78 insertions(+), 38 deletions(-) diff --git a/libavcodec/riscv/rv40dsp_rvv.S b/libavcodec/riscv/rv40dsp_rvv.S index ca431eb8ab..d4beb7f1e9 100644 --- a/libavcodec/riscv/rv40dsp_rvv.S +++

[FFmpeg-devel] [PATCH] tests/checkasm: Simplify logic for WASI signal handling

2024-12-04 Thread Zhao Zhili
From: Zhao Zhili --- tests/checkasm/checkasm.c | 10 ++ tests/checkasm/checkasm.h | 13 +++-- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index 544e3ee9ba..b00c3c2a9f 100644 --- a/tests/checkasm/checkasm.c

Re: [FFmpeg-devel] [FFmpeg-cvslog] tests/checkasm: Add partial support for wasm

2024-12-04 Thread Martin Storsjö
On Wed, 4 Dec 2024, Zhao Zhili wrote: ffmpeg | branch: master | Zhao Zhili | Wed Nov 20 20:45:35 2024 +0800| [ea3d21c349db5bbfee7840857de81e4b2fc757fa] | committer: Zhao Zhili tests/checkasm: Add partial support for wasm WASI mssing signal and siglongjmp support. This patch workaround build

Re: [FFmpeg-devel] [PATCH v2 1/6] avutil/csp: fix documentation of av_csp_trc_function

2024-12-04 Thread Niklas Haas
On Sat, 30 Nov 2024 15:23:46 +0100 Niklas Haas wrote: > From: Niklas Haas > > This explanation was inaccurate and highly misleading. The new wording is > taken > more or less directly from ITU-T H.273, and also matches my understanding of > these functions. > --- > libavutil/csp.h | 8 ++--

Re: [FFmpeg-devel] [PATCH v2 2/6] avutil/csp: eliminate redundant branch

2024-12-04 Thread Niklas Haas
On Sun, 01 Dec 2024 09:24:17 -0500 Leo Izen wrote: > > > On 11/30/24 9:23 AM, Niklas Haas wrote: > > From: Niklas Haas > > > > --- > > libavutil/csp.c | 6 +- > > 1 file changed, 1 insertion(+), 5 deletions(-) > > > > diff --git a/libavutil/csp.c b/libavutil/csp.c > > index 7ef822c60b..3dd

[FFmpeg-devel] [PATCH] tests/swscale: fix sscanf return value check

2024-12-04 Thread Niklas Haas
From: Niklas Haas We only parse 12 values, so this check always failed. Regression caused by a change to the print format. Fixes: 59c39a79cafdcb46972380aac5644f84059cd2a8 Signed-off-by: Niklas Haas Sponsored-by: Sovereign Tech Fund --- libswscale/tests/swscale.c | 2 +- 1 file changed, 1 inser

[FFmpeg-devel] [PATCH v2 1/2] checkasm/rv40dsp: cover more cases

2024-12-04 Thread uk7b-at-foxmail . com
From: sunyuechi --- tests/checkasm/rv40dsp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/checkasm/rv40dsp.c b/tests/checkasm/rv40dsp.c index a1a873d430..8d2252116c 100644 --- a/tests/checkasm/rv40dsp.c +++ b/tests/checkasm/rv40dsp.c @@ -27,7 +27,7 @@ #define