亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jmemsys.h

?? WinCE開發(fā)技巧與實(shí)例的配套源碼
?? H
字號(hào):
/*
 * jmemsys.h
 *
 * Copyright (C) 1992-1997, Thomas G. Lane.
 * This file is part of the Independent JPEG Group's software.
 * For conditions of distribution and use, see the accompanying README file.
 *
 * This include file defines the interface between the system-independent
 * and system-dependent portions of the JPEG memory manager.  No other
 * modules need include it.  (The system-independent portion is jmemmgr.c;
 * there are several different versions of the system-dependent portion.)
 *
 * This file works as-is for the system-dependent memory managers supplied
 * in the IJG distribution.  You may need to modify it if you write a
 * custom memory manager.  If system-dependent changes are needed in
 * this file, the best method is to #ifdef them based on a configuration
 * symbol supplied in jconfig.h, as we have done with USE_MSDOS_MEMMGR
 * and USE_MAC_MEMMGR.
 */


/* Short forms of external names for systems with brain-damaged linkers. */

#ifdef NEED_SHORT_EXTERNAL_NAMES
#define jpeg_get_small		jGetSmall
#define jpeg_free_small		jFreeSmall
#define jpeg_get_large		jGetLarge
#define jpeg_free_large		jFreeLarge
#define jpeg_mem_available	jMemAvail
#define jpeg_open_backing_store	jOpenBackStore
#define jpeg_mem_init		jMemInit
#define jpeg_mem_term		jMemTerm
#endif /* NEED_SHORT_EXTERNAL_NAMES */


/*
 * These two functions are used to allocate and release small chunks of
 * memory.  (Typically the total amount requested through jpeg_get_small is
 * no more than 20K or so; this will be requested in chunks of a few K each.)
 * Behavior should be the same as for the standard library functions malloc
 * and free; in particular, jpeg_get_small must return NULL on failure.
 * On most systems, these ARE malloc and free.  jpeg_free_small is passed the
 * size of the object being freed, just in case it's needed.
 * On an 80x86 machine using small-data memory model, these manage near heap.
 */

EXTERN(void *) jpeg_get_small JPP((j_common_ptr cinfo, size_t sizeofobject));
EXTERN(void) jpeg_free_small JPP((j_common_ptr cinfo, void * object,
				  size_t sizeofobject));

/*
 * These two functions are used to allocate and release large chunks of
 * memory (up to the total free space designated by jpeg_mem_available).
 * The interface is the same as above, except that on an 80x86 machine,
 * far pointers are used.  On most other machines these are identical to
 * the jpeg_get/free_small routines; but we keep them separate anyway,
 * in case a different allocation strategy is desirable for large chunks.
 */

EXTERN(void FAR *) jpeg_get_large JPP((j_common_ptr cinfo,
				       size_t sizeofobject));
EXTERN(void) jpeg_free_large JPP((j_common_ptr cinfo, void FAR * object,
				  size_t sizeofobject));

/*
 * The macro MAX_ALLOC_CHUNK designates the maximum number of bytes that may
 * be requested in a single call to jpeg_get_large (and jpeg_get_small for that
 * matter, but that case should never come into play).  This macro is needed
 * to model the 64Kb-segment-size limit of far addressing on 80x86 machines.
 * On those machines, we expect that jconfig.h will provide a proper value.
 * On machines with 32-bit flat address spaces, any large constant may be used.
 *
 * NB: jmemmgr.c expects that MAX_ALLOC_CHUNK will be representable as type
 * size_t and will be a multiple of sizeof(align_type).
 */

#ifndef MAX_ALLOC_CHUNK		/* may be overridden in jconfig.h */
#define MAX_ALLOC_CHUNK  1000000000L
#endif

/*
 * This routine computes the total space still available for allocation by
 * jpeg_get_large.  If more space than this is needed, backing store will be
 * used.  NOTE: any memory already allocated must not be counted.
 *
 * There is a minimum space requirement, corresponding to the minimum
 * feasible buffer sizes; jmemmgr.c will request that much space even if
 * jpeg_mem_available returns zero.  The maximum space needed, enough to hold
 * all working storage in memory, is also passed in case it is useful.
 * Finally, the total space already allocated is passed.  If no better
 * method is available, cinfo->mem->max_memory_to_use - already_allocated
 * is often a suitable calculation.
 *
 * It is OK for jpeg_mem_available to underestimate the space available
 * (that'll just lead to more backing-store access than is really necessary).
 * However, an overestimate will lead to failure.  Hence it's wise to subtract
 * a slop factor from the true available space.  5% should be enough.
 *
 * On machines with lots of virtual memory, any large constant may be returned.
 * Conversely, zero may be returned to always use the minimum amount of memory.
 */

EXTERN(long) jpeg_mem_available JPP((j_common_ptr cinfo,
				     long min_bytes_needed,
				     long max_bytes_needed,
				     long already_allocated));


/*
 * This structure holds whatever state is needed to access a single
 * backing-store object.  The read/write/close method pointers are called
 * by jmemmgr.c to manipulate the backing-store object; all other fields
 * are private to the system-dependent backing store routines.
 */

#define TEMP_NAME_LENGTH   64	/* max length of a temporary file's name */


#ifdef USE_MSDOS_MEMMGR		/* DOS-specific junk */

typedef unsigned short XMSH;	/* type of extended-memory handles */
typedef unsigned short EMSH;	/* type of expanded-memory handles */

typedef union {
  short file_handle;		/* DOS file handle if it's a temp file */
  XMSH xms_handle;		/* handle if it's a chunk of XMS */
  EMSH ems_handle;		/* handle if it's a chunk of EMS */
} handle_union;

#endif /* USE_MSDOS_MEMMGR */

#ifdef USE_MAC_MEMMGR		/* Mac-specific junk */
#include <Files.h>
#endif /* USE_MAC_MEMMGR */


typedef struct backing_store_struct * backing_store_ptr;

typedef struct backing_store_struct {
  /* Methods for reading/writing/closing this backing-store object */
  JMETHOD(void, read_backing_store, (j_common_ptr cinfo,
				     backing_store_ptr info,
				     void FAR * buffer_address,
				     long file_offset, long byte_count));
  JMETHOD(void, write_backing_store, (j_common_ptr cinfo,
				      backing_store_ptr info,
				      void FAR * buffer_address,
				      long file_offset, long byte_count));
  JMETHOD(void, close_backing_store, (j_common_ptr cinfo,
				      backing_store_ptr info));

  /* Private fields for system-dependent backing-store management */
#ifdef USE_MSDOS_MEMMGR
  /* For the MS-DOS manager (jmemdos.c), we need: */
  handle_union handle;		/* reference to backing-store storage object */
  char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
#else
#ifdef USE_MAC_MEMMGR
  /* For the Mac manager (jmemmac.c), we need: */
  short temp_file;		/* file reference number to temp file */
  FSSpec tempSpec;		/* the FSSpec for the temp file */
  char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
#else
  /* For a typical implementation with temp files, we need: */
  FILE * temp_file;		/* stdio reference to temp file */
  char temp_name[TEMP_NAME_LENGTH]; /* name of temp file */
#endif
#endif
} backing_store_info;


/*
 * Initial opening of a backing-store object.  This must fill in the
 * read/write/close pointers in the object.  The read/write routines
 * may take an error exit if the specified maximum file size is exceeded.
 * (If jpeg_mem_available always returns a large value, this routine can
 * just take an error exit.)
 */

EXTERN(void) jpeg_open_backing_store JPP((j_common_ptr cinfo,
					  backing_store_ptr info,
					  long total_bytes_needed));


/*
 * These routines take care of any system-dependent initialization and
 * cleanup required.  jpeg_mem_init will be called before anything is
 * allocated (and, therefore, nothing in cinfo is of use except the error
 * manager pointer).  It should return a suitable default value for
 * max_memory_to_use; this may subsequently be overridden by the surrounding
 * application.  (Note that max_memory_to_use is only important if
 * jpeg_mem_available chooses to consult it ... no one else will.)
 * jpeg_mem_term may assume that all requested memory has been freed and that
 * all opened backing-store objects have been closed.
 */

EXTERN(long) jpeg_mem_init JPP((j_common_ptr cinfo));
EXTERN(void) jpeg_mem_term JPP((j_common_ptr cinfo));

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
秋霞午夜鲁丝一区二区老狼| 狠狠色丁香久久婷婷综| 中文一区二区在线观看| 欧美成人a在线| 波多野结衣欧美| 日本欧美一区二区在线观看| 亚洲国产sm捆绑调教视频| 亚洲一区在线看| 午夜精品一区二区三区免费视频| 亚洲国产成人tv| 天天色综合天天| 蜜臀av性久久久久蜜臀aⅴ | 蜜桃精品视频在线| 久久电影国产免费久久电影| 国内精品不卡在线| 懂色av中文字幕一区二区三区 | 欧美久久婷婷综合色| 欧美福利一区二区| 欧美精品一区二区精品网| 国产欧美日韩中文久久| 国产精品国产三级国产| 悠悠色在线精品| 三级影片在线观看欧美日韩一区二区| 喷水一区二区三区| 国产福利一区二区三区视频| 成人av网站在线观看| 色综合激情五月| 日韩午夜av一区| 国产网站一区二区三区| 亚洲三级免费电影| 天天色 色综合| 国产老女人精品毛片久久| av日韩在线网站| 欧美精品久久久久久久多人混战 | 99精品国产99久久久久久白柏| 色视频成人在线观看免| 日韩欧美视频一区| 中文一区二区完整视频在线观看| 亚洲一区免费观看| 精品一区二区三区日韩| 99re热这里只有精品视频| 欧美日韩午夜影院| 国产欧美综合在线观看第十页| 亚洲一级电影视频| 国产一区二区三区精品视频| 91久久精品一区二区三| 精品国产91洋老外米糕| 一区二区三区四区中文字幕| 捆绑紧缚一区二区三区视频| 99这里只有久久精品视频| 日韩一二在线观看| 亚洲日本免费电影| 久久成人av少妇免费| 在线视频国内自拍亚洲视频| 久久视频一区二区| 亚洲第一主播视频| 成人精品视频网站| 日韩一区二区在线看片| 亚洲男人的天堂在线aⅴ视频| 久久97超碰色| 欧美日韩国产天堂| 国产精品久久久久久久岛一牛影视 | 欧美一级二级三级蜜桃| 亚洲另类在线制服丝袜| 国产乱码精品一区二区三区av | 在线视频欧美区| 国产网站一区二区| 日本欧美在线观看| 欧美午夜精品一区二区蜜桃| 国产欧美一区二区三区网站| 日本不卡中文字幕| 色婷婷av一区| 中文字幕日韩欧美一区二区三区| 国产又粗又猛又爽又黄91精品| 欧美日韩国产美女| 亚洲欧美乱综合| 不卡的av电影| 国产欧美日韩在线观看| 精品一区二区三区在线观看| 制服丝袜亚洲网站| 午夜视频在线观看一区| 91官网在线免费观看| 国产精品美女久久久久aⅴ| 国产成人综合自拍| 久久久国产一区二区三区四区小说 | 欧美日韩和欧美的一区二区| 亚洲免费在线观看视频| av在线一区二区三区| 国产欧美日韩久久| 国产精品一区二区不卡| 久久综合久久鬼色| 国产一区亚洲一区| 久久人人97超碰com| 国产一区二区三区在线观看免费 | 久久久99久久| 精品一区二区久久久| 日韩精品一区二区三区在线观看| 日韩电影免费在线看| 欧美一区二区三区在线视频| 午夜欧美视频在线观看| 欧美日韩在线综合| 午夜电影网一区| 在线成人免费视频| 久久精品国产亚洲a| 精品理论电影在线观看 | 欧美一二三四区在线| 免费成人美女在线观看.| 日韩欧美国产一二三区| 久久成人久久鬼色| 国产亚洲欧洲一区高清在线观看| 国产精品一区二区久久不卡| 中文文精品字幕一区二区| zzijzzij亚洲日本少妇熟睡| 亚洲品质自拍视频网站| 欧美三级资源在线| 日韩黄色免费网站| 久久久精品免费网站| 不卡视频一二三四| 亚洲高清免费观看| 日韩精品一区二区三区在线观看 | 欧美一区中文字幕| 亚洲美女电影在线| 在线免费观看成人短视频| 亚洲国产精品嫩草影院| 欧美一区二区视频在线观看2022| 久久国产三级精品| 国产日韩欧美麻豆| 色综合咪咪久久| 亚洲成人免费在线| 精品国产乱码久久久久久图片| 国产91精品露脸国语对白| 伊人色综合久久天天人手人婷| 欧美精品日日鲁夜夜添| 国产精品一区三区| 一区二区三区精品| 日韩欧美国产电影| 成人激情图片网| 天使萌一区二区三区免费观看| 五月综合激情网| 久久伊99综合婷婷久久伊| 99久久精品费精品国产一区二区| 亚洲电影欧美电影有声小说| 欧美变态tickle挠乳网站| 91视频www| 美女视频一区在线观看| 国产精品美女一区二区三区| 欧美片网站yy| 成人妖精视频yjsp地址| 日韩欧美视频在线| 国产麻豆精品久久一二三| 一区二区久久久久| 精品国产免费一区二区三区香蕉| 成人禁用看黄a在线| 免费高清在线视频一区·| 亚洲欧美自拍偷拍色图| 日韩免费一区二区| 91啪在线观看| 国产一区在线看| 午夜电影一区二区三区| 综合av第一页| 337p日本欧洲亚洲大胆精品| 欧洲精品中文字幕| 东方aⅴ免费观看久久av| 日韩黄色在线观看| 有码一区二区三区| 欧美国产亚洲另类动漫| 欧美一级日韩不卡播放免费| 一本色道久久综合狠狠躁的推荐 | 国产一区二区免费看| 亚洲一区二区欧美激情| 国产欧美日韩麻豆91| 日韩精品一区二区三区在线 | 精品久久一区二区三区| 在线观看日韩精品| 成人午夜电影久久影院| 久久99精品久久久久久| 丝袜美腿亚洲综合| 亚洲欧洲在线观看av| 久久久不卡影院| 欧美一区二区视频观看视频 | 亚洲人成影院在线观看| www亚洲一区| 91精品国产91久久久久久最新毛片| 色综合网站在线| 成人午夜电影小说| 国产精品88av| 精品一区二区免费| 久久国产夜色精品鲁鲁99| 日韩成人av影视| 亚洲国产精品嫩草影院| 亚洲另类中文字| 亚洲精品一二三| 日韩久久一区二区| 成人欧美一区二区三区| 国产精品久久午夜夜伦鲁鲁| 久久精品日韩一区二区三区| 久久综合五月天婷婷伊人| 26uuu成人网一区二区三区| 日韩欧美精品在线视频| 日韩一级大片在线观看|