39 |
* MinChen <chenm001@163.com> |
* MinChen <chenm001@163.com> |
40 |
* 14.04.2002 added FrameCodeB() |
* 14.04.2002 added FrameCodeB() |
41 |
* |
* |
42 |
* $Id: encoder.c,v 1.76.2.32 2003-01-03 16:25:14 suxen_drol Exp $ |
* $Id: encoder.c,v 1.76.2.34 2003-01-05 16:18:47 syskin Exp $ |
43 |
* |
* |
44 |
****************************************************************************/ |
****************************************************************************/ |
45 |
|
|
674 |
{ |
{ |
675 |
uint16_t x, y; |
uint16_t x, y; |
676 |
Bitstream bs; |
Bitstream bs; |
677 |
uint32_t bits, mode; |
uint32_t bits; |
678 |
|
int mode; |
679 |
|
|
680 |
int input_valid = 1; |
int input_valid = 1; |
681 |
int bframes_count = 0; |
int bframes_count = 0; |
1926 |
Bitstream * bs, |
Bitstream * bs, |
1927 |
uint32_t * pBits) |
uint32_t * pBits) |
1928 |
{ |
{ |
1929 |
int16_t dct_codes[6 * 64]; |
DECLARE_ALIGNED_MATRIX(dct_codes, 6, 64, int16_t, CACHE_LINE); |
1930 |
int16_t qcoeff[6 * 64]; |
DECLARE_ALIGNED_MATRIX(qcoeff, 6, 64, int16_t, CACHE_LINE); |
1931 |
uint32_t x, y; |
uint32_t x, y; |
1932 |
|
|
1933 |
IMAGE *f_ref = &pEnc->reference->image; |
IMAGE *f_ref = &pEnc->reference->image; |