jpegdecinternal.h 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 : Jpeg Decoder Internal functions
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: jpegdecinternal.h,v $
  23. -- $Revision: 1.4 $
  24. -- $Date: 2008/09/05 06:25:37 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. /*------------------------------------------------------------------------------
  28. Table of contents
  29. 1. Include headers
  30. 2. Module defines
  31. 3. Data types
  32. 4. Function prototypes
  33. ------------------------------------------------------------------------------*/
  34. #ifndef JPEGDECINTERNAL_H
  35. #define JPEGDECINTERNAL_H
  36. /*------------------------------------------------------------------------------
  37. 1. Include headers
  38. ------------------------------------------------------------------------------*/
  39. #include "basetype.h"
  40. #include "jpegdecapi.h"
  41. #include "jpegdeccontainer.h"
  42. #ifdef JPEGDEC_ASIC_TRACE
  43. #include <stdio.h>
  44. #endif
  45. /*------------------------------------------------------------------------------
  46. 2. Module defines
  47. ------------------------------------------------------------------------------*/
  48. #ifdef JPEGDEC_ASIC_TRACE
  49. #define JPEGDEC_TRACE_INTERNAL(args) printf args
  50. #else
  51. #define JPEGDEC_TRACE_INTERNAL(args)
  52. #endif
  53. /*------------------------------------------------------------------------------
  54. 3. Data types
  55. ------------------------------------------------------------------------------*/
  56. /*------------------------------------------------------------------------------
  57. 4. Function prototypes
  58. ------------------------------------------------------------------------------*/
  59. void JpegDecClearStructs(JpegDecContainer * pJpegDecCont);
  60. JpegDecRet JpegDecInitHW(JpegDecContainer * pJpegDecCont);
  61. void JpegDecInitHWContinue(JpegDecContainer * pJpegDecCont);
  62. void JpegDecInitHWInputBuffLoad(JpegDecContainer * pJpegDecCont);
  63. void JpegDecInitHWProgressiveContinue(JpegDecContainer * pJpegDecCont);
  64. void JpegDecInitHWNonInterleaved(JpegDecContainer * pJpegDecCont);
  65. JpegDecRet JpegDecAllocateResidual(JpegDecContainer * pJpegDecCont);
  66. void JpegDecSliceSizeCalculation(JpegDecContainer * pJpegDecCont);
  67. JpegDecRet JpegDecNextScanHdrs(JpegDecContainer * pJpegDecCont);
  68. void JpegRefreshRegs(JpegDecContainer * pJpegDecCont);
  69. void JpegFlushRegs(JpegDecContainer * pJpegDecCont);
  70. void JpegDecInitHWEmptyScan(JpegDecContainer * pJpegDecCont, u32 componentId);
  71. #endif /* #endif JPEGDECDATA_H */