Mercurial > libavcodec.hg
comparison mpegvideo.c @ 467:ad65941c8eb5 libavcodec
use qstride instead of fixed constants
author | nickols_k |
---|---|
date | Mon, 03 Jun 2002 07:58:35 +0000 |
parents | 805714c0c10f |
children | 11dbd00682fc |
comparison
equal
deleted
inserted
replaced
466:805714c0c10f | 467:ad65941c8eb5 |
---|---|
1180 #ifdef FF_POSTPROCESS | 1180 #ifdef FF_POSTPROCESS |
1181 /* Obsolete. Exists for compatibility with mplayer only. */ | 1181 /* Obsolete. Exists for compatibility with mplayer only. */ |
1182 quant_store[mb_y][mb_x]=s->qscale; | 1182 quant_store[mb_y][mb_x]=s->qscale; |
1183 //printf("[%02d][%02d] %d\n",mb_x,mb_y,s->qscale); | 1183 //printf("[%02d][%02d] %d\n",mb_x,mb_y,s->qscale); |
1184 #else | 1184 #else |
1185 if(s->avctx->quant_store) s->avctx->quant_store[mb_y*(MBR+1)+mb_x] = s->qscale; | 1185 if(s->avctx->quant_store) s->avctx->quant_store[mb_y*s->avctx->qstride+mb_x] = s->qscale; |
1186 #endif | 1186 #endif |
1187 | 1187 |
1188 /* update DC predictors for P macroblocks */ | 1188 /* update DC predictors for P macroblocks */ |
1189 if (!s->mb_intra) { | 1189 if (!s->mb_intra) { |
1190 if (s->h263_pred || s->h263_aic) { | 1190 if (s->h263_pred || s->h263_aic) { |