364 |
|
|
365 |
static int FrameCodeI(Encoder * pEnc, Bitstream * bs, uint32_t *pBits) |
static int FrameCodeI(Encoder * pEnc, Bitstream * bs, uint32_t *pBits) |
366 |
{ |
{ |
367 |
int16_t dct_codes[6][64]; |
CACHE_ALIGN int16_t dct_codes[6][64]; |
368 |
int16_t qcoeff[6][64]; |
CACHE_ALIGN int16_t qcoeff[6][64]; |
369 |
uint16_t x, y; |
uint16_t x, y; |
370 |
|
|
371 |
pEnc->iFrameNum = 0; |
pEnc->iFrameNum = 0; |
418 |
static int FrameCodeP(Encoder * pEnc, Bitstream * bs, uint32_t *pBits, bool force_inter, bool vol_header) |
static int FrameCodeP(Encoder * pEnc, Bitstream * bs, uint32_t *pBits, bool force_inter, bool vol_header) |
419 |
{ |
{ |
420 |
float fSigma; |
float fSigma; |
421 |
int16_t dct_codes[6][64]; |
|
422 |
int16_t qcoeff[6][64]; |
CACHE_ALIGN int16_t dct_codes[6][64]; |
423 |
|
CACHE_ALIGN int16_t qcoeff[6][64]; |
424 |
|
|
425 |
int iLimit; |
int iLimit; |
426 |
uint32_t x, y; |
uint32_t x, y; |
427 |
int iSearchRange; |
int iSearchRange; |