From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id E78F84629D for ; Sun, 20 Jul 2025 05:43:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 42F6668D037; Sun, 20 Jul 2025 08:43:18 +0300 (EEST) Received: from relay.b.hostedemail.com (smtprelay0040.b.hostedemail.com [64.98.42.40]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id A9E6168CF62 for ; Sun, 20 Jul 2025 08:43:11 +0300 (EEST) Received: from omf16.b.hostedemail.com (omf16 [10.200.6.79]) by unirelay07.b.hostedemail.com (Postfix) with ESMTP id A07DC183298 for ; Sun, 20 Jul 2025 05:43:08 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: ff@hawaiiantel.net) by omf16.b.hostedemail.com (Postfix) with ESMTPA id 3F7C81C0003 for ; Sun, 20 Jul 2025 05:43:06 +0000 (UTC) Date: Sat, 19 Jul 2025 19:43:03 -1000 From: compn To: ffmpeg-devel@ffmpeg.org Message-ID: <20250719194303.00006235@hawaiiantel.net> In-Reply-To: <20250719230041.GU29660@pb2> References: <20250713011030.1156550-1-michael@niedermayer.cc> <20250713011030.1156550-4-michael@niedermayer.cc> <20250714185230.GJ29660@pb2> <20250719230041.GU29660@pb2> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) MIME-Version: 1.0 X-Stat-Signature: jzixf1scmfcwnt87eiktxco5i3wikwcm X-Spam-Status: No, score=-0.07 X-Rspamd-Server: rspamout04 X-Rspamd-Queue-Id: 3F7C81C0003 X-Session-Marker: 666640686177616969616E74656C2E6E6574 X-Session-ID: U2FsdGVkX18m0nwYTK6wICE2fvJyXZHlkMefpF9/2Ts= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hawaiiantel.net; h=date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=opensrs-2024012500; bh=LHUatcvdV9+7DcttGoRQhUdrht/OhfGQ2ksTV2o4yfE=; b=yX7bJu2A+HfNyJ5Hykqf8oGaA0krJLdDvTpG3OhC7M8haVdj15urJopsazFJtakfRKmIk07eLWgedjA+YW8lYZ9SRDpXEeZrTpiS/YU7qQgxZk+CNL2IN2aabI3TzY0uYX4zoVwfsuJPVMT9QjYBtZ9obafXZ8hBuvUkrczzGJtpFn32x5eiQA/a73MmMgM8R7Lb3WAP/auZ4gtj28aL2IImOwlNkLsPjb61FDJgln0rKbwJxvEYfGrvZkdiWAHLEoxnx3rYUNhi3WiYGF/+QeTXNZqBm8g8g9wJ9wsGfCINQFdHoQqcc8Ei/u/J6tXV4xjwFzpcqXCvBA4j7jpqDg== X-HE-Tag: 1752990186-643506 X-HE-Meta: U2FsdGVkX18wRSnHmiLCxK4l8J9WdlufTYkKlTSr0YA/uZySh2Vp4tehDeiTlXwXdXoW+n3rGmVRwMS/X9NDgXzOHZJr5DpJd3xmgVfGu/8TCNJY8fjkAexavRAFxO5Ue2EArZYG+VvQI26beZSThvToQ6bGc1avEkZVgxNmFjovPEMzCGSTLQnF8PDkw7gND0cpXWBaRoxRhgGBdRWtYzjkM+WDvPszDeszWL48e7VAq1rSaV1tqob0MfeGddMnNfw6tPxMRsMc1d1mUZ1mRRw5CsnjSITf7jtyoU0eL1HsOZPKZ0VG7adRi+5VoQN54olUhxycS8iINT3sUdAiYcmq158pnp3n Subject: Re: [FFmpeg-devel] [PATCH 4/5] avcodec/mpegvideo_dec: Fix lowres=3 field select interlaced mpeg4 frame X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Sun, 20 Jul 2025 01:00:41 +0200, Michael Niedermayer wrote: > On Mon, Jul 14, 2025 at 08:52:30PM +0200, Michael Niedermayer wrote: > > On Sun, Jul 13, 2025 at 07:34:50PM +0200, Andreas Rheinhardt wrote: > > > Michael Niedermayer: > > > > Fixes: out of array read in the chroma plane > > > > Fixes: 428034092/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_DEC_fuzzer-5582608941776896.test > > > > > > > > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > > > > Signed-off-by: Michael Niedermayer > > > > --- > > > > libavcodec/mpegvideo_dec.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c > > > > index 4a54f6cd614..85e24c667e3 100644 > > > > --- a/libavcodec/mpegvideo_dec.c > > > > +++ b/libavcodec/mpegvideo_dec.c > > > > @@ -557,7 +557,7 @@ static av_always_inline void mpeg_motion_lowres(MpegEncContext *s, > > > > ptr_cr = ref_picture[2] + uvsrc_y * uvlinesize + uvsrc_x; > > > > > > > > if ((unsigned) src_x > FFMAX( h_edge_pos - (!!sx) - 2 * block_s, 0) || uvsrc_y<0 || > > > > - (unsigned) src_y > FFMAX((v_edge_pos >> field_based) - (!!sy) - FFMAX(h, hc<chroma_y_shift), 0)) { > > > > + (unsigned) src_y > FFMAX((v_edge_pos >> field_based) - (!!sy) - FFMAX(h, field_select + hc<chroma_y_shift), 0)) { > > > > s->vdsp.emulated_edge_mc(s->sc.edge_emu_buffer, ptr_y, > > > > linesize >> field_based, linesize >> field_based, > > > > 17, 17 + field_based, > > > > > > Is lowres actually used for mpegvideo-decoders at all (in 2025)? > > > > why not ? > > > > Example: making thumbnails of videos. > > If a video can be decoded in 2min instead of 3min that still allows to scan > > it sooner for potential thumbnails > > ok if i apply this ? or you want me to wait ? > > iam happy to wait if you want to review/analyze > > thx random question, is lowres still faster in 2025 vs C and gpu decoding ? said another way, whats the current benchmarks look like? :) -compn _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".