53 |
* 26.03.2002 interlacing support - moved transfers outside decode loop |
* 26.03.2002 interlacing support - moved transfers outside decode loop |
54 |
* 26.12.2001 decoder_mbinter: dequant/idct moved within if(coded) block |
* 26.12.2001 decoder_mbinter: dequant/idct moved within if(coded) block |
55 |
* 22.12.2001 lock based interpolation |
* 22.12.2001 lock based interpolation |
56 |
* 01.12.2001 inital version; (c)2001 peter ross <pross@cs.rmit.edu.au> |
* 01.12.2001 inital version; (c)2001 peter ross <pross@xvid.org> |
57 |
* |
* |
58 |
* $Id$ |
* $Id$ |
59 |
* |
* |
268 |
start_timer(); |
start_timer(); |
269 |
if (cbp & (1 << (5 - i))) // coded |
if (cbp & (1 << (5 - i))) // coded |
270 |
{ |
{ |
271 |
int direction = dec->alternate_vertical_scan ? |
get_intra_block(bs, &block[i * 64], pMB->acpred_directions[i], |
272 |
2 : pMB->acpred_directions[i]; |
start_coeff); |
|
|
|
|
get_intra_block(bs, &block[i * 64], direction, start_coeff); |
|
273 |
} |
} |
274 |
stop_coding_timer(); |
stop_coding_timer(); |
275 |
|
|
407 |
stop_comp_timer(); |
stop_comp_timer(); |
408 |
|
|
409 |
for (i = 0; i < 6; i++) { |
for (i = 0; i < 6; i++) { |
|
int direction = dec->alternate_vertical_scan ? 2 : 0; |
|
|
|
|
410 |
if (cbp & (1 << (5 - i))) // coded |
if (cbp & (1 << (5 - i))) // coded |
411 |
{ |
{ |
412 |
memset(&block[i * 64], 0, 64 * sizeof(int16_t)); // clear |
memset(&block[i * 64], 0, 64 * sizeof(int16_t)); // clear |
413 |
|
|
414 |
start_timer(); |
start_timer(); |
415 |
get_inter_block(bs, &block[i * 64], direction); |
get_inter_block(bs, &block[i * 64]); |
416 |
stop_coding_timer(); |
stop_coding_timer(); |
417 |
|
|
418 |
start_timer(); |
start_timer(); |
585 |
|
|
586 |
start_timer(); |
start_timer(); |
587 |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
588 |
dec->width, dec->height); |
dec->width, dec->height, dec->interlacing); |
589 |
stop_edges_timer(); |
stop_edges_timer(); |
590 |
|
|
591 |
bound = 0; |
bound = 0; |
876 |
stop_comp_timer(); |
stop_comp_timer(); |
877 |
|
|
878 |
for (i = 0; i < 6; i++) { |
for (i = 0; i < 6; i++) { |
|
int direction = dec->alternate_vertical_scan ? 2 : 0; |
|
|
|
|
879 |
if (cbp & (1 << (5 - i))) // coded |
if (cbp & (1 << (5 - i))) // coded |
880 |
{ |
{ |
881 |
memset(&block[i * 64], 0, 64 * sizeof(int16_t)); // clear |
memset(&block[i * 64], 0, 64 * sizeof(int16_t)); // clear |
882 |
|
|
883 |
start_timer(); |
start_timer(); |
884 |
get_inter_block(bs, &block[i * 64], direction); |
get_inter_block(bs, &block[i * 64]); |
885 |
stop_coding_timer(); |
stop_coding_timer(); |
886 |
|
|
887 |
start_timer(); |
start_timer(); |
1042 |
stop_comp_timer(); |
stop_comp_timer(); |
1043 |
|
|
1044 |
for (i = 0; i < 6; i++) { |
for (i = 0; i < 6; i++) { |
|
int direction = dec->alternate_vertical_scan ? 2 : 0; |
|
|
|
|
1045 |
if (cbp & (1 << (5 - i))) // coded |
if (cbp & (1 << (5 - i))) // coded |
1046 |
{ |
{ |
1047 |
memset(&block[i * 64], 0, 64 * sizeof(int16_t)); // clear |
memset(&block[i * 64], 0, 64 * sizeof(int16_t)); // clear |
1048 |
|
|
1049 |
start_timer(); |
start_timer(); |
1050 |
get_inter_block(bs, &block[i * 64], direction); |
get_inter_block(bs, &block[i * 64]); |
1051 |
stop_coding_timer(); |
stop_coding_timer(); |
1052 |
|
|
1053 |
start_timer(); |
start_timer(); |
1142 |
|
|
1143 |
start_timer(); |
start_timer(); |
1144 |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
1145 |
dec->width, dec->height); |
dec->width, dec->height, dec->interlacing); |
1146 |
image_setedges(&dec->refn[1], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[1], dec->edged_width, dec->edged_height, |
1147 |
dec->width, dec->height); |
dec->width, dec->height, dec->interlacing); |
1148 |
stop_edges_timer(); |
stop_edges_timer(); |
1149 |
|
|
1150 |
#ifdef BFRAMES_DEC_DEBUG |
#ifdef BFRAMES_DEC_DEBUG |