[FFmpeg-devel] [PATCH] avcodec/vp8: Fix wrong vpx_rac_is_end() check

2022-11-16 Thread Hirokazu Honda
The check of vpx_rac_is_end check(s) are added originally from 1afd246960202917e244c844c534e9c1e3c323f5. It causes a regression of some vp8 stream. b6b9ac5698c8f911841b469af77199153278c55c fixes the regression by a sort of band-aid way. This fixes the wrongness of the original commit. vpx_rac_is_en

[FFmpeg-devel] [PATCH] avcodec/pnm: avoid mirroring PFM images vertically

2022-11-16 Thread Leo Izen
PFM (aka Portable FloatMap) encodes its scanlines from bottom-to-top, not from top-to-bottom, unlike other NetPBM formats. Without this patch, FFmpeg ignores this exception and decodes/encodes PFM images mirrored vertically from their proper orientation. For reference, see the NetPBM tool pfmtopam

Re: [FFmpeg-devel] [PATCH 3/3] avformat/mxfdec: Reduce overflows in essence_length computation

2022-11-16 Thread Tomas Härdin
sön 2022-11-13 klockan 00:44 +0100 skrev Michael Niedermayer: > Fixes: signed integer overflow: -3741319169 - 9223372036823449370 > cannot be represented in type 'long' > Fixes: 51896/clusterfuzz-testcase-minimized-ffmpeg_dem_MXF_fuzzer- > 513039428681728 > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH] avcodec/vp8: Fix wrong vpx_rac_is_end() check

2022-11-16 Thread Ronald S. Bultje
Hi, On Wed, Nov 16, 2022 at 3:44 AM Hirokazu Honda wrote: > The check of vpx_rac_is_end check(s) are added originally from > 1afd246960202917e244c844c534e9c1e3c323f5. It causes a regression > of some vp8 stream. b6b9ac5698c8f911841b469af77199153278c55c fixes > the regression by a sort of band-ai

Re: [FFmpeg-devel] [PATCH] avcodec/vp8: Fix wrong vpx_rac_is_end() check

2022-11-16 Thread Ronald S. Bultje
Hi, On Wed, Nov 16, 2022 at 8:20 AM Ronald S. Bultje wrote: > On Wed, Nov 16, 2022 at 3:44 AM Hirokazu Honda wrote: > >> @@ -2471,7 +2472,7 @@ static av_always_inline int >> decode_mb_row_no_filter(AVCodecContext *avctx, void >> prefetch_motion(s, mb, mb_x, mb_y, mb_xy, VP8_FRAME_PREVI

Re: [FFmpeg-devel] [PATCH] Makefile: Build complete doc with Doxygen

2022-11-16 Thread Marvin Scholz
On 24 Sep 2022, at 23:09, Marvin Scholz wrote: > Add DISABLEDINSTHEADERS, a variable containing the headers of disabled > libraries. This is needed so that Doxygen does not generate incomplete > documentation when a component is disabled, which is quite unexpected > behaviour and results in warnin

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/apac: reset buffer on error

2022-11-16 Thread Paul B Mahol
On 11/17/22, Michael Niedermayer wrote: > Fixes: repeatly parsing the same data after each 1 byte packet > Fixes: Timeout > Fixes: > 51943/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APAC_fuzzer-5779018251370496 > LGTM > Found-by: continuous fuzzing process > https://github.com/google/oss-

Re: [FFmpeg-devel] [Internet][PATCH 00/12] Add MediaCodec encoder and NDK MediaCodec support

2022-11-16 Thread zhilizhao(赵志立)
On Nov 11, 2022, at 11:36, zhilizhao(赵志立) wrote: > > Ping for review. I’m planning to push this week if no more comments. > >> On Oct 24, 2022, at 11:16, Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> Firstly, some bugs were fixed (patch 1-4). >> >> Patch 5 and 6 make mediacodec_wrapper s

[FFmpeg-devel] [PATCH v2] Changelog: Add missing lines for QSV

2022-11-16 Thread Xiang, Haihao
From: Haihao Xiang Signed-off-by: Haihao Xiang --- Changelog | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Changelog b/Changelog index 166aa8b5e7..806eed7d12 100644 --- a/Changelog +++ b/Changelog @@ -20,6 +20,9 @@ version : - ViewQuest VQC decoder - backgroundkey filter - nvenc AV1

[FFmpeg-devel] [PATCH] lavu/pixfmt: Update the description for AV_PIX_FMT_QSV

2022-11-16 Thread Xiang, Haihao
From: Haihao Xiang Since D3D11 was introduced for QSV in FFmpeg 5.0, there is an implied API/ABI change for user-supplied frames [1], hence update the description for AV_PIX_FMT_QSV. [1] https://ffmpeg.org/pipermail/ffmpeg-devel/2021-December/290444.html Signed-off-by: Haihao Xiang --- libavu

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: Disable MFX_GOP_STRICT when encode adpative gop

2022-11-16 Thread Xiang, Haihao
On Wed, 2022-11-16 at 10:13 +0800, wenbin.chen-at-intel@ffmpeg.org wrote: > From: Wenbin Chen > > b_strategy, p_strategy, adaptive_i and adaptive_b cannot work with > MFX_GOP_STRICT, so disable MFX_GOP_STRICT when these features are used. > > Signed-off-by: Wenbin Chen > --- > libavcodec/q

Re: [FFmpeg-devel] [PATCH] doc/examples: Add qsv_transcode example

2022-11-16 Thread Xiang, Haihao
On Mon, 2022-10-31 at 15:22 +0800, wenbin.chen-at-intel@ffmpeg.org wrote: > From: Wenbin Chen > > Add qsv_transcode example which shows how to use qsv to do hardware > accelerated transcoding, also show how to dynamically set encoding > parameters. > > examples: > Normal usage: > qsv_transco

Re: [FFmpeg-devel] [PATCH 1/3] avformat/electronicarts: fix EOF check

2022-11-16 Thread Peter Ross
On Sun, Nov 13, 2022 at 07:44:39PM +0100, Marton Balint wrote: > Similar to feof(), avio_feof() is only true after an actual overread. > > Signed-off-by: Marton Balint > --- > libavformat/electronicarts.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/elect

Re: [FFmpeg-devel] [PATCH 2/3] avformat/electronicarts: set packet_read in one place

2022-11-16 Thread Peter Ross
On Sun, Nov 13, 2022 at 07:44:40PM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavformat/electronicarts.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c > index 0a0d6249e8..0532264f

Re: [FFmpeg-devel] [PATCH 3/3] avformat/electronicarts: add option to return alpha channel in the main video stream in VP6A codec

2022-11-16 Thread Peter Ross
On Mon, Nov 14, 2022 at 11:05:44PM +0100, Marton Balint wrote: > > > On Mon, 14 Nov 2022, Anton Khirnov wrote: > > > Quoting Marton Balint (2022-11-13 19:44:41) > > > Signed-off-by: Marton Balint > > > --- > > > doc/demuxers.texi| 18 > > > libavformat/electronicar