⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jpeg_memalloc.h

📁 ADI blackfin DSP的基于device friver的jpeg压缩算法
💻 H
字号:
/*****************************************************************************
Copyright(c) 2005 Analog Devices, Inc.  All Rights Reserved. This software is 
proprietary and confidential to Analog Devices, Inc. and its licensors.
******************************************************************************

$RCSfile: JPEG_memalloc.h,v $
$Revision: 1.1 $
$Date: 2006/07/17 07:18:18 $

Project:	JPEG IMAGE CODEC
Title:		Memalloc Typedefs
Author(s):	S. To
Revised by:	

Description:
Header for all user-defined modules requiring memory allocation.

The data structures defined here are ONLY referenced directly in the user-defined 
modules: memalloc.c .

References:
	
******************************************************************************
Tab Setting:			4
Target Processor:		Blackfin
Target Tools Revision:	VDSP++ 4.0
******************************************************************************

Modification History:
====================
$Log: JPEG_memalloc.h,v $
Revision 1.1  2006/07/17 07:18:18  bmk
JPEG-MJPEG User access files


******************************************************************************/

#ifndef MEMALLOC_H
#define MEMALLOC_H

/* Structure for Memory Alloc Object (user definable) */
typedef struct
{
	void		*MemoryAllocated;
} MemObjHandle;

#ifdef __cplusplus
extern "C" {
#endif

/* Memory Types to pass to JPEG_MemAlloc_NEW() - these are fixed and cannot be changed */
typedef enum{
    MEM_TYPE_DATA,
    MEM_TYPE_TABLE,
    MEM_TYPE_OBJECT
} Mem_type;


/* Function prototypes - these are fixed and cannot be changed */
extern MemObjHandle		*JPEG_MemAlloc_NEW (int N_element, int size, Mem_type attr);
extern void				JPEG_MemAlloc_DELETE (MemObjHandle *mem_obj);
extern void				*JPEG_MemAlloc_ADDRESS (MemObjHandle *mem_obj);


#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -