DivXNetworks, Inc.
Main Page | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals | Related Pages

DecFrame Struct Reference

#include <LibQDec.h>


Detailed Description

Structure containing input bitstream and decoder frame buffer. Default settings are when the structure is memset() to 0.


Data Fields

DecBitstream bitstream
void * pBmp
int bmpStride
int bConstBitstream
int bBitstreamUpdated
int bBitstreamIsEOS
int frameWasDecoded
int timestampDisplay
int shallowDecode
int bSingleFrame


Field Documentation

int DecFrame::bBitstreamIsEOS
 

Set non-zero to tell the decoder that bitstream is the last part of the stream.

int DecFrame::bBitstreamUpdated
 

Notify API that the bitstream is updated [Used by the reference decoder to dump the bitstream to a disk file so that it can be read in].

int DecFrame::bConstBitstream
 

Set zero if it is OK for decoder to trash the input bitstream when it is decoded. This gives a small performance boost.

DecBitstream DecFrame::bitstream
 

Input bitstream to be decoded.

int DecFrame::bmpStride
 

Bitmap stride in pixels. Set by caller. Currently ignored by decoder.

int DecFrame::bSingleFrame
 

Set non-zero to indicate that the decoder is receiving a single frame in this buffer (no packet B-frames).

int DecFrame::frameWasDecoded
 

Non-zero value means that a frame was successfully decoded. Set by decoder.

void* DecFrame::pBmp
 

Decoded bitmap buffer. Allocated by caller. If the buffer pointer is 0 the bitmap will not be rendered (fast decode).

int DecFrame::shallowDecode
 

Set non-zero to allow the decoder not to decode any video data (just parse headers).

int DecFrame::timestampDisplay
 

Display timestamp of the decoded frame. Set by decoder.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 24 16:43:33 2006 for DivX Codec API Documentation.