Re: [FFmpeg-devel] [PATCH] avcodec/h264_mb: Fix buffer stride for arm

2025-04-21 Thread Bin Peng
On 2025/4/16 8:24, Michael Niedermayer wrote: > On Tue, Apr 08, 2025 at 07:22:32PM +0800, Bin Peng wrote: >> When decoding a bitstream with weighted-bipred enabled, >> the results on ARM and x86 platforms may differ. >> >> The reason for the inconsistency is that t

[FFmpeg-devel] [PATCH] avcodec/h264_mb: Fix buffer stride for arm

2025-04-08 Thread Bin Peng
ng to incorrect predicted pixels. The bug can be reproduced by the following bitstream. https://trac.ffmpeg.org/attachment/ticket/11357/inter_weighted_bipred2.264 And the ref/fate file is also added in this patch. Fixes: ticket 11357 Signed-off-by: Bin Peng --- libavcodec/ut

Re: [FFmpeg-devel] [PATCH v4] avcodec/h264_mb: Fix tmp buffer overlap

2025-01-23 Thread Bin Peng
Hi, Michael, Should I add the attached bitstream to the FATE test? https://trac.ffmpeg.org/attachment/ticket/11357/inter_weighted_bipred2.264 Regards Bin Peng On 2024/12/24 15:49, Bin Peng wrote: > When decoding a bitstream with weighted-bipred enabled, > the results on ARM and x86 pla

[FFmpeg-devel] 回复: [PATCH v3] avcodec/h264_mb: Fix tmp buffer overlap in mc_part_weighted

2024-12-23 Thread Bin Peng
01:26:37PM +0800, Bin Peng wrote: > When decoding a bitstream with weighted-bipred enabled, > the results on ARM and x86 platforms may differ. > > The reason for the inconsistency is that the value of > STRIDE_ALIGN differs between platforms. And STRIDE_ALIGN > is set to th

[FFmpeg-devel] [PATCH v4] avcodec/h264_mb: Fix tmp buffer overlap

2024-12-23 Thread Bin Peng
ng to incorrect predicted pixels. Fixes: ticket 11357 Signed-off-by: Bin Peng --- libavcodec/utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 2dbd677920..d280e1c324 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -

[FFmpeg-devel] [PATCH v3] avcodec/h264_mb: Fix tmp buffer overlap in mc_part_weighted

2024-12-19 Thread Bin Peng
ng to incorrect predicted pixels. Fixes: ticket 11357 Signed-off-by: Bin Peng --- libavcodec/h264_mb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index 4e94136313..b480cd312b 100644 --- a/libavcodec/h264_mb.c +++ b/libavcodec/h264

[FFmpeg-devel] [PATCH v3] avcodec/h264_mb: Fix tmp buffer overlap in mc_part_weighted

2024-12-19 Thread Bin Peng
ng to incorrect predicted pixels. Fixes: ticket 11357 Signed-off-by: Bin Peng --- libavcodec/h264_mb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index 4e94136313..b480cd312b 100644 --- a/libavcodec/h264_mb.c +++ b/libavcodec/h264

[FFmpeg-devel] [PATCH v2] avcodec/h264_mb: Fix tmp buffer overlap in mc_part_weighted

2024-12-19 Thread Bin Peng
ng to incorrect predicted pixels. Fixes: ticket 11357 Signed-off-by: Bin Peng --- libavcodec/h264_mb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index 4e94136313..b480cd312b 100644 --- a/libavcodec/h264_mb.c +++ b/libav

[FFmpeg-devel] [PATCH v1] avcodec/h264_mb: Fix tmp buffer overlap in mc_part_weighted

2024-12-16 Thread Bin Peng
ng to incorrect predicted pixels. Fixes: ticket 11357 Signed-off-by: Bin Peng --- libavcodec/h264_mb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index 4e94136313..b480cd312b 100644 --- a/libavcodec/h264_mb.c +++ b/libav

[FFmpeg-devel] [PATCH v1] lavc/aarch64: Fix ff_pred8x8_plane_neon_10

2024-12-15 Thread Bin Peng
-threads 1 -i intra8x8pred_10bit.264 -f framemd5 -y md5_ref ./ffmpeg -threads 1 -i intra8x8pred_10bit.264 -f framemd5 -y md5_neon Signed-off-by: Bin Peng --- libavcodec/aarch64/h264pred_neon.S | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH v1] aarch64/avc: Fix ff_pred16x16_plane_neon_10

2024-12-13 Thread Bin Peng
Fix test failure on aarch64: ./tests/checkasm/checkasm --test=h264pred 367840 Signed-off-by: Peng Bin --- libavcodec/aarch64/h264pred_neon.S | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/libavcodec/aarch64/h264pred_neon.S b/libavcodec/aarch64/h264pred_ne