12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- /*------------------------------------------------------------------------------
- -- --
- -- 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. --
- -- --
- --------------------------------------------------------------------------------
- --
- -- Description : Decoder container
- --
- --------------------------------------------------------------------------------
- --
- -- Version control information, please leave untouched.
- --
- -- $RCSfile: vc1hwd_container.h,v $
- -- $Revision: 1.8 $
- -- $Date: 2008/12/08 13:44:02 $
- --
- ------------------------------------------------------------------------------*/
- #ifndef VC1HWD_CONTAINER_H
- #define VC1HWD_CONTAINER_H
- /*------------------------------------------------------------------------------
- Include headers
- ------------------------------------------------------------------------------*/
- #include "vc1hwd_storage.h"
- #include "deccfg.h"
- #include "decppif.h"
- #include "refbuffer.h"
- /*------------------------------------------------------------------------------
- Module defines
- ------------------------------------------------------------------------------*/
- /* String length for tracing */
- #define VC1DEC_TRACE_STR_LEN 100
- /*------------------------------------------------------------------------------
- Data types
- ------------------------------------------------------------------------------*/
- typedef struct
- {
- enum {
- VC1DEC_UNINITIALIZED,
- VC1DEC_INITIALIZED,
- VC1DEC_RESOURCES_ALLOCATED
- } decStat;
- swStrmStorage_t storage;
- #ifdef VC1DEC_TRACE
- char str[VC1DEC_TRACE_STR_LEN];
- #endif
- u32 picNumber;
- u32 asicRunning;
- u32 vc1Regs[DEC_X170_REGISTERS];
- u32 maxWidthHw;
- DecPpInterface ppControl;
- DecPpQuery ppConfigQuery; /* Decoder asks pp info about setup,
- info stored here */
- u32 ppStatus;
- u32 refBufSupport;
- refBuffer_t refBufferCtrl;
- DWLLinearMem_t bitPlaneCtrl;
- DWLLinearMem_t directMvs;
- const void *dwl; /* DWL instance */
- const void *ppInstance;
- void (*PPRun)(const void *, DecPpInterface *);
- void (*PPEndCallback) (const void *);
- void (*PPConfigQuery)(const void *, DecPpQuery *);
- void (*PPDisplayIndex)(const void *, u32);
- void (*PPBufferData) (const void *, u32, u32, u32);
- } decContainer_t;
- /*------------------------------------------------------------------------------
- Function prototypes
- ------------------------------------------------------------------------------*/
- #endif /* #ifndef VC1HWD_CONTAINER_H */
|