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@cs.rmit.edu.au> |
57 |
* |
* |
58 |
* $Id: decoder.c,v 1.35 2002-07-24 23:09:28 chl Exp $ |
* $Id: decoder.c,v 1.36 2002-08-03 05:36:18 chenm001 Exp $ |
59 |
* |
* |
60 |
*************************************************************************/ |
*************************************************************************/ |
61 |
|
|
1377 |
|
|
1378 |
#ifdef BFRAMES_DEC |
#ifdef BFRAMES_DEC |
1379 |
// test if no B_VOP |
// test if no B_VOP |
1380 |
if (dec->low_delay) { |
if (dec->low_delay || dec->frames == 0) { |
1381 |
#endif |
#endif |
1382 |
image_output(&dec->cur, dec->width, dec->height, dec->edged_width, |
image_output(&dec->cur, dec->width, dec->height, dec->edged_width, |
1383 |
frame->image, frame->stride, frame->colorspace); |
frame->image, frame->stride, frame->colorspace); |
1384 |
|
|
1385 |
#ifdef BFRAMES_DEC |
#ifdef BFRAMES_DEC |
1386 |
} else { |
} else { |
1387 |
if (dec->frames >= 0) { |
if (dec->frames >= 1) { |
1388 |
start_timer(); |
start_timer(); |
1389 |
if ((vop_type == I_VOP || vop_type == P_VOP)) { |
if ((vop_type == I_VOP || vop_type == P_VOP)) { |
1390 |
image_output(&dec->refn[0], dec->width, dec->height, |
image_output(&dec->refn[0], dec->width, dec->height, |