Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux_init: avoid invalid reads in forced keyframe parsing

2023-03-11 Thread Anton Khirnov
Quoting Zhao Zhili (2023-03-10 15:44:56) > > > From: ffmpeg-devel On Behalf Of Anton > > Khirnov > > Sent: 2023年3月10日 21:46 > > To: ffmpeg-devel@ffmpeg.org > > Subject: [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux_init: avoid invalid > > reads in forced keyframe parsing > > > > Fixes #10243 > > -

Re: [FFmpeg-devel] [PATCH 1/6] lavc/decode: stop mangling last_pkt_props->opaque

2023-03-11 Thread Anton Khirnov
pushed to master and 6.0 -- Anton Khirnov ___ 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".

[FFmpeg-devel] [PATCH v2 6/6] lavu/frame: deprecate AVFrame.pkt_{pos, size}

2023-03-11 Thread Anton Khirnov
These fields are supposed to store information about the packet the frame was decoded from, specifically the byte offset it was stored at and its size. However, - the fields are highly ad-hoc - there is no strong reason why specifically those (and not any other) packet properties should have a

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux_init: avoid invalid reads in forced keyframe parsing

2023-03-11 Thread Zhao Zhili
> -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: 2023年3月11日 18:37 > To: 'FFmpeg development discussions and patches' > Subject: Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux_init: avoid invalid > reads in forced keyframe parsing > > Quoting Zhao Zhili (2

Re: [FFmpeg-devel] [PATCH 3/3] avfilter: add avx2 filter_line function for bwdif

2023-03-11 Thread Thomas Mundt
Hi James, Am Mo., 20. Feb. 2023 um 20:59 Uhr schrieb James Darnley : > 2.24x faster (1925±1.3 vs. 859±2.2 decicycles) compared with ssse3 > --- > libavfilter/x86/vf_bwdif.asm| 29 - > libavfilter/x86/vf_bwdif_init.c | 12 > 2 files changed, 36 inserti

Re: [FFmpeg-devel] [PATCH 2/3] checkasm: add test for bwdif

2023-03-11 Thread Thomas Mundt
Hi James, Am Mo., 20. Feb. 2023 um 20:59 Uhr schrieb James Darnley : > --- > tests/checkasm/Makefile | 1 + > tests/checkasm/checkasm.c | 3 ++ > tests/checkasm/checkasm.h | 1 + > tests/checkasm/vf_bwdif.c | 70 +++ > tests/fate/checkasm.mak | 1 + >

[FFmpeg-devel] [PATCH] tests/fate: add simple tests for libx264 and libx265

2023-03-11 Thread Anton Khirnov
Since these are external encoders not under our control, we cannot test the encoded output exactly as is done for internal encoders. We can still test however that the output is decodable and produces the expected number of frames with expected dimensions, pixel formats, and timestamps. --- A minim

[FFmpeg-devel] [PATCH] Correct space color when using libopenjpeg

2023-03-11 Thread Wang Chuan
When decoding jp2 with palette, [color space] is determined when calling [opj_decode]. Because of this, [pix_fmt] should be set after decoding. Otherwise, [pix_fmt] will be set to AV_PIX_FMT_GRAY8 and output an wrong image. Signed-off-by: Wang Chuan --- libavcodec/libopenjpegdec.c | 35