mpeg2hwd_container.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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: mpeg2hwd_container.h,v $
  23. -- $Date: 2009/10/20 08:50:44 $
  24. -- $Revision: 1.13 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef _MPEG2DECCONTAINER_H_
  28. #define _MPEG2DECCONTAINER_H_
  29. #include "basetype.h"
  30. #include "mpeg2hwd_framedesc.h"
  31. #include "mpeg2hwd_mbsetdesc.h"
  32. #include "mpeg2hwd_strmdesc.h"
  33. #include "mpeg2hwd_hdrs.h"
  34. #include "mpeg2hwd_storage.h"
  35. #include "mpeg2hwd_apistorage.h"
  36. #include "mpeg2hwd_cfg.h"
  37. #include "deccfg.h"
  38. #include "decppif.h"
  39. #include "refbuffer.h"
  40. #include "workaround.h"
  41. typedef struct
  42. {
  43. u32 mpeg2Regs[DEC_X170_REGISTERS];
  44. DecFrameDesc FrameDesc; /* Frame description */
  45. DecMbSetDesc MbSetDesc; /* Mb set descriptor */
  46. DecStrmDesc StrmDesc;
  47. DecStrmStorage StrmStorage; /* StrmDec storage */
  48. DecHdrs Hdrs;
  49. DecHdrs tmpHdrs; /* for decoding of repeated headers */
  50. DecApiStorage ApiStorage; /* Api's internal data storage */
  51. DecPpInterface ppControl;
  52. DecPpQuery ppConfigQuery; /* Decoder asks pp info about setup, info stored here */
  53. u32 ppStatus;
  54. u32 asicRunning;
  55. u32 mbErrorConceal;
  56. const void *dwl;
  57. u32 refBufSupport;
  58. refBuffer_t refBufferCtrl;
  59. u32 keepHwReserved;
  60. u32 unpairedField;
  61. workaround_t workarounds;
  62. const void *ppInstance;
  63. void (*PPRun) (const void *, DecPpInterface *);
  64. void (*PPEndCallback) (const void *);
  65. void (*PPConfigQuery) (const void *, DecPpQuery *);
  66. void (*PPDisplayIndex)(const void *, u32);
  67. void (*PPBufferData) (const void *, u32, u32, u32);
  68. } DecContainer;
  69. #endif /* #ifndef _MPEG2DECCONTAINER_H_ */