[FFmpeg-soc] BFI

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Mar 25 19:16:30 CET 2008


Hello,
On Tue, Mar 25, 2008 at 11:35:44PM +0530, Sisir Koppaka wrote:
> One more doubt :)
> Is it necessary to set the palette once per frame in the decoder or doing it
> once for all the frames will suffice?

Palette behaves just like any other part of the frame (it is just
another plane, no special handling really): If you set
FF_BUFFER_HINTS_PRESERVE it will be the same as for the last frame,
if not it is uninitialized initially and you have to set it again.
And no, IMO you should not set FF_BUFFER_HINTS_PRESERVE just because of
the palette.

Greetings,
Reimar Döffinger



More information about the FFmpeg-soc mailing list