3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Decoder main module - |
* - Decoder main module - |
5 |
* |
* |
6 |
|
* Copyright(C) 2002 MinChen <chenm001@163.com> |
7 |
|
* 2002 Peter Ross <pross@xvid.org> |
8 |
|
* |
9 |
* This program is an implementation of a part of one or more MPEG-4 |
* This program is an implementation of a part of one or more MPEG-4 |
10 |
* Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
* Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
11 |
* to use this software module in hardware or software products are |
* to use this software module in hardware or software products are |
36 |
* History: |
* History: |
37 |
* |
* |
38 |
* 15.07.2002 fix a bug in B-frame decode at DIRECT mode |
* 15.07.2002 fix a bug in B-frame decode at DIRECT mode |
39 |
* MinChen <chenm001@163.com> |
|
40 |
* 10.07.2002 added BFRAMES_DEC_DEBUG support |
* 10.07.2002 added BFRAMES_DEC_DEBUG support |
41 |
* Fix a little bug for low_delay flage |
* Fix a little bug for low_delay flage |
42 |
* MinChen <chenm001@163.com> |
* MinChen <chenm001@163.com> |
58 |
* 22.12.2001 lock based interpolation |
* 22.12.2001 lock based interpolation |
59 |
* 01.12.2001 inital version; (c)2001 peter ross <pross@xvid.org> |
* 01.12.2001 inital version; (c)2001 peter ross <pross@xvid.org> |
60 |
* |
* |
61 |
* $Id: decoder.c,v 1.40 2002-09-24 21:56:27 edgomez Exp $ |
* $Id: decoder.c,v 1.42 2002-10-19 12:20:33 edgomez Exp $ |
62 |
* |
* |
63 |
*************************************************************************/ |
*************************************************************************/ |
64 |
|
|
588 |
|
|
589 |
start_timer(); |
start_timer(); |
590 |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
591 |
dec->width, dec->height, dec->interlacing); |
dec->width, dec->height); |
592 |
stop_edges_timer(); |
stop_edges_timer(); |
593 |
|
|
594 |
bound = 0; |
bound = 0; |
1146 |
|
|
1147 |
start_timer(); |
start_timer(); |
1148 |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[0], dec->edged_width, dec->edged_height, |
1149 |
dec->width, dec->height, dec->interlacing); |
dec->width, dec->height); |
1150 |
image_setedges(&dec->refn[1], dec->edged_width, dec->edged_height, |
image_setedges(&dec->refn[1], dec->edged_width, dec->edged_height, |
1151 |
dec->width, dec->height, dec->interlacing); |
dec->width, dec->height); |
1152 |
stop_edges_timer(); |
stop_edges_timer(); |
1153 |
|
|
1154 |
#ifdef BFRAMES_DEC_DEBUG |
#ifdef BFRAMES_DEC_DEBUG |