Revision 8bdbae01

View differences:

libavcodec/h263dec.c
162 162
                s->c_dc_scale = 8;
163 163
            }
164 164

  
165
#ifdef HAVE_MMX
166
            if (mm_flags & MM_MMX) {
167
                asm volatile(
168
			"pxor %%mm7, %%mm7		\n\t"
169
			"movl $-128*6, %%eax		\n\t"
170
			"1:				\n\t"
171
			"movq %%mm7, (%0, %%eax)	\n\t"
172
			"movq %%mm7, 8(%0, %%eax)	\n\t"
173
			"movq %%mm7, 16(%0, %%eax)	\n\t"
174
			"movq %%mm7, 24(%0, %%eax)	\n\t"
175
			"addl $32, %%eax		\n\t"
176
			" js 1b				\n\t"
177
			: : "r" (((int)s->block)+128*6)
178
			: "%eax"
179
                );
180
            }else{
181
                memset(s->block, 0, sizeof(s->block));
182
            }
183
#else
165 184
            memset(s->block, 0, sizeof(s->block));
185
#endif
166 186
            s->mv_dir = MV_DIR_FORWARD;
167 187
            s->mv_type = MV_TYPE_16X16; 
168 188
            if (s->h263_msmpeg4) {

Also available in: Unified diff