41 |
* * |
* * |
42 |
* Revision history: * |
* Revision history: * |
43 |
* * |
* * |
44 |
|
* 19.06.2002 Fix a little bug in use custom quant matrix * |
45 |
|
* MinChen <chenm001@163.com> * |
46 |
* 08.05.2002 add low_delay support for B_VOP decode * |
* 08.05.2002 add low_delay support for B_VOP decode * |
47 |
* MinChen <chenm001@163.com> * |
* MinChen <chenm001@163.com> * |
48 |
* 06.05.2002 low_delay * |
* 06.05.2002 low_delay * |
55 |
* 30.02.2002 intra_dc_threshold support * |
* 30.02.2002 intra_dc_threshold support * |
56 |
* 04.12.2001 support for additional headers * |
* 04.12.2001 support for additional headers * |
57 |
* 16.12.2001 inital version * |
* 16.12.2001 inital version * |
58 |
* * |
* |
59 |
******************************************************************************/ |
******************************************************************************/ |
60 |
|
|
61 |
|
|
78 |
return n; |
return n; |
79 |
#else |
#else |
80 |
__asm { |
__asm { |
81 |
bsr eax, value inc eax} |
bsr eax, value |
82 |
|
inc eax |
83 |
|
} |
84 |
#endif |
#endif |
85 |
} |
} |
86 |
|
|
110 |
matrix[scan_tables[0][i++]] = value; |
matrix[scan_tables[0][i++]] = value; |
111 |
} |
} |
112 |
while (value != 0 && i < 64); |
while (value != 0 && i < 64); |
113 |
|
i--; // fix little bug at coeff not full |
114 |
|
|
115 |
while (i < 64) { |
while (i < 64) { |
116 |
matrix[scan_tables[0][i++]] = last; |
matrix[scan_tables[0][i++]] = last; |