123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /*------------------------------------------------------------------------------
- -- --
- -- This software is confidential and proprietary and may be used --
- -- only as expressly authorized by a licensing agreement from --
- -- --
- -- Hantro Products Oy. --
- -- --
- -- (C) COPYRIGHT 2006 HANTRO PRODUCTS OY --
- -- ALL RIGHTS RESERVED --
- -- --
- -- The entire notice above must be reproduced --
- -- on all copies and should not be removed. --
- -- --
- --------------------------------------------------------------------------------
- --
- -- Abstract : Stream decoding storage definition
- --
- --------------------------------------------------------------------------------
- --
- -- Version control information, please leave untouched.
- --
- -- $RCSfile: mpeg2hwd_storage.h,v $
- -- $Date: 2010/03/31 08:54:59 $
- -- $Revision: 1.16 $
- --
- ------------------------------------------------------------------------------*/
- /*------------------------------------------------------------------------------
- Table of context
- 1. xxx...
-
-
- ------------------------------------------------------------------------------*/
- #ifndef MPEG2DECSTRMSTORAGE_H_DEFINED
- #define MPEG2DECSTRMSTORAGE_H_DEFINED
- #include "basetype.h"
- #include "mpeg2hwd_cfg.h"
- #include "bqueue.h"
- typedef struct
- {
- DWLLinearMem_t data;
- u32 picType;
- u32 picId;
- u32 tf;
- u32 ff[2];
- u32 rff;
- u32 rfc;
- u32 isInter;
- u32 nbrErrMbs;
- Mpeg2DecRet retVal;
- u32 sendToPp;
- Mpeg2DecTime timeCode;
- } picture_t;
- typedef struct
- {
- u32 status;
- u32 strmDecReady;
- u32 validPicHeader;
- u32 validPicExtHeader;
- u32 validSequence;
- u32 vpQP;
- u32 maxNumBuffers;
- u32 numBuffers;
- u32 numPpBuffers;
- picture_t pPicBuf[16];
- u32 outBuf[16];
- u32 outIndex;
- u32 outCount;
- u32 workOut;
- u32 work0;
- u32 work1;
- u32 latestId; /* current pic id, used for debug */
- u32 skipB;
- u32 prevPicCodingType;
- u32 prevPicStructure;
- u32 fieldToReturn; /* 0 = First, 1 second */
- u32 pictureBroken;
- u32 intraFreeze;
- u32 newHeadersChangeResolution;
- u32 previousB;
- u32 previousModeFull;
- u32 prevBIdx;
- bufferQueue_t bq;
- bufferQueue_t bqPp;
- } DecStrmStorage;
- #endif /* #ifndef MPEG2DECSTRMSTORAGE_H_DEFINED */
|