diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-08-06 23:51:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-08-06 23:51:15 +0000 |
commit | 87f8cab45b66712c23f861661afb97739f1fd8f5 (patch) | |
tree | 2f30abe9667c4da38a0d0029281ceba4424fe973 /libavcodec/i386/mpegvideo_mmx_template.c | |
parent | 508abacadb4249cd0c2c195cff117d8a96b2936f (diff) | |
download | ffmpeg-87f8cab45b66712c23f861661afb97739f1fd8f5.tar.gz |
mpeg4 mpeg quantizer encoding
Originally committed as revision 844 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx_template.c')
-rw-r--r-- | libavcodec/i386/mpegvideo_mmx_template.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx_template.c b/libavcodec/i386/mpegvideo_mmx_template.c index aed537a23b..d84f253013 100644 --- a/libavcodec/i386/mpegvideo_mmx_template.c +++ b/libavcodec/i386/mpegvideo_mmx_template.c @@ -82,7 +82,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s, qmat = s->q_inter_matrix16[qscale]; } - if(s->out_format == FMT_H263){ + if(s->out_format == FMT_H263 && s->mpeg_quant==0){ asm volatile( "movd %%eax, %%mm3 \n\t" // last_non_zero_p1 @@ -189,6 +189,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s, } if(s->mb_intra) temp_block[0]= level; //FIXME move afer permute + // last_non_zero_p1=64; /* permute for IDCT */ asm volatile( |