jpegregdrv.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 : X170 JPEG Decoder HW register access functions interface
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: jpegregdrv.h,v $
  23. -- $Date: 2007/06/05 09:37:57 $
  24. -- $Revision: 1.2 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef _JPG_HWREGDRV_H_
  28. #define _JPG_HWREGDRV_H_
  29. #include "basetype.h"
  30. #include "deccfg.h"
  31. #include "regdrv.h"
  32. #define JPEG_X170_MODE_JPEG 3
  33. #define JPEGDEC_X170_IRQ_DEC_RDY 0x01
  34. #define JPEGDEC_X170_IRQ_BUS_ERROR 0x02
  35. #define JPEGDEC_X170_IRQ_BUFFER_EMPTY 0x04
  36. #define JPEGDEC_X170_IRQ_ASO 0x08
  37. #define JPEGDEC_X170_IRQ_STREAM_ERROR 0x10
  38. #define JPEGDEC_X170_IRQ_SLICE_READY 0x00
  39. #define JPEGDEC_X170_IRQ_TIMEOUT 0x40
  40. #endif /* #define _JPG_HWREGDRV_H_ */