[FFmpeg-soc] BFI

Kostya kostya.shishkov at gmail.com
Sun Mar 30 15:45:37 CEST 2008


On Sun, Mar 30, 2008 at 06:38:34PM +0530, Sisir Koppaka wrote:
> From the BFI video decompression algo:
> 
>  2 : skip chain
>       if length is zero, read two more bytes of the length
>       if length still zero, finish the decompression
>       leave (length) bytes of the output unchanged from the last frame
> 
> To leave length bytes of output unchanged i just have to *not* write
> anything to those bytes, right? Or do I have write code to remember the
> previous frame and all?

It depends on your decoder. If you reuse the same memory for next
frame decoding, then do nothing. If your previous frame and next
frame are in different buffers then you have to copy pixels from
the same position from previous frame.



More information about the FFmpeg-soc mailing list