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

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

?? jmemsys.h

?? 一款最完整的工業(yè)組態(tài)軟源代碼
?? H
字號:
/*
 * 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
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费不卡视频| 日韩午夜av电影| 精品国产一区二区精华| 亚洲精品中文在线观看| 国产曰批免费观看久久久| 欧美日韩视频在线观看一区二区三区| 欧美激情资源网| 国产露脸91国语对白| 欧美一区二区三区男人的天堂| 亚洲与欧洲av电影| 欧美在线你懂得| 亚洲成人激情av| 视频一区在线视频| 舔着乳尖日韩一区| 亚洲视频一区二区免费在线观看| 欧美日高清视频| 精品一区二区久久| 国产欧美精品一区二区三区四区| 韩国成人福利片在线播放| 欧美日韩大陆一区二区| 亚洲国产日韩综合久久精品| 欧美午夜精品久久久久久超碰| 日韩av电影免费观看高清完整版在线观看 | 亚洲一卡二卡三卡四卡五卡| 欧美日韩国产一二三| 一区二区三区91| 在线欧美日韩精品| 久久69国产一区二区蜜臀| 欧美激情一区在线| 在线一区二区三区四区五区| 天天综合日日夜夜精品| 欧美一区二区三区在线观看 | 蜜桃av噜噜一区| 日韩欧美专区在线| 国产白丝网站精品污在线入口| 国产精品免费aⅴ片在线观看| 国产suv精品一区二区883| 美女诱惑一区二区| 日日夜夜精品视频天天综合网| 亚洲高清一区二区三区| 亚洲成a人片在线观看中文| 亚洲视频免费观看| 亚洲电影在线播放| 美女视频黄a大片欧美| 亚洲制服丝袜av| 亚洲一区精品在线| 亚洲高清一区二区三区| 日本美女视频一区二区| 视频在线观看91| 麻豆精品精品国产自在97香蕉 | 一区二区三区免费观看| 亚洲美女区一区| 一区二区欧美精品| 日韩黄色片在线观看| 久久91精品国产91久久小草| 国产91精品精华液一区二区三区| 成人永久看片免费视频天堂| 97精品国产露脸对白| 91黄色激情网站| 日韩午夜电影av| 中文字幕免费在线观看视频一区| 国产精品天美传媒| 亚洲国产精品久久艾草纯爱 | 国产日韩影视精品| 国产精品乱码人人做人人爱 | 国内精品免费**视频| 91婷婷韩国欧美一区二区| 欧美午夜影院一区| 国产日韩欧美激情| 亚洲成人7777| 成人黄色综合网站| 欧美高清激情brazzers| 国产欧美日韩视频一区二区| 亚欧色一区w666天堂| www.亚洲在线| 国产亚洲一区二区三区| 免费日韩伦理电影| 精品视频在线看| 中文字幕一区二区三区av| 美女脱光内衣内裤视频久久网站 | 欧美日韩激情一区| 亚洲天堂免费看| 国产精品一级在线| 日韩欧美一区二区视频| 亚洲福利国产精品| 欧美性大战久久久久久久| 综合电影一区二区三区| 成人免费高清视频| 中文字幕av不卡| 不卡在线观看av| 国产精品亲子乱子伦xxxx裸| 韩日精品视频一区| 久久久久久免费| 国产福利不卡视频| 国产精品嫩草影院com| 成人在线视频一区二区| 国产精品网曝门| www.色精品| 亚洲精品网站在线观看| 色婷婷国产精品| 天天综合色天天综合| 欧美不卡一区二区三区四区| 久久国产综合精品| 久久伊人中文字幕| 97se狠狠狠综合亚洲狠狠| 亚洲伊人色欲综合网| 日韩免费看网站| 91亚洲午夜精品久久久久久| 一区二区三区在线免费观看| 国产精品自在欧美一区| 亚洲蜜臀av乱码久久精品| 7777精品久久久大香线蕉| 国产一区二区三区免费观看| 亚洲免费毛片网站| 欧美成人精品二区三区99精品| 成人国产视频在线观看| 日韩制服丝袜av| 国产精品欧美一区喷水| 欧美日韩一二三| 福利视频网站一区二区三区| 亚洲午夜久久久久久久久久久| 日韩欧美色综合网站| 91官网在线观看| a亚洲天堂av| 国产一二精品视频| 亚洲国产另类av| 国产精品国产三级国产a| 日韩无一区二区| 欧美日韩久久久| 欧美午夜影院一区| 色综合久久综合| 国产精品一二三四区| 日韩电影在线一区二区三区| 亚洲人精品午夜| 亚洲欧美日韩国产另类专区| 精品91自产拍在线观看一区| 日韩一级精品视频在线观看| 欧美天堂亚洲电影院在线播放| 不卡av免费在线观看| 国产成人综合精品三级| 久久99精品国产麻豆婷婷洗澡| 免费高清在线一区| 精品一二三四在线| 国产一区二区三区电影在线观看| 成人福利视频在线| av一区二区三区在线| 色系网站成人免费| 欧美日韩精品系列| 日韩一区二区三区免费看 | 成人一道本在线| 91香蕉视频mp4| 欧美日韩精品一区视频| 欧美肥妇毛茸茸| 国产欧美精品一区aⅴ影院 | 久久国产免费看| 国产一区二区在线看| 成人自拍视频在线观看| 色菇凉天天综合网| 欧美一区二区在线视频| 久久久噜噜噜久噜久久综合| 国产精品久久毛片av大全日韩| 亚洲欧美日韩久久| 麻豆91免费观看| 99精品视频在线观看| 在线精品视频免费播放| 日韩欧美aaaaaa| 一区二区三区四区av| 另类小说视频一区二区| gogo大胆日本视频一区| 91精品国产一区二区| 国产精品久久福利| 久久99久久99精品免视看婷婷| 91麻豆蜜桃一区二区三区| 日韩一区二区中文字幕| 亚洲青青青在线视频| 国产一区二区美女| 欧美一区二区三区白人| 亚洲免费观看高清完整| 国产一区日韩二区欧美三区| 6080国产精品一区二区| 亚洲欧美视频在线观看| 成人精品在线视频观看| 欧美成人a∨高清免费观看| 亚洲国产一区二区三区青草影视| 成人免费av网站| 日本一区二区免费在线| 国产美女在线观看一区| 欧美精品一区二区三区久久久| 麻豆精品久久久| 精品少妇一区二区三区视频免付费 | 国产一区二区三区在线观看精品| 欧美一区二区美女| 蜜臀久久99精品久久久久宅男| 欧美女孩性生活视频| 日韩经典中文字幕一区| 在线不卡中文字幕播放| 男女视频一区二区| 久久久久青草大香线综合精品| 国产一区二区三区高清播放| 国产拍揄自揄精品视频麻豆|