[FFmpeg-devel] [PATCH 1/4] lavc/vp9dsp: R-V V mc bilin h v

2024-08-03 Thread uk7b
From: sunyuechi C908 X60 vp9_avg_bilin_4h_8bpp_c:5.54.7 vp9_avg_bilin_4h_8bpp_rvv_i32 :1.71.5 vp9_avg_bilin_4v_8bpp_c:5.54.7 vp9_avg_bilin_4v

[FFmpeg-devel] [PATCH 3/4] lavc/vp9dsp: R-V V mc tap h v

2024-08-03 Thread uk7b
From: sunyuechi C908 X60 vp9_avg_8tap_smooth_4h_8bpp_c : 12.7 11.2 vp9_avg_8tap_smooth_4h_8bpp_rvv_i32:4.74.2 vp9_avg_8tap_smooth_4v_8bpp_c : 29.7 12.5 vp9_avg_8tap_smo

[FFmpeg-devel] [PATCH 2/4] lavc/vp9dsp: R-V V mc bilin hv

2024-08-03 Thread uk7b
From: sunyuechi C908 X60 vp9_avg_bilin_4hv_8bpp_c : 10.79.5 vp9_avg_bilin_4hv_8bpp_rvv_i32 :4.03.5 vp9_avg_bilin_8hv_8bpp_c : 38.5 34.2 vp9_avg_bilin_8h

[FFmpeg-devel] [PATCH 4/4] lavc/vp9dsp: R-V V mc tap hv

2024-08-03 Thread uk7b
From: sunyuechi C908 X60 vp9_avg_8tap_smooth_4hv_8bpp_c : 32.0 28.0 vp9_avg_8tap_smooth_4hv_8bpp_rvv_i32 : 15.0 13.2 vp9_avg_8tap_smooth_8hv_8bpp_c : 98.0 86.2 vp9_avg_8tap_smo

Re: [FFmpeg-devel] [PATCH 1/4] lavc/vp9dsp: R-V V mc bilin h v

2024-08-03 Thread flow gg
> Looks OK, but missing CFI landing pads. Added lpad. 于2024年8月3日周六 17:51写道: > From: sunyuechi > > C908 X60 > vp9_avg_bilin_4h_8bpp_c:5.54.7 > vp9_avg_bilin_4h_8bpp_rvv_i32 :1.7

[FFmpeg-devel] [PATCH] lavc/vvc_mc: R-V V avg w_avg

2024-08-03 Thread uk7b
From: sunyuechi C908 X60 avg_8_2x2_c:1.21.0 avg_8_2x2_rvv_i32 :0.70.7 avg_8_2x4_c:2.02.2 avg_8_2x4_rvv_i3

Re: [FFmpeg-devel] [PATCH] lavc/vvc_mc: R-V V avg w_avg

2024-08-03 Thread flow gg
Added lpad and resolved conflicts with master. 于2024年8月3日周六 18:31写道: > From: sunyuechi > > C908 X60 > avg_8_2x2_c:1.21.0 > avg_8_2x2_rvv_i32 :0.70.7 >

Re: [FFmpeg-devel] [PATCH] avutil/frame: use the maximum compile time supported alignment for strides

2024-08-03 Thread James Almer
On 8/3/2024 3:34 AM, Rémi Denis-Courmont wrote: Le keskiviikkona 31. heinäkuuta 2024, 15.55.23 EEST James Almer a écrit : This puts lavu frame buffer allocator helpers in sync with lavc's decoder frame buffer allocator's STRIDE_ALIGN define. STRIDE_ALIGN can go down to 16 or even 8 bytes thoug

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_h265: don't attempt to read 0 length elements in sei_3d_reference_displays_info

2024-08-03 Thread James Almer
On 8/1/2024 1:18 PM, James Almer wrote: Fixes: 70458/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5259339779080192 Fixes: Assertion width > 0 && width <= 32 failed at libavcodec/cbs.c:608 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/proj

Re: [FFmpeg-devel] [PATCH 21/22] avcodec/libsvtav1: raise strictness of missing DV error

2024-08-03 Thread Andreas Rheinhardt
Niklas Haas: > From: Niklas Haas > > While this is technically a spec violation, the result is still > decodable (and will look perfectly fine to clients ignoring Dolby Vision > metadata). It will also only happen in garbage in, garbage out scenarios. > --- > libavcodec/libsvtav1.c | 4 ++-- > 1

[FFmpeg-devel] [PATCH] avformat/movenc: use stream indexes when generating track ids

2024-08-03 Thread James Almer
In some scenarios nb_tracks isn't the same as nb_streams, so a given id may end up being used for two separate streams. e.g. when muxing an IAMF track followed by a video track, if the IAMF track consists of several streams, the video track would end up having an id of 2, which may also be used by

[FFmpeg-devel] [PATCH v7 1/3] avcodec/jpeg2000dec: Add support for CAP and CPF markers

2024-08-03 Thread Osamu Watanabe
This commit adds support for CAP and CPF markers. Decoding will exit when encountering Ilegal input codestreams. The variable `Jpeg2000DecoderContext->HT_MAGB` has been changed to `HT_B` according to the definition in the spec (ISO/IEC 15444-15). Signed-off-by: Osamu Watanabe --- libavcodec/j

[FFmpeg-devel] [PATCH v7 2/3] avcodec/jpeg2000dec: Add support for placeholder passes

2024-08-03 Thread Osamu Watanabe
This commit adds support for placeholder pass parsing. Signed-off-by: Osamu Watanabe --- libavcodec/jpeg2000.h | 2 + libavcodec/jpeg2000dec.c | 352 + libavcodec/jpeg2000htdec.c | 90 +- 3 files changed, 326 insertions(+), 118 deletions(-)

[FFmpeg-devel] [PATCH v7 3/3] avcodec/jpeg2000dec: Fix HT decoding

2024-08-03 Thread Osamu Watanabe
This commit fixes wrong treatment of MAGBP value in Ccap15 and bugs in HT block decoding. Signed-off-by: Osamu Watanabe --- libavcodec/jpeg2000dec.c | 11 +-- libavcodec/jpeg2000htdec.c | 136 ++--- libavcodec/jpeg2000htdec.h | 2 +- 3 files changed, 89 inse