1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
FFmpeg/libavcodec/x86
Mikulas Patocka 074155360d avcodec/x86/hpeldsp: fix crash on AMD K6-3+
There are instructions pavgb and pavgusb. Both instructions do the same
operation but they have different enconding. Pavgb exists in SSE (or
MMXEXT) instruction set and pavgusb exists in 3D-NOW instruction set.

livavcodec uses the macro PAVGB to select the proper instruction. However,
the function avg_pixels8_xy2 doesn't use this macro, it uses pavgb
directly.

As a consequence, the function avg_pixels8_xy2 crashes on AMD K6-2 and
K6-3 processors, because they have pavgusb, but not pavgb.

This bug seems to be introduced by commit
71155d7b41, "dsputil: x86: Convert mpeg4
qpel and dsputil avg to yasm"

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-03 19:49:11 +01:00
..
ac3dsp_init.c
ac3dsp.asm
cabac.h avcodec/cabac: support UNCHECKED_BITSTREAM_READER = 0 2013-10-31 11:13:27 +01:00
cavsdsp.c
constants.c
constants.h
dct32.asm
dct_init.c
deinterlace.asm
dirac_dwt.c
dirac_dwt.h
diracdsp_mmx.c
diracdsp_mmx.h
diracdsp_yasm.asm
dnxhdenc.c
dsputil_init.c avcodec/x86/dsputil_init: move ff_idct_xvid_mmxext init 2013-10-15 02:06:12 +02:00
dsputil_mmx.c
dsputil_qns_template.c
dsputil_x86.c
dsputil_x86.h
dsputil.asm
dsputilenc_mmx.c
dsputilenc.asm
dwt_yasm.asm
fdct.c Merge remote-tracking branch 'qatar/master' 2013-10-07 11:37:47 +02:00
fft_init.c
fft.asm x86: Fix compilation with nasm on PPC & OS/2 2013-10-08 12:36:19 +02:00
fft.h
fmtconvert_init.c
fmtconvert.asm
fpel_mmx.c
fpel.asm
h263_loopfilter.asm
h264_chromamc_10bit.asm
h264_chromamc.asm
h264_deblock_10bit.asm
h264_deblock.asm Merge commit 'bbe4a6db44f0b55b424a5cc9d3e89cd88e250450' 2013-10-08 11:23:00 +02:00
h264_i386.h
h264_idct_10bit.asm
h264_idct.asm Merge remote-tracking branch 'qatar/master' 2013-10-08 12:10:02 +02:00
h264_intrapred_10bit.asm
h264_intrapred_init.c
h264_intrapred.asm
h264_qpel_8bit.asm
h264_qpel_10bit.asm
h264_qpel.c
h264_weight_10bit.asm
h264_weight.asm
h264chroma_init.c
h264dsp_init.c
hpeldsp_init.c
hpeldsp_mmx.c
hpeldsp_rnd_template.c
hpeldsp.asm avcodec/x86/hpeldsp: fix crash on AMD K6-3+ 2013-11-03 19:49:11 +01:00
idct_mmx_xvid.c
idct_sse2_xvid.c
idct_xvid.h
imdct36.asm
lpc.c
Makefile Merge commit '1700b4e678ed329611a16b20d11e64b7abda4839' 2013-11-02 10:13:14 +01:00
mathops.h
mlpdsp.c
motion_est.c
mpeg4qpel.asm
mpegaudiodsp.c
mpegvideo.c
mpegvideoenc_template.c
mpegvideoenc.c
pngdsp_init.c
pngdsp.asm
proresdsp_init.c
proresdsp.asm
qpel.asm
rnd_mmx.c
rnd_template.c
rv34dsp_init.c
rv34dsp.asm
rv40dsp_init.c
rv40dsp.asm
sbrdsp_init.c
sbrdsp.asm
simple_idct.c
snowdsp.c
v210-init.c
v210.asm
vc1dsp_init.c
vc1dsp_mmx.c
vc1dsp.asm
vc1dsp.h
videodsp_init.c avcodec/x86/videodsp: Properly mark sse2 instructions in emulated_edge_mc x86 simd as such. 2013-10-24 13:36:55 +02:00
videodsp.asm avcodec/x86/videodsp: Small speedups in ff_emulated_edge_mc x86 SIMD. 2013-10-27 15:02:48 +01:00
vorbisdsp_init.c
vorbisdsp.asm
vp3dsp_init.c
vp3dsp.asm
vp6dsp_init.c
vp6dsp.asm
vp8dsp_init.c
vp8dsp_loopfilter.asm Merge commit '1700b4e678ed329611a16b20d11e64b7abda4839' 2013-11-02 10:13:14 +01:00
vp8dsp.asm Merge commit '1700b4e678ed329611a16b20d11e64b7abda4839' 2013-11-02 10:13:14 +01:00
vp9dsp_init.c
vp9dsp.asm avcodec/x86/vp9dsp: Fix compilation with nasm. 2013-10-08 02:27:12 +02:00
vp56_arith.h
w64xmmtest.c