1413 |
int bound = read_video_packet_header(bs, dec, resync_len, &quant, |
int bound = read_video_packet_header(bs, dec, resync_len, &quant, |
1414 |
&fcode_forward, &fcode_backward, &intra_dc_threshold); |
&fcode_forward, &fcode_backward, &intra_dc_threshold); |
1415 |
|
|
1416 |
bound = MAX(0, bound--); /* valid bound must always be >0 */ |
bound = MAX(0, bound-1); /* valid bound must always be >0 */ |
1417 |
x = bound % dec->mb_width; |
x = bound % dec->mb_width; |
1418 |
y = MIN((bound / dec->mb_width), (dec->mb_height-1)); |
y = MIN((bound / dec->mb_width), (dec->mb_height-1)); |
1419 |
/* reset predicted macroblocks */ |
/* reset predicted macroblocks */ |