/*****************************************************************************
Copyright (c) 2000-2003 Analog Devices.  All Rights Reserved.

Developed by Analog Devices Australia - Unit 3, 97 Lewis Road,
Wantirna, Victoria, Australia, 3152.  Email: ada.info@analog.com

THIS SOFTWARE IS PROPRIETARY & CONFIDENTIAL.  By using this module you
agree to the terms of the associated Analog Devices License Agreement.
******************************************************************************

$RCSfile: JPEG_api_decoder.h,v $
$Revision: 1.1 $
$Date: 2008/03/17 14:56:38 $

Project:	JPEG IMAGE CODEC
Title:		Common header file
Author(s):	A. Sarumpaet
Revised by: 

Description:
Declarations for JPEG Encoder Library API

References:
	
******************************************************************************
Tab Setting:			4
Target Processor:		Blackfin
Target Tools Revision:	VDSP++ 3.5
******************************************************************************

Modification History:
====================
$Log: JPEG_api_decoder.h,v $
Revision 1.1  2008/03/17 14:56:38  gstephan
Updates for SDK 3.00

Revision 1.7  2004/09/08 01:11:34  sto
added updates from Conrad to fix issues with EVAL libraries for th emode specific API functions

Revision 1.6  2004/08/30 02:17:20  sto
Checkin of all decoder related files from Conrad Jakob

Revision 1.4  2004/06/04 05:25:01  sto
jpeg encoder/decoder integrated

Revision 1.3  2004/05/20 03:24:24  sto
re-arranged directory structure, and cleaned up export headers

Revision 1.2  2004/05/20 01:06:02  sto
Checkin of Ver 0.3 delivered by Adrian Sarumpaet

Revision 1.0  2004/03/02 01:01:01  Adrian Sarumpaet
Initial code

******************************************************************************/

#ifndef JPEG_API_DECODER_H
#define JPEG_API_DECODER_H


#include "JPEG_api_common.h"

/****************************************************************************
 * 		Typedefs/Enumerations												*
 ****************************************************************************/
typedef void tJpegDecoder;

/****************************************************************************
 * 		Function Declarations												*
 ****************************************************************************/

extern tJpegDecoder		*JPEG_Decoder_NEW (tJpegParam *param);
extern void				JPEG_Decoder_DELETE (tJpegDecoder *handle);
extern int				JPEG_DecodeImage(tJpegDecoder *handle, tJpegParam *param);
extern int				JPEG_DecodeSequentialImage(tJpegDecoder *handle, tJpegParam *param);
extern int				JPEG_DecodeProgressiveImage(tJpegDecoder *handle, tJpegParam *param);
extern int				JPEG_ProcessHeader(tJpegDecoder *handle, tJpegParam *param);

#endif

