20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: decoder.c,v 1.49.2.31 2004-02-03 02:56:57 syskin Exp $ |
* $Id: decoder.c,v 1.49.2.33 2004-02-16 03:40:47 syskin Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
779 |
|
|
780 |
start_timer(); |
start_timer(); |
781 |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
782 |
dec->width, dec->height); |
dec->width, dec->height, dec->bs_version); |
783 |
stop_edges_timer(); |
stop_edges_timer(); |
784 |
|
|
785 |
if (gmc_warp) { |
if (gmc_warp) { |
1180 |
|
|
1181 |
start_timer(); |
start_timer(); |
1182 |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
1183 |
dec->width, dec->height); |
dec->width, dec->height, dec->bs_version); |
1184 |
image_setedges(&dec->refn[1], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[1], dec->edged_width, dec->edged_height, |
1185 |
dec->width, dec->height); |
dec->width, dec->height, dec->bs_version); |
1186 |
stop_edges_timer(); |
stop_edges_timer(); |
1187 |
|
|
1188 |
for (y = 0; y < dec->mb_height; y++) { |
for (y = 0; y < dec->mb_height; y++) { |
1526 |
dec->frames++; |
dec->frames++; |
1527 |
} |
} |
1528 |
|
|
1529 |
BitstreamByteAlign(&bs); |
/* BitstreamByteAlign(&bs); */ |
1530 |
|
|
1531 |
/* low_delay_default mode: repeat in packed_mode */ |
/* low_delay_default mode: repeat in packed_mode */ |
1532 |
if (dec->low_delay_default && dec->packed_mode && output == 0 && success == 0) { |
if (dec->low_delay_default && dec->packed_mode && output == 0 && success == 0) { |
1557 |
emms(); |
emms(); |
1558 |
stop_global_timer(); |
stop_global_timer(); |
1559 |
|
|
1560 |
return BitstreamPos(&bs) / 8; /* number of bytes consumed */ |
return (BitstreamPos(&bs) + 7) / 8; /* number of bytes consumed */ |
1561 |
} |
} |