12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- /*------------------------------------------------------------------------------
- -- --
- -- This software is confidential and proprietary and may be used --
- -- only as expressly authorized by a licensing agreement from --
- -- --
- -- Hantro Products Oy. --
- -- --
- -- (C) COPYRIGHT 2006 HANTRO PRODUCTS OY --
- -- ALL RIGHTS RESERVED --
- -- --
- -- The entire notice above must be reproduced --
- -- on all copies and should not be removed. --
- -- --
- --------------------------------------------------------------------------------
- --
- -- Description : Jpeg Decoder Internal functions
- --
- --------------------------------------------------------------------------------
- --
- -- Version control information, please leave untouched.
- --
- -- $RCSfile: jpegdecinternal.h,v $
- -- $Revision: 1.4 $
- -- $Date: 2008/09/05 06:25:37 $
- --
- ------------------------------------------------------------------------------*/
- /*------------------------------------------------------------------------------
- Table of contents
-
- 1. Include headers
- 2. Module defines
- 3. Data types
- 4. Function prototypes
- ------------------------------------------------------------------------------*/
- #ifndef JPEGDECINTERNAL_H
- #define JPEGDECINTERNAL_H
- /*------------------------------------------------------------------------------
- 1. Include headers
- ------------------------------------------------------------------------------*/
- #include <linux/module.h>
- #include <linux/platform_device.h>
- #include "basetype.h"
- #include "jpegdecapi.h"
- #include "jpegdeccontainer.h"
- #ifdef JPEGDEC_ASIC_TRACE
- #include <stdio.h>
- #endif
- /*------------------------------------------------------------------------------
- 2. Module defines
- ------------------------------------------------------------------------------*/
- #ifdef JPEGDEC_ASIC_TRACE
- #define JPEGDEC_TRACE_INTERNAL(args) printf args
- #else
- #define JPEGDEC_TRACE_INTERNAL(args) // printk args
- #endif
- /*------------------------------------------------------------------------------
- 3. Data types
- ------------------------------------------------------------------------------*/
- /*------------------------------------------------------------------------------
- 4. Function prototypes
- ------------------------------------------------------------------------------*/
- void JpegDecClearStructs(JpegDecContainer * pJpegDecCont);
- JpegDecRet JpegDecInitHW(JpegDecContainer * pJpegDecCont);
- void JpegDecInitHWContinue(JpegDecContainer * pJpegDecCont);
- void JpegDecInitHWInputBuffLoad(JpegDecContainer * pJpegDecCont);
- void JpegDecInitHWProgressiveContinue(JpegDecContainer * pJpegDecCont);
- void JpegDecInitHWNonInterleaved(JpegDecContainer * pJpegDecCont);
- JpegDecRet JpegDecAllocateResidual(JpegDecContainer * pJpegDecCont);
- void JpegDecSliceSizeCalculation(JpegDecContainer * pJpegDecCont);
- JpegDecRet JpegDecNextScanHdrs(JpegDecContainer * pJpegDecCont);
- void JpegRefreshRegs(JpegDecContainer * pJpegDecCont);
- void JpegFlushRegs(JpegDecContainer * pJpegDecCont);
- void JpegDecInitHWEmptyScan(JpegDecContainer * pJpegDecCont, u32 componentId);
- #endif /* #endif JPEGDECDATA_H */
|