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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? jmemsys.h

?? 《精通 vc++ 圖像編程》的源代碼
?? H
字號:
/*
 * jmemsys.h
 *
 * Copyright (C) 1992-1996, 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.
 */


/* 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 */

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
  /* 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
} 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));

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩色视频在线观看| 久久爱另类一区二区小说| av动漫一区二区| 国产日产欧美一区二区三区| 国产成人小视频| 国产丝袜美腿一区二区三区| 国产成人av电影在线播放| 国产三级精品视频| 成人美女在线观看| 一区二区三区精密机械公司| 欧美年轻男男videosbes| 日韩精品成人一区二区三区| 日韩欧美一区二区三区在线| 国产一区二区久久| 国产精品久99| 欧美日韩国产高清一区二区| 蜜桃视频在线观看一区| 26uuu亚洲综合色欧美| 99精品视频在线播放观看| 亚洲一级二级三级| 亚洲精品一区二区三区四区高清| 国产一区二区在线影院| 亚洲视频综合在线| 欧美日韩国产影片| 国产成人在线视频播放| 亚洲另类色综合网站| 777奇米四色成人影色区| 国产美女在线观看一区| 亚洲欧美国产高清| 欧美一区二区三区在线观看| 成人性生交大片免费看视频在线| 亚洲资源中文字幕| 亚洲精品一区二区三区影院| 欧美综合欧美视频| 国产一区二区三区四区五区美女| 亚洲欧美日韩久久精品| 日韩精品一区二区三区视频 | 久久久综合精品| 93久久精品日日躁夜夜躁欧美| 午夜私人影院久久久久| 国产精品水嫩水嫩| 在线播放视频一区| 99国产精品99久久久久久| 麻豆国产91在线播放| 亚洲特黄一级片| 久久在线免费观看| 欧美日韩国产一二三| eeuss鲁片一区二区三区在线看| 日日嗨av一区二区三区四区| 日韩一区日韩二区| 337p粉嫩大胆噜噜噜噜噜91av| 在线观看国产一区二区| 国产成人aaa| 久久精品久久综合| 亚洲成av人片在www色猫咪| 欧美国产欧美综合| 久久夜色精品国产噜噜av| 欧美高清www午色夜在线视频| 91在线观看高清| 成人综合在线观看| 国产美女精品一区二区三区| 奇米亚洲午夜久久精品| 一区二区激情小说| 亚洲欧美在线高清| 18欧美亚洲精品| 中文字幕精品综合| 久久久久久99久久久精品网站| 欧美欧美欧美欧美首页| 欧美日韩国产一区| 欧美三电影在线| 色综合久久久久综合| av成人动漫在线观看| 成人高清在线视频| 丁香激情综合五月| 国产成人福利片| 国产成人av影院| 国产成人在线网站| 成人97人人超碰人人99| 成人深夜在线观看| www.66久久| 99精品桃花视频在线观看| 91最新地址在线播放| 97久久超碰国产精品| 色999日韩国产欧美一区二区| 一本到高清视频免费精品| 99这里都是精品| 91麻豆精东视频| 91高清在线观看| 欧美日韩免费一区二区三区视频 | 欧美日本国产一区| 欧美剧情电影在线观看完整版免费励志电影| 99精品欧美一区| 色中色一区二区| 欧美日韩美少妇| 精品日本一线二线三线不卡| 亚洲精品在线电影| 国产精品网曝门| 亚洲色图第一区| 日韩理论片中文av| 天天影视涩香欲综合网 | 一区二区三区精品视频| 中文字幕一区二区三区不卡| 国产精品国模大尺度视频| 亚洲色图欧洲色图婷婷| 亚洲成a人片在线不卡一二三区| 国产精品毛片高清在线完整版| 欧美综合视频在线观看| 成人黄色在线网站| av午夜精品一区二区三区| 欧美丝袜丝交足nylons图片| 欧美一级理论性理论a| 欧美一区二区在线观看| 久久精品人人做人人爽人人| 国产精品久久久久久久浪潮网站 | 国产精品盗摄一区二区三区| 亚洲少妇中出一区| 日本不卡免费在线视频| 国产999精品久久久久久绿帽| 亚洲人亚洲人成电影网站色| 国产最新精品精品你懂的| 亚洲国产精品天堂| 亚洲你懂的在线视频| 亚洲妇女屁股眼交7| 久久国产免费看| 婷婷综合另类小说色区| 中文字幕一区二区三中文字幕| av不卡免费在线观看| 欧美一区日本一区韩国一区| 日韩欧美国产一区二区在线播放 | 亚洲精品视频在线观看免费| 免费观看在线综合色| 99re免费视频精品全部| 欧美一级搡bbbb搡bbbb| 亚洲视频在线一区二区| 国内精品国产三级国产a久久| 欧美私人免费视频| 国产精品午夜免费| 美国毛片一区二区三区| 色婷婷激情久久| 国产日韩欧美在线一区| 久久成人免费电影| 欧美日韩在线一区二区| 中文字幕一区av| 精品一区二区日韩| 日韩影院精彩在线| 久久免费看少妇高潮| 狠狠色丁香久久婷婷综| 欧美性videosxxxxx| 久久蜜桃香蕉精品一区二区三区| 性感美女极品91精品| 国产精品成人网| 亚洲国产精品久久艾草纯爱| 国产一区二区三区日韩| 欧美日韩aaa| 亚洲欧美区自拍先锋| 福利一区福利二区| 精品国产乱码久久久久久浪潮| 亚洲国产三级在线| 色爱区综合激月婷婷| 日韩伦理免费电影| 成人h动漫精品一区二区| 国产亚洲欧美日韩日本| 美女视频一区在线观看| 制服丝袜激情欧洲亚洲| 性做久久久久久免费观看欧美| av不卡免费电影| 欧美激情一区二区| 成人精品亚洲人成在线| 国产日产欧产精品推荐色| 韩国成人在线视频| 337p日本欧洲亚洲大胆色噜噜| 国内精品国产成人国产三级粉色| 欧美一区二区三区在线观看| 久久精品二区亚洲w码| 日韩精品资源二区在线| 久色婷婷小香蕉久久| 久久综合色鬼综合色| 国产成人免费在线观看不卡| 国产亚洲女人久久久久毛片| 高清国产一区二区三区| 亚洲丝袜精品丝袜在线| 91福利区一区二区三区| 亚洲图片欧美视频| 欧美精品在线一区二区三区| 青青草成人在线观看| 久久久久亚洲综合| 国产尤物一区二区在线| 欧美激情一区在线观看| 91在线看国产| 亚洲电影视频在线| 欧美电影精品一区二区| 丁香一区二区三区| 亚洲三级视频在线观看| 欧美少妇xxx| 九九**精品视频免费播放| 国产日产亚洲精品系列| 日本乱人伦aⅴ精品| 日韩综合在线视频| 久久久久久一二三区| 一本大道av一区二区在线播放|