mp4dechwd_container.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*------------------------------------------------------------------------------
  2. -- --
  3. -- This software is confidential and proprietary and may be used --
  4. -- only as expressly authorized by a licensing agreement from --
  5. -- --
  6. -- Hantro Products Oy. --
  7. -- --
  8. -- (C) COPYRIGHT 2006 HANTRO PRODUCTS OY --
  9. -- ALL RIGHTS RESERVED --
  10. -- --
  11. -- The entire notice above must be reproduced --
  12. -- on all copies and should not be removed. --
  13. -- --
  14. --------------------------------------------------------------------------------
  15. --
  16. -- Abstract : algorithm header file
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: mp4dechwd_container.h,v $
  23. -- $Date: 2009/09/16 14:05:22 $
  24. -- $Revision: 1.14 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef _DECCONTAINER_H_
  28. #define _DECCONTAINER_H_
  29. #include "basetype.h"
  30. #include "mp4dechwd_vopdesc.h"
  31. #include "mp4dechwd_mbsetdesc.h"
  32. #include "mp4dechwd_strmdesc.h"
  33. #include "mp4dechwd_mbdesc.h"
  34. #include "mp4dechwd_hdrs.h"
  35. #include "mp4dechwd_svdesc.h"
  36. #include "mp4dechwd_storage.h"
  37. #include "mp4dechwd_mvstorage.h"
  38. #include "mp4decapihwd_storage.h"
  39. #include "mp4deccfg.h"
  40. #include "deccfg.h"
  41. #include "decppif.h"
  42. #include "refbuffer.h"
  43. #include "workaround.h"
  44. typedef struct DecContainer_t
  45. {
  46. u32 mp4Regs[DEC_X170_REGISTERS];
  47. DecVopDesc VopDesc; /* VOP description */
  48. DecMbSetDesc MbSetDesc; /* Mb set descriptor */
  49. DecMBDesc MBDesc[MP4API_DEC_MBS];
  50. DecStrmDesc StrmDesc;
  51. DecStrmStorage StrmStorage; /* StrmDec storage */
  52. DecHdrs Hdrs;
  53. DecHdrs tmpHdrs;
  54. DecSvDesc SvDesc; /* Short video descriptor */
  55. DecApiStorage ApiStorage; /* Api's internal data storage */
  56. DecPpInterface ppControl;
  57. DecPpQuery ppConfigQuery; /* Decoder asks pp info about setup, info stored here */
  58. u32 ppStatus;
  59. u32 asicRunning;
  60. u32 rlcMode;
  61. const void *dwl;
  62. u32 refBufSupport;
  63. refBuffer_t refBufferCtrl;
  64. workaround_t workarounds;
  65. u32 packedMode;
  66. const void *ppInstance;
  67. void (*PPRun) (const void *, DecPpInterface *);
  68. void (*PPEndCallback) (const void *);
  69. void (*PPConfigQuery)(const void *, DecPpQuery *);
  70. void (*PPDisplayIndex)(const void *, u32);
  71. void (*PPBufferData) (const void *, u32, u32, u32);
  72. } DecContainer;
  73. #endif /* _DECCONTAINER_H_ */