Re: [FFmpeg-devel] [PATCH] avformat/matroska: Support HDR10+ metadata in Matroska.

2022-09-06 Thread Michael Niedermayer
On Tue, Sep 06, 2022 at 09:47:04PM +, Mohammad Izadi wrote: > The fate test file can be found here: > https://drive.google.com/file/d/1jGW3f94rglLfr5WGmMQe3SEnp1YkbMRy/view?usp=drivesdk > The video file needs to be copied to fate-suite/mkv/ > --- > libavcodec/dynamic_hdr10_plus.c

Re: [FFmpeg-devel] [PATCH v2 2/2] fate/mxf: add JPEG 2000 test

2022-09-06 Thread Pierre-Anthony Lemieux
On Tue, Sep 6, 2022 at 2:33 PM Andreas Rheinhardt wrote: > > Pierre-Anthony Lemieux: > > On Tue, Sep 6, 2022 at 2:24 PM Andreas Rheinhardt > > wrote: > >> > >> p...@sandflow.com: > >>> From: Pierre-Anthony Lemieux > >>> > >>> --- > >>> tests/fate/mxf.mak | 4 ++ > >>>

[FFmpeg-devel] [PATCH v3 2/2] fate/mxf: add JPEG 2000 test

2022-09-06 Thread pal
From: Pierre-Anthony Lemieux --- tests/fate/mxf.mak | 4 ++ tests/ref/fate/mxf-probe-j2k | 78 2 files changed, 82 insertions(+) create mode 100644 tests/ref/fate/mxf-probe-j2k diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak index

[FFmpeg-devel] [PATCH v3 1/2] avformat/mxf: set stream frame rates for ST 422 essence containers

2022-09-06 Thread pal
From: Pierre-Anthony Lemieux The MXF demuxer does not currently set AVStream::avg_frame_rate and ::r_frame_rate when J2K essence is wrapped according to SMPTE ST 422. --- libavformat/mxfdec.c | 25 + 1 file changed, 25 insertions(+) diff --git a/libavformat/mxfdec.c

[FFmpeg-devel] [PATCH] avformat/matroska: Support HDR10+ metadata in Matroska.

2022-09-06 Thread Mohammad Izadi
The fate test file can be found here: https://drive.google.com/file/d/1jGW3f94rglLfr5WGmMQe3SEnp1YkbMRy/view?usp=drivesdk The video file needs to be copied to fate-suite/mkv/ --- libavcodec/dynamic_hdr10_plus.c | 269 +--- libavcodec/dynamic_hdr10_plus.h |

Re: [FFmpeg-devel] [PATCH v2 2/2] fate/mxf: add JPEG 2000 test

2022-09-06 Thread Andreas Rheinhardt
Pierre-Anthony Lemieux: > On Tue, Sep 6, 2022 at 2:24 PM Andreas Rheinhardt > wrote: >> >> p...@sandflow.com: >>> From: Pierre-Anthony Lemieux >>> >>> --- >>> tests/fate/mxf.mak | 4 ++ >>> tests/ref/fate/mxf-probe-j2k | 78 >>> 2 files changed,

Re: [FFmpeg-devel] [PATCH v2 2/2] fate/mxf: add JPEG 2000 test

2022-09-06 Thread Pierre-Anthony Lemieux
On Tue, Sep 6, 2022 at 2:24 PM Andreas Rheinhardt wrote: > > p...@sandflow.com: > > From: Pierre-Anthony Lemieux > > > > --- > > tests/fate/mxf.mak | 4 ++ > > tests/ref/fate/mxf-probe-j2k | 78 > > 2 files changed, 82 insertions(+) > > create

Re: [FFmpeg-devel] [PATCH v2 2/2] fate/mxf: add JPEG 2000 test

2022-09-06 Thread Andreas Rheinhardt
p...@sandflow.com: > From: Pierre-Anthony Lemieux > > --- > tests/fate/mxf.mak | 4 ++ > tests/ref/fate/mxf-probe-j2k | 78 > 2 files changed, 82 insertions(+) > create mode 100644 tests/ref/fate/mxf-probe-j2k > > diff --git a/tests/fate/mxf.mak

Re: [FFmpeg-devel] [PATCH] slicethread: Limit the automatic number of threads to 16

2022-09-06 Thread Andreas Rheinhardt
Lukas Fellechner: >> Gesendet: Montag, 05. September 2022 um 21:58 Uhr >> Von: "Martin Storsjö" >> An: ffmpeg-devel@ffmpeg.org >> Betreff: Re: [FFmpeg-devel] [PATCH] slicethread: Limit the automatic number >> of threads to 16 >> On Mon, 5 Sep 2022, Martin Storsjö wrote: >> >>> This matches a

Re: [FFmpeg-devel] [PATCH] slicethread: Limit the automatic number of threads to 16

2022-09-06 Thread Martin Storsjö
On Tue, 6 Sep 2022, Lukas Fellechner wrote: There are really two separate issues here: 1. Running out of address space in 32-bit processes It probably makes sense to limit auto threads to 16, but it should only be done in 32-bit processes. FWIW, this was my first approach, until Andreas

Re: [FFmpeg-devel] [PATCH] slicethread: Limit the automatic number of threads to 16

2022-09-06 Thread Lukas Fellechner
>Gesendet: Montag, 05. September 2022 um 21:58 Uhr >Von: "Martin Storsjö" >An: ffmpeg-devel@ffmpeg.org >Betreff: Re: [FFmpeg-devel] [PATCH] slicethread: Limit the automatic number of >threads to 16 >On Mon, 5 Sep 2022, Martin Storsjö wrote: > >> This matches a similar cap on the number of

[FFmpeg-devel] [PATCH 05/12] lavu/riscv: float vector-vector multiplication with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/float_dsp_init.c | 9 - libavutil/riscv/float_dsp_rvv.S | 34 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/libavutil/riscv/float_dsp_init.c b/libavutil/riscv/float_dsp_init.c index

[FFmpeg-devel] [PATCH 12/12] lavu/riscv: fixed vector sum-and-difference with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/fixed_dsp.c| 4 +++- libavutil/fixed_dsp.h| 1 + libavutil/riscv/Makefile | 2 ++ libavutil/riscv/fixed_dsp_init.c | 33 +++ libavutil/riscv/fixed_dsp_rvv.S | 38

[FFmpeg-devel] [PATCH 04/12] lavu/riscv: float vector-scalar multiplication with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont This is based on existing code from the VLC git tree with two minor changes to account for the different function prototypes. --- libavutil/float_dsp.c| 2 ++ libavutil/float_dsp.h| 1 + libavutil/riscv/Makefile | 4 ++-

[FFmpeg-devel] [PATCH 11/12] lavu/riscv: float vector dot product with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/float_dsp_init.c | 2 ++ libavutil/riscv/float_dsp_rvv.S | 21 + 2 files changed, 23 insertions(+) diff --git a/libavutil/riscv/float_dsp_init.c b/libavutil/riscv/float_dsp_init.c index 887706d899..7c2fc10e99 100644 ---

[FFmpeg-devel] [PATCH 10/12] lavu/riscv: float vector windowed overlap/add with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/float_dsp_init.c | 3 +++ libavutil/riscv/float_dsp_rvv.S | 35 2 files changed, 38 insertions(+) diff --git a/libavutil/riscv/float_dsp_init.c b/libavutil/riscv/float_dsp_init.c index 1183460181..887706d899

[FFmpeg-devel] [PATCH 09/12] lavu/riscv: float reversed vector multiplication with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/float_dsp_init.c | 3 +++ libavutil/riscv/float_dsp_rvv.S | 22 ++ 2 files changed, 25 insertions(+) diff --git a/libavutil/riscv/float_dsp_init.c b/libavutil/riscv/float_dsp_init.c index 2165394585..1183460181 100644 ---

[FFmpeg-devel] [PATCH 08/12] lavu/riscv: float vector sum-and-difference with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/float_dsp_init.c | 2 ++ libavutil/riscv/float_dsp_rvv.S | 18 ++ 2 files changed, 20 insertions(+) diff --git a/libavutil/riscv/float_dsp_init.c b/libavutil/riscv/float_dsp_init.c index 8539fe9ac5..2165394585 100644 ---

[FFmpeg-devel] [PATCH 03/12] lavu/riscv: initial common header for assembler macros

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/asm.S | 74 +++ 1 file changed, 74 insertions(+) create mode 100644 libavutil/riscv/asm.S diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S new file mode 100644 index 00..7623c161cf ---

[FFmpeg-devel] [PATCH 06/12] lavu/riscv: float vector multiply-accumulate with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/float_dsp_init.c | 6 + libavutil/riscv/float_dsp_rvv.S | 38 2 files changed, 44 insertions(+) diff --git a/libavutil/riscv/float_dsp_init.c b/libavutil/riscv/float_dsp_init.c index 4135284c76..a1bb112ec7

[FFmpeg-devel] [PATCH 07/12] lavu/riscv: float vector multiplication-addition with RVV

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- libavutil/riscv/float_dsp_init.c | 3 +++ libavutil/riscv/float_dsp_rvv.S | 19 +++ 2 files changed, 22 insertions(+) diff --git a/libavutil/riscv/float_dsp_init.c b/libavutil/riscv/float_dsp_init.c index a1bb112ec7..8539fe9ac5 100644 ---

[FFmpeg-devel] [PATCH 02/12] checkasm: register the RISC-V V subsets

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- tests/checkasm/checkasm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index e56fd3850e..a5d0503811 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -226,6 +226,11 @@ static

[FFmpeg-devel] [PATCH 01/12] lavu/riscv: add CPU flags for the RISC-V Vector extension

2022-09-06 Thread remi
From: Rémi Denis-Courmont RVV defines a total of 12 different extensions, including: - 5 different instruction subsets: - Zve32x: 8-, 16- and 32-bit integers, - Zve32f: Zve32x plus single precision floats, - Zve64x: Zve32x plus 64-bit integers, - Zve64f: Zve32f plus Zve64x, - Zve64d:

[FFmpeg-devel] [PATCHv3 0/12] RISC-V Vector functions for lavu float DSP

2022-09-06 Thread Rémi Denis-Courmont
The following changes since commit d9e3cb7e73c77ccddc4d29ed5c1be3920f72c226: avfilter/vf_scale: overwrite the width and height expressions with the original values (2022-09-06 10:10:42 -0300) are available in the Git repository at: git.remlab.net:git/ffmpeg.git rvv for you to fetch

Re: [FFmpeg-devel] [PATCH 5/5] lavu/riscv: add optimisations

2022-09-06 Thread Rémi Denis-Courmont
Sorry, git-send-email boo boo. Scratch this one message. -- レミ・デニ-クールモン http://www.remlab.net/ ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

[FFmpeg-devel] [PATCH 5/5] lavu/riscv: add optimisations

2022-09-06 Thread remi
From: Rémi Denis-Courmont This provides some micro-optimisations for signed integer clipping, and support for bit weight with the Zbb extension. --- libavutil/intmath.h | 5 +- libavutil/riscv/intmath.h | 103 ++ 2 files changed, 106 insertions(+), 2

[FFmpeg-devel] [PATCH 5/5] lavu/riscv: add optimisations

2022-09-06 Thread remi
From: Rémi Denis-Courmont This provides some micro-optimisations for signed integer clipping, and support for bit weight with the Zbb extension. --- libavutil/intmath.h | 5 +- libavutil/riscv/intmath.h | 99 +++ 2 files changed, 102 insertions(+), 2

[FFmpeg-devel] [PATCH 4/5] lavu/riscv: byte-swap operations

2022-09-06 Thread remi
From: Rémi Denis-Courmont If the target supports the Basic bit-manipulation (Zbb) extension, then the REV8 instruction is available to reverse byte order. Note that this instruction only exists at the "XLEN" register size, so we need to right shift the result down to the data width. If Zbb is

[FFmpeg-devel] [PATCH 3/5] configure/riscv: detect fast CLZ

2022-09-06 Thread remi
From: Rémi Denis-Courmont RISC-V defines the CLZ instruction as part of the ratified Zbb subset of the (not yet ratified) bit mapulation extension (B). We can detect it from the __riscv_zbb predefined constant. At least GCC 12 already supports this correctly. Note that the macro will be

[FFmpeg-devel] [PATCH 2/5] lavu/riscv: AV_READ_TIME cycle counter

2022-09-06 Thread remi
From: Rémi Denis-Courmont This uses the architected RISC-V 64-bit cycle counter from the RISC-V unprivileged instruction set. In 64-bit and 128-bit, this is a straightforward CSR read. In 32-bit mode, the 64-bit value is exposed as two CSRs, which cannot be read atomically, so a loop is

[FFmpeg-devel] [PATCH 1/5] doc: reference the RISC-V specification

2022-09-06 Thread remi
From: Rémi Denis-Courmont --- doc/optimization.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/optimization.txt b/doc/optimization.txt index 974e2f9af2..3ed29fe38c 100644 --- a/doc/optimization.txt +++ b/doc/optimization.txt @@ -267,6 +267,11 @@ CELL/SPU:

[FFmpeg-devel] [PATCHv2 0/5] RISC-V scalar and Zbb support

2022-09-06 Thread Rémi Denis-Courmont
The following changes since commit d9e3cb7e73c77ccddc4d29ed5c1be3920f72c226: avfilter/vf_scale: overwrite the width and height expressions with the original values (2022-09-06 10:10:42 -0300) are available in the Git repository at: https://git.remlab.net/git/ffmpeg.git for you to fetch

Re: [FFmpeg-devel] [PATCH v2] x86/tx_float: Fix building for platforms with a symbol prefix

2022-09-06 Thread Henrik Gramner
LGTM. ___ 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 1/2] x86/tx_float: add support for calling assembly functions from assembly

2022-09-06 Thread Mattias Wadman
On Tue, Sep 6, 2022 at 3:45 PM Martin Storsjö wrote: > On Tue, 6 Sep 2022, Mattias Wadman wrote: > > > On Sat, Sep 3, 2022 at 3:41 AM Lynne wrote: > > > >> Needed for the next patch. > >> We get this for the extremely small cost of a branch on _ns functions, > >> which wouldn't be used anyway

Re: [FFmpeg-devel] [PATCH 1/2] x86/tx_float: add support for calling assembly functions from assembly

2022-09-06 Thread Martin Storsjö
On Tue, 6 Sep 2022, Mattias Wadman wrote: On Sat, Sep 3, 2022 at 3:41 AM Lynne wrote: Needed for the next patch. We get this for the extremely small cost of a branch on _ns functions, which wouldn't be used anyway with assembly. Patch attached. Hi, I have issues building on macOS

[FFmpeg-devel] [PATCH v2] x86/tx_float: Fix building for platforms with a symbol prefix

2022-09-06 Thread Martin Storsjö
This fixes building for x86 macOS (both i386 and x86_64) and i386 windows. --- v2: Add mangle() in a couple more places, that weren't noticed on i386 windows. --- libavutil/x86/tx_float.asm | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavutil/x86/tx_float.asm

Re: [FFmpeg-devel] [PATCH 1/2] x86/tx_float: add support for calling assembly functions from assembly

2022-09-06 Thread Mattias Wadman
On Sat, Sep 3, 2022 at 3:41 AM Lynne wrote: > Needed for the next patch. > We get this for the extremely small cost of a branch on _ns functions, > which wouldn't be used anyway with assembly. > > Patch attached. > Hi, I have issues building on macOS (12.5.1) with this patch. Maybe I'm missing

Re: [FFmpeg-devel] [PATCH v3] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI

2022-09-06 Thread Henrik Gramner
On Tue, Aug 23, 2022 at 10:43 AM wrote: > +.loop1: > +pxor m4, m4 > +pxor m5, m5 > + > +;Gx > +SOBEL_MUL_16 0, data_n1, 4 > +SOBEL_MUL_16 1, data_n2, 4 > +SOBEL_MUL_16 2, data_n1, 4 > +SOBEL_ADD_16 6, 4 > +SOBEL_MUL_16 7, data_p2, 4 > +SOBEL_ADD_16 8, 4 > + >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_scale: overwrite the width and eight expressions with the original values

2022-09-06 Thread James Almer
On 9/4/2022 11:55 PM, James Almer wrote: Instead of the potentially adjusted ones. Otherwise, if config_props() is called again and if using force_original_aspect_ratio, the already adjusted values could be altered again. Example command line

[FFmpeg-devel] [PATCH v12 9/9] avcodec/evc: Changes in Changelog and MAINTAINERS files

2022-09-06 Thread Dawid Kozinski
- Changelog update - MAINTAINERS update Signed-off-by: Dawid Kozinski --- Changelog | 3 ++- MAINTAINERS | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index f34e8e5d42..f60d014f2f 100644 --- a/Changelog +++ b/Changelog @@ -38,6 +38,8 @@ version

[FFmpeg-devel] [PATCH v12 8/9] avformat/mov_demuxer: Extended MOV demuxer to handle EVC video content

2022-09-06 Thread Dawid Kozinski
- Added evc extension to the list of extensions for ff_mov_demuxer Signed-off-by: Dawid Kozinski --- libavformat/demux.c | 1 + libavformat/mov.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index 1620716716..05d5f343ae

Re: [FFmpeg-devel] [PATCH v2 2/2] fate/mxf: add JPEG 2000 test

2022-09-06 Thread Tomas Härdin
mån 2022-09-05 klockan 11:29 -0700 skrev p...@sandflow.com: > From: Pierre-Anthony Lemieux > > --- >  tests/fate/mxf.mak   |  4 ++ >  tests/ref/fate/mxf-probe-j2k | 78 > >  2 files changed, 82 insertions(+) >  create mode 100644

[FFmpeg-devel] [PATCH v12 7/9] avformat/mov_muxer: Extended MOV muxer to handle EVC video content

2022-09-06 Thread Dawid Kozinski
- Changes in mov_write_video_tag function to handle EVC elementary stream - Provided structure EVCDecoderConfigurationRecord that specifies the decoder configuration information for ISO/IEC 23094-1 video content Signed-off-by: Dawid Kozinski --- libavformat/Makefile| 2 +-

[FFmpeg-devel] [PATCH v12 6/9] avcodec/evc_decoder: Provided support for EVC decoder

2022-09-06 Thread Dawid Kozinski
- Added EVC decoder wrapper - Changes in project configuration file and libavcodec Makefile - Added documentation for xevd wrapper Signed-off-by: Dawid Kozinski --- configure | 4 + doc/decoders.texi | 24 +++ doc/general_contents.texi | 10 +- libavcodec/Makefile

[FFmpeg-devel] [PATCH v12 5/9] avcodec/evc_encoder: Provided support for EVC encoder

2022-09-06 Thread Dawid Kozinski
- Added EVC encoder wrapper - Changes in project configuration file and libavcodec Makefile - Added documentation for xeve wrapper Signed-off-by: Dawid Kozinski --- configure | 4 + doc/encoders.texi | 69 + doc/general_contents.texi | 11 + libavcodec/Makefile

[FFmpeg-devel] [PATCH v12 4/9] avformat/evc_demuxer: Added demuxer to handle reading EVC video files

2022-09-06 Thread Dawid Kozinski
- Provided AVInputFormat structure describing EVC input format (ff_evc_demuxer) Signed-off-by: Dawid Kozinski --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/evcdec.c | 124 +++ 3 files changed, 126 insertions(+)

[FFmpeg-devel] [PATCH v12 3/9] avformat/evc_muxer: Added muxer to handle writing EVC encoded data into file or output bytestream

2022-09-06 Thread Dawid Kozinski
- Provided AVOutputFormat structure describing EVC output format (ff_evc_muxer) - Added documentation for EVC muxer Signed-off-by: Dawid Kozinski --- doc/muxers.texi | 6 ++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rawenc.c | 13

[FFmpeg-devel] [PATCH v12 2/9] avcodec/evc_parser: Added parser implementaion for EVC format

2022-09-06 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavcodec/Makefile | 1 + libavcodec/evc.h| 155 + libavcodec/evc_parser.c | 725 libavcodec/parsers.c| 1 + 4 files changed, 882 insertions(+) create mode 100644 libavcodec/evc.h create

[FFmpeg-devel] [PATCH v12 1/9] avcodec/evc: MPEG-5 EVC codec registration

2022-09-06 Thread Dawid Kozinski
Added prerequisites that must be met before providing support for the MPEG-5 EVC codec - Added new entry to codec IDs list - Added new entry to the codec descriptor list - Bumped libavcodec minor version - Added profiles for EVC codec Signed-off-by: Dawid Kozinski --- libavcodec/avcodec.h|

Re: [FFmpeg-devel] [PATCH v2] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-09-06 Thread Shiyou Yin
> 2022年8月18日 20:29,Shiyou Yin 写道: > > > >> 2022年8月18日 19:44,戚铁铮 mailto:qitiezh...@360.cn>> 写道: >> >> >> At 2022/8/18 PM 7:01, "Qi Tiezheng" > > wrote: >> >>> The latest commit of Loongson MMI macro replaces were incorrect. >>> It makes a mass of green tints on

Re: [FFmpeg-devel] [PATCH 1/8] fftools/ffprobe: Report initial and trailing padding

2022-09-06 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2022-09-05 00:52:23) >> Andreas Rheinhardt: >>> Signed-off-by: Andreas Rheinhardt >>> --- >>> trailing_padding seems to be unused and could actually be deprecated. >>> >> >> Will apply this patchset tomorrow unless there are objections. Notice >> that

[FFmpeg-devel] [PATCH] x86/tx_float: Fix building for platforms with a symbol prefix

2022-09-06 Thread Martin Storsjö
This fixes building for e.g. i386 windows. --- libavutil/x86/tx_float.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm index 1b9131e7fa..ace19788a6 100644 --- a/libavutil/x86/tx_float.asm +++

[FFmpeg-devel] [PATCH v2 7/7] libavcodec/qsvenc: Add low_delay_brc reset support to qsvenc

2022-09-06 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 4 libavcodec/qsvenc.c | 23 ++- libavcodec/qsvenc.h | 2 ++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 850e3c261c..453150f3e7 100644 ---

[FFmpeg-devel] [PATCH v2 6/7] libavcodec/qsvenc: Add max/min qp reset support in qsvenc

2022-09-06 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 11 +++ libavcodec/qsvenc.c | 78 + libavcodec/qsvenc.h | 9 ++ 3 files changed, 98 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index da56159858..850e3c261c 100644 ---

[FFmpeg-devel] [PATCH v2 5/7] libavcodec/qsvenc: Add intra refresh reset support to qsvenc

2022-09-06 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 7 +++ libavcodec/qsvenc.c | 33 + libavcodec/qsvenc.h | 5 + 3 files changed, 45 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index d5d695d39c..da56159858 100644 ---

[FFmpeg-devel] [PATCH v2 4/7] libavcodec/qsvenc: Add "slice" intra refresh type to qsvenc

2022-09-06 Thread Wenbin Chen
Add "slice" intra refresh type to h264_qsv and hevc_qsv. This type means horizontal refresh by slices without overlapping. Also update the doc. Signed-off-by: Wenbin Chen --- doc/encoders.texi| 12 libavcodec/qsvenc_h264.c | 1 + libavcodec/qsvenc_hevc.c | 1 + 3 files

[FFmpeg-devel] [PATCH v2 3/7] libavcodec/qsvenc: Add gop_size reset support to qsvenc

2022-09-06 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 3 +++ libavcodec/qsvenc.c | 16 libavcodec/qsvenc.h | 2 ++ 3 files changed, 21 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index aadb6ab9fd..bc1a4dae38 100644 --- a/doc/encoders.texi +++

[FFmpeg-devel] [PATCH v2 2/7] libavcodec/qsvenc: Add max_frame_size reset support to qsv

2022-09-06 Thread Wenbin Chen
Signed-off-by: Wenbin Chen --- doc/encoders.texi | 4 libavcodec/qsvenc.c | 20 libavcodec/qsvenc.h | 2 ++ 3 files changed, 26 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index d36464d629..aadb6ab9fd 100644 --- a/doc/encoders.texi +++

[FFmpeg-devel] [PATCH v2 1/7] libavcodec/qsvenc: skip parameter resetting on mjpeg_qsv

2022-09-06 Thread Wenbin Chen
mjpeg_qsv don't support dynamic resetting, so skip it. Signed-off-by: Wenbin Chen --- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 7ac5390f10..842cfb845e 100644 --- a/libavcodec/qsvenc.c +++

Re: [FFmpeg-devel] [PATCH 2/6] libavcodec/qsvenc: Add gop_size reset support to qsvenc

2022-09-06 Thread Chen, Wenbin
> On Thu, 2022-08-18 at 14:59 +0800, Wenbin Chen wrote: > > Signed-off-by: Wenbin Chen > > --- > > doc/encoders.texi | 3 +++ > > libavcodec/qsvenc.c | 18 +- > > libavcodec/qsvenc.h | 2 ++ > > 3 files changed, 22 insertions(+), 1 deletion(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH v1 3/3] swscale/la: Add output_lasx.c file.

2022-09-06 Thread Shiyou Yin
> 2022年8月29日 20:30,Andreas Rheinhardt 写道: > > Hao Chen: >> ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 >> -pix_fmt >> rgb24 -y /dev/null -an >> before: 150fps >> after: 183fps >> >> Signed-off-by: Hao Chen >> --- >> libswscale/loongarch/Makefile |

Re: [FFmpeg-devel] [PATCH v2 1/3] swscale/la: Optimize hscale functions with lasx.

2022-09-06 Thread Hao Chen
在 2022/9/3 下午8:31, Andreas Rheinhardt 写道: Hao Chen: ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c

Re: [FFmpeg-devel] [PATCH] speexdec fix

2022-09-06 Thread Anton Khirnov
Quoting Paul B Mahol (2022-09-06 10:03:51) > On Tue, Sep 6, 2022 at 9:57 AM Anton Khirnov wrote: > > Quoting Paul B Mahol (2022-09-03 18:24:51) > > > -return buf_size; > > > +return (get_bits_count(>gb) + 7) >> 3; > > > > Doesn't this need AV_CODEC_CAP_SUBFRAMES? > > > > Dunno,

Re: [FFmpeg-devel] [PATCH] speexdec fix

2022-09-06 Thread Paul B Mahol
On Tue, Sep 6, 2022 at 9:57 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2022-09-03 18:24:51) > > Patch attached. > > > > From 6a90e5d582ba2fc3a08fb08fb1b5f3f38d315b3f Mon Sep 17 00:00:00 2001 > > From: Paul B Mahol > > Date: Sat, 3 Sep 2022 18:17:23 +0200 > > Subject: [PATCH]

Re: [FFmpeg-devel] [PATCH] speexdec fix

2022-09-06 Thread Anton Khirnov
Quoting Paul B Mahol (2022-09-03 18:24:51) > Patch attached. > > From 6a90e5d582ba2fc3a08fb08fb1b5f3f38d315b3f Mon Sep 17 00:00:00 2001 > From: Paul B Mahol > Date: Sat, 3 Sep 2022 18:17:23 +0200 > Subject: [PATCH] avcodec/speexdec: improve support for speex in non-ogg > > Signed-off-by: Paul B

Re: [FFmpeg-devel] [PATCH 1/8] fftools/ffprobe: Report initial and trailing padding

2022-09-06 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2022-09-05 00:52:23) > Andreas Rheinhardt: > > Signed-off-by: Andreas Rheinhardt > > --- > > trailing_padding seems to be unused and could actually be deprecated. > > > > Will apply this patchset tomorrow unless there are objections. Notice > that I really like to

Re: [FFmpeg-devel] [PATCH v3] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI

2022-09-06 Thread Wang, Bin
-Original Message- From: Wang, Bin Sent: Tuesday, August 23, 2022 4:23 PM To: ffmpeg-devel@ffmpeg.org Cc: Wang, Bin Subject: [FFmpeg-devel] [PATCH v3] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI From: bwang30 This commit enabled

Re: [FFmpeg-devel] [PATCH v3] fftools/ffplay: fix rotation incorrect when frame contains the displaymatrix

2022-09-06 Thread Zhao Zhili
On Mon, 2022-09-05 at 18:40 +0800, 1035567...@qq.com wrote: > From: Wang Yaqiang > > For example, if the jpeg contains exif information > and the rotation direction is included in the exif, > the displaymatrix will be set on the side_data of the frame when > decoding. > However, when ffplay is