summaryrefslogtreecommitdiff
path: root/libavcodec/i386/mpegvideo_mmx.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-14 03:18:09 +0000
committerMåns Rullgård <mans@mansr.com>2006-11-14 03:18:09 +0000
commit486497e07b4617d9548a5b7347076f1b329bd417 (patch)
tree62d096ce30698a41d0e1891814636154a962b92f /libavcodec/i386/mpegvideo_mmx.c
parentbe6ed6fff4cace79a2c17094ad716bc0944a4274 (diff)
revert bad checkin
Originally committed as revision 7044 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx.c')
-rw-r--r--libavcodec/i386/mpegvideo_mmx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx.c b/libavcodec/i386/mpegvideo_mmx.c
index e3ab24b4e8..1b7b1c19f4 100644
--- a/libavcodec/i386/mpegvideo_mmx.c
+++ b/libavcodec/i386/mpegvideo_mmx.c
@@ -27,7 +27,7 @@
#include "../avcodec.h"
#include "x86_cpu.h"
-extern uint16_t ff_inv_zigzag_direct16[64];
+extern uint16_t inv_zigzag_direct16[64];
static const unsigned long long int mm_wabs __attribute__ ((aligned(8))) = 0xffffffffffffffffULL;
static const unsigned long long int mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
@@ -693,7 +693,7 @@ static void denoise_dct_sse2(MpegEncContext *s, DCTELEM *block){
void MPV_common_init_mmx(MpegEncContext *s)
{
- if (ff_mm_flags & MM_MMX) {
+ if (mm_flags & MM_MMX) {
const int dct_algo = s->avctx->dct_algo;
s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_mmx;
@@ -706,16 +706,16 @@ void MPV_common_init_mmx(MpegEncContext *s)
draw_edges = draw_edges_mmx;
- if (ff_mm_flags & MM_SSE2) {
+ if (mm_flags & MM_SSE2) {
s->denoise_dct= denoise_dct_sse2;
} else {
s->denoise_dct= denoise_dct_mmx;
}
if(dct_algo==FF_DCT_AUTO || dct_algo==FF_DCT_MMX){
- if(ff_mm_flags & MM_SSE2){
+ if(mm_flags & MM_SSE2){
s->dct_quantize= dct_quantize_SSE2;
- } else if(ff_mm_flags & MM_MMXEXT){
+ } else if(mm_flags & MM_MMXEXT){
s->dct_quantize= dct_quantize_MMX2;
} else {
s->dct_quantize= dct_quantize_MMX;