[XviD-devel] decoder cleanup

suxen_drol xvid-devel@xvid.org
Thu, 12 Dec 2002 21:46:03 +1100


hi,

ive cleaned up the decoder to support bframes correctly.
the new decoding semantics:

"frame.general |= XVID_DEC_LOWDELAY" flag, which instructs the decoder
to always output a frame. if it cannot output a frame (ie. initial
bframe lag), an error message will written to the image.
DELAY is intened for decoding applications with is no profission for
delay. ie. video-for-windows.

if XVID_LOWDELAY is not set, the decoder will output a frame only when
neccessary. if nothing is output'd, stats->notify is set to
XVID_DEC_NOTHING.

-- pete; life is like a box of ammo