if(s->mb_intra) block[0]= level;
static void dct_unquantize_h263_mmx(MpegEncContext *s,                                  DCTELEM *block, int n, int qscale){    int i, level, qmul, qadd, nCoeffs;        qmul = s->qscale << 1;    if (s->h263_aic && s->mb_intra)        qadd = 0;    else        qadd = (s->qscale - 1) | 1;    if (s->mb_intra) {        if (!s->h263_aic) {            if (n < 4)                block[0] = block[0] * s->y_dc_scale;            else                block[0] = block[0] * s->c_dc_scale;        }        for(i=1; i<8; i++) {            level = block[i];            if (level) {    	        if (level < 0) {                    level = level * qmul - qadd;                } else {                    level = level * qmul + qadd;                }                block[i] = level;            }        }        nCoeffs=64;    } else {        i = 0;        nCoeffs= zigzag_end[ s->block_last_index[n] ];    }//printf("%d %d  ", qmul, qadd);asm volatile(		"movd %1, %%mm6			\n\t" //qmul		"packssdw %%mm6, %%mm6		\n\t"		"packssdw %%mm6, %%mm6		\n\t"		"movd %2, %%mm5			\n\t" //qadd		"pxor %%mm7, %%mm7		\n\t"		"packssdw %%mm5, %%mm5		\n\t"		"packssdw %%mm5, %%mm5		\n\t"		"psubw %%mm5, %%mm7		\n\t"		"pxor %%mm4, %%mm4		\n\t"		".balign 16\n\t"		"1:				\n\t"		"movq (%0, %3), %%mm0		\n\t"		"movq 8(%0, %3), %%mm1		\n\t"		"pmullw %%mm6, %%mm0		\n\t"		"pmullw %%mm6, %%mm1		\n\t"		"movq (%0, %3), %%mm2		\n\t"		"movq 8(%0, %3), %%mm3		\n\t"		"pcmpgtw %%mm4, %%mm2		\n\t" // block[i] < 0 ? -1 : 0		"pcmpgtw %%mm4, %%mm3		\n\t" // block[i] < 0 ? -1 : 0		"pxor %%mm2, %%mm0		\n\t"		"pxor %%mm3, %%mm1		\n\t"		"paddw %%mm7, %%mm0		\n\t"		"paddw %%mm7, %%mm1		\n\t"		"pxor %%mm0, %%mm2		\n\t"		"pxor %%mm1, %%mm3		\n\t"		"pcmpeqw %%mm7, %%mm0		\n\t" // block[i] == 0 ? -1 : 0		"pcmpeqw %%mm7, %%mm1		\n\t" // block[i] == 0 ? -1 : 0		"pandn %%mm2, %%mm0		\n\t"		"pandn %%mm3, %%mm1		\n\t"		"movq %%mm0, (%0, %3)		\n\t"		"movq %%mm1, 8(%0, %3)		\n\t"		"addl $16, %3			\n\t"		"js 1b				\n\t"		::"r" (block+nCoeffs), "g"(qmul), "g" (qadd), "r" (2*(i-nCoeffs))		: "memory"	);}