vc1hwd_asic.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. -- Description : interface for interaction to hw
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: vc1hwd_asic.h,v $
  23. -- $Revision: 1.2 $
  24. -- $Date: 2007/09/03 12:07:45 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef VC1HWD_ASIC_H
  28. #define VC1HWD_ASIC_H
  29. /*------------------------------------------------------------------------------
  30. Include headers
  31. ------------------------------------------------------------------------------*/
  32. #include "basetype.h"
  33. #include "vc1hwd_container.h"
  34. #include "vc1hwd_stream.h"
  35. /*------------------------------------------------------------------------------
  36. Module defines
  37. ------------------------------------------------------------------------------*/
  38. #define X170_DEC_TIMEOUT 0xFFU
  39. #define X170_DEC_SYSTEM_ERROR 0xFEU
  40. #define X170_DEC_HW_RESERVED 0xFDU
  41. /*------------------------------------------------------------------------------
  42. Data types
  43. ------------------------------------------------------------------------------*/
  44. /*------------------------------------------------------------------------------
  45. Function prototypes
  46. ------------------------------------------------------------------------------*/
  47. u32 VC1RunAsic(decContainer_t *pDecCont, strmData_t *pStrmData,
  48. u32 strmBusAddr);
  49. #ifdef _DEC_PP_USAGE
  50. void PrintDecPpUsage( decContainer_t *pDecCont,
  51. u32 ff,
  52. u32 picIndex,
  53. u32 decStatus,
  54. u32 picId);
  55. #endif
  56. #endif /* #ifndef VC1HWD_ASIC_H */