Re: [FFmpeg-devel] [PATCH v5 1/2] configure, lavu, lavc, lavfi: Remove libva 1.x support

2024-06-11 Thread Xiang, Haihao
On Wo, 2024-06-05 at 21:13 +0100, Mark Thompson wrote: > libva 2.0 was released in 2017 and the 2.x versions are included in all > supported distributions nowadays.  Various features no longer need any > configure check after this change, including all codecs except AV1. > Note that the libva versi

Re: [FFmpeg-devel] [PATCH] configure: detect 64-bit generic platforms

2024-06-11 Thread Rémi Denis-Courmont
Le keskiviikkona 12. kesäkuuta 2024, 0.37.12 EEST Sean McGovern a écrit : > +1 for this. Let's get it in first before AVR32 & Alpha removal. AVR32 is not 64-bit; there are no deps one way or the other between the patches. -- 雷米‧德尼-库尔蒙 http://www.remlab.net/ __

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

2024-06-11 Thread Rémi Denis-Courmont
Le tiistaina 11. kesäkuuta 2024, 13.30.28 EEST Andreas Rheinhardt a écrit : > > +static void h263_dct_unquantize_intra_c(int16_t *block, size_t nCoeffs, > > +int qmul, int qadd) > > +{ > > +if (nCoeffs > 0) > > Great, a branch. Okay so you want sarcasms

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

2024-06-11 Thread Andreas Rheinhardt
Rémi Denis-Courmont: > Le tiistaina 11. kesäkuuta 2024, 13.30.28 EEST Andreas Rheinhardt a écrit : >>> +static void h263_dct_unquantize_intra_c(int16_t *block, size_t nCoeffs, >>> +int qmul, int qadd) >>> +{ >>> +if (nCoeffs > 0) >> >> Great, a branch. >

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

2024-06-11 Thread Rémi Denis-Courmont
--- 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/checkasm/h263dsp.c +++ b/tests/checkasm/h263dsp.c @@ -18,13

[FFmpeg-devel] [PATCH 2/4] lavc/mpegvideo: use H263DSP dequant function

2024-06-11 Thread Rémi Denis-Courmont
--- configure | 4 ++-- libavcodec/mpegvideo.c | 46 +++--- 2 files changed, 14 insertions(+), 36 deletions(-) diff --git a/configure b/configure index 6baa9b0646..eb9d1b1f5d 100755 --- a/configure +++ b/configure @@ -2957,8 +2957,8 @@ ftr_decoder

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

2024-06-11 Thread Rémi Denis-Courmont
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 instructions in C and one in assembler (at the cost of t

[FFmpeg-devel] [PATCH 4/4] lavc/h263dsp: R-V V dct_unquantize_{intra, inter}

2024-06-11 Thread Rémi Denis-Courmont
T-Head C908: h263dsp.dct_unquantize_inter_c: 3.7 h263dsp.dct_unquantize_inter_rvv_i32: 1.7 h263dsp.dct_unquantize_intra_c: 4.0 h263dsp.dct_unquantize_intra_rvv_i32: 2.0 SpacemiT X60: h263dsp.dct_unquantize_inter_c: 3.5 h263dsp.dct_unquantize_inter_rvv_i32: 1.5 h263dsp.dct_unquant

<    1   2