vp8hwd_asic.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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: vp8hwd_asic.h,v $
  23. - $Revision: 1.4 $
  24. - $Date: 2010/10/20 07:29:05 $
  25. -
  26. ------------------------------------------------------------------------------*/
  27. #ifndef __VP8HWD_ASIC_H__
  28. #define __VP8HWD_ASIC_H__
  29. #include "basetype.h"
  30. #include "vp8hwd_container.h"
  31. #include "regdrv.h"
  32. #define DEC_8190_ALIGN_MASK 0x07U
  33. #define VP8HWDEC_HW_RESERVED 0x0100
  34. #define VP8HWDEC_SYSTEM_ERROR 0x0200
  35. #define VP8HWDEC_SYSTEM_TIMEOUT 0x0300
  36. void VP8HwdAsicInit(VP8DecContainer_t * pDecCont);
  37. i32 VP8HwdAsicAllocateMem(VP8DecContainer_t * pDecCont);
  38. void VP8HwdAsicReleaseMem(VP8DecContainer_t * pDecCont);
  39. i32 VP8HwdAsicAllocatePictures(VP8DecContainer_t * pDecCont);
  40. void VP8HwdAsicReleasePictures(VP8DecContainer_t * pDecCont);
  41. void VP8HwdAsicInitPicture(VP8DecContainer_t * pDecCont);
  42. void VP8HwdAsicStrmPosUpdate(VP8DecContainer_t * pDecCont, u32 busAddress);
  43. u32 VP8HwdAsicRun(VP8DecContainer_t * pDecCont);
  44. void VP8HwdAsicProbUpdate(VP8DecContainer_t * pDecCont);
  45. void VP8HwdUpdateRefs(VP8DecContainer_t * pDecCont, u32 corrupted);
  46. void VP8HwdAsicContPicture(VP8DecContainer_t * pDecCont);
  47. #endif /* __VP8HWD_ASIC_H__ */