219 |
uint16_t quant_type = 0; |
uint16_t quant_type = 0; |
220 |
uint16_t write_vol_header = 0; |
uint16_t write_vol_header = 0; |
221 |
|
|
|
IMAGE *pCurrent = &(pEnc->sCurrent); |
|
|
|
|
222 |
start_global_timer(); |
start_global_timer(); |
223 |
|
|
224 |
ENC_CHECK(pEnc); |
ENC_CHECK(pEnc); |
356 |
int16_t dct_codes[6][64]; |
int16_t dct_codes[6][64]; |
357 |
int16_t qcoeff[6][64]; |
int16_t qcoeff[6][64]; |
358 |
uint16_t x, y; |
uint16_t x, y; |
|
IMAGE *pCurrent = &pEnc->sCurrent; |
|
359 |
|
|
360 |
pEnc->iFrameNum = 0; |
pEnc->iFrameNum = 0; |
361 |
pEnc->mbParam.rounding_type = 1; |
pEnc->mbParam.rounding_type = 1; |
379 |
|
|
380 |
CodeIntraMB(pEnc, pMB); |
CodeIntraMB(pEnc, pMB); |
381 |
|
|
382 |
MBTransQuantIntra(&pEnc->mbParam, x, y, dct_codes, qcoeff, pCurrent); |
MBTransQuantIntra(&pEnc->mbParam, x, y, dct_codes, qcoeff, &pEnc->sCurrent); |
383 |
|
|
384 |
start_timer(); |
start_timer(); |
385 |
MBPrediction(&pEnc->mbParam, x, y, pEnc->mbParam.mb_width, qcoeff, pEnc->pMBs); |
MBPrediction(&pEnc->mbParam, x, y, pEnc->mbParam.mb_width, qcoeff, pEnc->pMBs); |