28 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
29 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
30 |
* |
* |
31 |
* $Id: encoder.c,v 1.82 2002-09-08 16:38:03 edgomez Exp $ |
* $Id: encoder.c,v 1.83 2002-09-12 18:53:35 edgomez Exp $ |
32 |
* |
* |
33 |
****************************************************************************/ |
****************************************************************************/ |
34 |
|
|
560 |
emms(); |
emms(); |
561 |
|
|
562 |
if (pFrame->quant == 0) { |
if (pFrame->quant == 0) { |
563 |
RateControlUpdate(&pEnc->rate_control, pEnc->current->quant, |
RateControlUpdate(&pEnc->rate_control, (int16_t)pEnc->current->quant, |
564 |
pFrame->length, pFrame->intra); |
pFrame->length, pFrame->intra); |
565 |
} |
} |
566 |
#ifdef _DEBUG_PSNR |
#ifdef _DEBUG_PSNR |
889 |
DECLARE_ALIGNED_MATRIX(qcoeff, 6, 64, int16_t, CACHE_LINE); |
DECLARE_ALIGNED_MATRIX(qcoeff, 6, 64, int16_t, CACHE_LINE); |
890 |
|
|
891 |
int iLimit; |
int iLimit; |
892 |
int x, y; |
unsigned int x, y; |
893 |
int iSearchRange; |
int iSearchRange; |
894 |
int bIntra; |
int bIntra; |
895 |
|
|