29 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
30 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
31 |
* |
* |
32 |
* $Id: mbcoding.c,v 1.28 2002-09-08 15:40:02 edgomez Exp $ |
* $Id: mbcoding.c,v 1.29 2002-09-10 21:29:03 edgomez Exp $ |
33 |
* |
* |
34 |
****************************************************************************/ |
****************************************************************************/ |
35 |
|
|
65 |
|
|
66 |
int32_t k, l, i, intra, last; |
int32_t k, l, i, intra, last; |
67 |
VLC *vlc[2]; |
VLC *vlc[2]; |
68 |
VLC **coeff_ptr; |
VLC const **coeff_ptr; |
69 |
VLC *vlc1, *vlc2; |
VLC *vlc1, *vlc2; |
70 |
|
|
71 |
vlc1 = DCT3Dintra; |
vlc1 = DCT3Dintra; |
86 |
coeff_ptr = coeff_vlc[last + 2 * intra]; |
coeff_ptr = coeff_vlc[last + 2 * intra]; |
87 |
|
|
88 |
for (k = -2047; k < 2048; k++) { // level |
for (k = -2047; k < 2048; k++) { // level |
89 |
int8_t *max_level_ptr = max_level[last + 2 * intra]; |
int8_t const *max_level_ptr = max_level[last + 2 * intra]; |
90 |
int8_t *max_run_ptr = max_run[last + 2 * intra]; |
int8_t const *max_run_ptr = max_run[last + 2 * intra]; |
91 |
|
|
92 |
for (l = 0; l < 64; l++) { // run |
for (l = 0; l < 64; l++) { // run |
93 |
int32_t level = k; |
int32_t level = k; |