vp6hwd_asic.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 : ...
  17. -
  18. --------------------------------------------------------------------------------
  19. -
  20. - Version control information, please leave untouched.
  21. -
  22. - $RCSfile: vp6hwd_asic.h,v $
  23. - $Revision: 1.2 $
  24. - $Date: 2008/04/16 14:13:28 $
  25. -
  26. ------------------------------------------------------------------------------*/
  27. #ifndef __VP6HWD_ASIC_H__
  28. #define __VP6HWD_ASIC_H__
  29. #include "basetype.h"
  30. #include "vp6hwd_container.h"
  31. #include "regdrv.h"
  32. #define DEC_8190_ALIGN_MASK 0x07U
  33. #define DEC_8190_MODE_VP6 0x07U
  34. #define VP6HWDEC_HW_RESERVED 0x0100
  35. #define VP6HWDEC_SYSTEM_ERROR 0x0200
  36. #define VP6HWDEC_SYSTEM_TIMEOUT 0x0300
  37. void VP6HwdAsicInit(VP6DecContainer_t * pDecCont);
  38. i32 VP6HwdAsicAllocateMem(VP6DecContainer_t * pDecCont);
  39. void VP6HwdAsicReleaseMem(VP6DecContainer_t * pDecCont);
  40. i32 VP6HwdAsicAllocatePictures(VP6DecContainer_t * pDecCont);
  41. void VP6HwdAsicReleasePictures(VP6DecContainer_t * pDecCont);
  42. void VP6HwdAsicInitPicture(VP6DecContainer_t * pDecCont);
  43. void VP6HwdAsicStrmPosUpdate(VP6DecContainer_t * pDecCont);
  44. u32 VP6HwdAsicRun(VP6DecContainer_t * pDecCont);
  45. void VP6HwdAsicProbUpdate(VP6DecContainer_t * pDecCont);
  46. #endif /* __VP6HWD_ASIC_H__ */