rv_container.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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: rv_container.h,v $
  23. -- $Date: 2009/03/11 14:00:12 $
  24. -- $Revision: 1.1 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef RV_CONTAINER_H
  28. #define RV_CONTAINER_H
  29. #include "basetype.h"
  30. #include "rv_framedesc.h"
  31. #include "rv_mbsetdesc.h"
  32. #include "rv_strmdesc.h"
  33. #include "rv_hdrs.h"
  34. #include "rv_storage.h"
  35. #include "rv_apistorage.h"
  36. #include "rv_cfg.h"
  37. #include "deccfg.h"
  38. #include "decppif.h"
  39. #include "refbuffer.h"
  40. typedef struct
  41. {
  42. u32 rvRegs[DEC_X170_REGISTERS];
  43. DecFrameDesc FrameDesc; /* Frame description */
  44. DecMbSetDesc MbSetDesc; /* Mb set descriptor */
  45. DecStrmDesc StrmDesc;
  46. DecStrmStorage StrmStorage; /* StrmDec storage */
  47. DecHdrs Hdrs;
  48. DecHdrs tmpHdrs; /* for decoding of repeated headers */
  49. DecApiStorage ApiStorage; /* Api's internal data storage */
  50. DecPpInterface ppControl;
  51. DecPpQuery ppConfigQuery; /* Decoder asks pp info about setup, info stored here */
  52. u32 ppStatus;
  53. u32 asicRunning;
  54. u32 mbErrorConceal;
  55. const void *dwl;
  56. u32 refBufSupport;
  57. refBuffer_t refBufferCtrl;
  58. const void *ppInstance;
  59. void (*PPRun) (const void *, DecPpInterface *);
  60. void (*PPEndCallback) (const void *);
  61. void (*PPConfigQuery) (const void *, DecPpQuery *);
  62. void (*PPDisplayIndex)(const void *, u32);
  63. void (*PPBufferData) (const void *, u32, u32, u32);
  64. } DecContainer;
  65. #endif /* #ifndef RV_CONTAINER_H */