rv_apistorage.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 : API's internal static data storage definition
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: rv_apistorage.h,v $
  23. -- $Date: 2010/02/05 14:24:12 $
  24. -- $Revision: 1.2 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef RV_APISTORAGE_H
  28. #define RV_APISTORAGE_H
  29. #include "dwl.h"
  30. typedef struct
  31. {
  32. enum
  33. {
  34. UNINIT,
  35. INITIALIZED,
  36. HEADERSDECODED,
  37. STREAMDECODING,
  38. HW_PIC_STARTED,
  39. HW_STRM_ERROR
  40. } DecStat;
  41. enum
  42. {
  43. NO_BUFFER = 0,
  44. BUFFER_0,
  45. BUFFER_1,
  46. BUFFER_2,
  47. BUFFER_3
  48. } bufferForPp;
  49. DWLLinearMem_t InternalFrameIn;
  50. DWLLinearMem_t InternalFrameOut;
  51. u32 firstHeaders;
  52. u32 disableFilter;
  53. u32 externalBuffers; /* application gives frame buffers */
  54. } DecApiStorage;
  55. #endif /* #ifndef RV_APISTORAGE_H */