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

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

?? jdct.h

?? 常好且全面的jpeg圖像壓縮算法
?? H
字號(hào):
/*
 * jdct.h
 *
 * Copyright (C) 1994-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 contains common declarations for the forward and
 * inverse DCT modules.  These declarations are private to the DCT managers
 * (jcdctmgr.c, jddctmgr.c) and the individual DCT algorithms.
 * The individual DCT algorithms are kept in separate files to ease 
 * machine-dependent tuning (e.g., assembly coding).
 */


/*
 * A forward DCT routine is given a pointer to a work area of type DCTELEM[];
 * the DCT is to be performed in-place in that buffer.  Type DCTELEM is int
 * for 8-bit samples, INT32 for 12-bit samples.  (NOTE: Floating-point DCT
 * implementations use an array of type FAST_FLOAT, instead.)
 * The DCT inputs are expected to be signed (range +-CENTERJSAMPLE).
 * The DCT outputs are returned scaled up by a factor of 8; they therefore
 * have a range of +-8K for 8-bit data, +-128K for 12-bit data.  This
 * convention improves accuracy in integer implementations and saves some
 * work in floating-point ones.
 * Quantization of the output coefficients is done by jcdctmgr.c.
 */

#if BITS_IN_JSAMPLE == 8
typedef int DCTELEM;		/* 16 or 32 bits is fine */
#else
typedef INT32 DCTELEM;		/* must have 32 bits */
#endif

typedef JMETHOD(void, forward_DCT_method_ptr, (DCTELEM * data));
typedef JMETHOD(void, float_DCT_method_ptr, (FAST_FLOAT * data));


/*
 * An inverse DCT routine is given a pointer to the input JBLOCK and a pointer
 * to an output sample array.  The routine must dequantize the input data as
 * well as perform the IDCT; for dequantization, it uses the multiplier table
 * pointed to by compptr->dct_table.  The output data is to be placed into the
 * sample array starting at a specified column.  (Any row offset needed will
 * be applied to the array pointer before it is passed to the IDCT code.)
 * Note that the number of samples emitted by the IDCT routine is
 * DCT_scaled_size * DCT_scaled_size.
 */

/* typedef inverse_DCT_method_ptr is declared in jpegint.h */

/*
 * Each IDCT routine has its own ideas about the best dct_table element type.
 */

typedef MULTIPLIER ISLOW_MULT_TYPE; /* short or int, whichever is faster */
#if BITS_IN_JSAMPLE == 8
typedef MULTIPLIER IFAST_MULT_TYPE; /* 16 bits is OK, use short if faster */
#define IFAST_SCALE_BITS  2	/* fractional bits in scale factors */
#else
typedef INT32 IFAST_MULT_TYPE;	/* need 32 bits for scaled quantizers */
#define IFAST_SCALE_BITS  13	/* fractional bits in scale factors */
#endif
typedef FAST_FLOAT FLOAT_MULT_TYPE; /* preferred floating type */


/*
 * Each IDCT routine is responsible for range-limiting its results and
 * converting them to unsigned form (0..MAXJSAMPLE).  The raw outputs could
 * be quite far out of range if the input data is corrupt, so a bulletproof
 * range-limiting step is required.  We use a mask-and-table-lookup method
 * to do the combined operations quickly.  See the comments with
 * prepare_range_limit_table (in jdmaster.c) for more info.
 */

#define IDCT_range_limit(cinfo)  ((cinfo)->sample_range_limit + CENTERJSAMPLE)

#define RANGE_MASK  (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */


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

#ifdef NEED_SHORT_EXTERNAL_NAMES
#define jpeg_fdct_islow		jFDislow
#define jpeg_fdct_ifast		jFDifast
#define jpeg_fdct_float		jFDfloat
#define jpeg_idct_islow		jRDislow
#define jpeg_idct_ifast		jRDifast
#define jpeg_idct_float		jRDfloat
#define jpeg_idct_4x4		jRD4x4
#define jpeg_idct_2x2		jRD2x2
#define jpeg_idct_1x1		jRD1x1
#endif /* NEED_SHORT_EXTERNAL_NAMES */

/* Extern declarations for the forward and inverse DCT routines. */

EXTERN(void) jpeg_fdct_islow JPP((DCTELEM * data));
EXTERN(void) jpeg_fdct_ifast JPP((DCTELEM * data));
EXTERN(void) jpeg_fdct_float JPP((FAST_FLOAT * data));

EXTERN(void) jpeg_idct_islow
    JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
	 JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col));
EXTERN(void) jpeg_idct_ifast
    JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
	 JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col));
EXTERN(void) jpeg_idct_float
    JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
	 JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col));
EXTERN(void) jpeg_idct_4x4
    JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
	 JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col));
EXTERN(void) jpeg_idct_2x2
    JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
	 JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col));
EXTERN(void) jpeg_idct_1x1
    JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
	 JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col));


/*
 * Macros for handling fixed-point arithmetic; these are used by many
 * but not all of the DCT/IDCT modules.
 *
 * All values are expected to be of type INT32.
 * Fractional constants are scaled left by CONST_BITS bits.
 * CONST_BITS is defined within each module using these macros,
 * and may differ from one module to the next.
 */

#define ONE	((INT32) 1)
#define CONST_SCALE (ONE << CONST_BITS)

/* Convert a positive real constant to an integer scaled by CONST_SCALE.
 * Caution: some C compilers fail to reduce "FIX(constant)" at compile time,
 * thus causing a lot of useless floating-point operations at run time.
 */

#define FIX(x)	((INT32) ((x) * CONST_SCALE + 0.5))

/* Descale and correctly round an INT32 value that's scaled by N bits.
 * We assume RIGHT_SHIFT rounds towards minus infinity, so adding
 * the fudge factor is correct for either sign of X.
 */

#define DESCALE(x,n)  RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)

/* Multiply an INT32 variable by an INT32 constant to yield an INT32 result.
 * This macro is used only when the two inputs will actually be no more than
 * 16 bits wide, so that a 16x16->32 bit multiply can be used instead of a
 * full 32x32 multiply.  This provides a useful speedup on many machines.
 * Unfortunately there is no way to specify a 16x16->32 multiply portably
 * in C, but some C compilers will do the right thing if you provide the
 * correct combination of casts.
 */

#ifdef SHORTxSHORT_32		/* may work if 'int' is 32 bits */
#define MULTIPLY16C16(var,const)  (((INT16) (var)) * ((INT16) (const)))
#endif
#ifdef SHORTxLCONST_32		/* known to work with Microsoft C 6.0 */
#define MULTIPLY16C16(var,const)  (((INT16) (var)) * ((INT32) (const)))
#endif

#ifndef MULTIPLY16C16		/* default definition */
#define MULTIPLY16C16(var,const)  ((var) * (const))
#endif

/* Same except both inputs are variables. */

#ifdef SHORTxSHORT_32		/* may work if 'int' is 32 bits */
#define MULTIPLY16V16(var1,var2)  (((INT16) (var1)) * ((INT16) (var2)))
#endif

#ifndef MULTIPLY16V16		/* default definition */
#define MULTIPLY16V16(var1,var2)  ((var1) * (var2))
#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩av电影免费观看高清完整版 | 欧美日韩国产首页| 欧美一区二区三区四区高清 | 中文字幕视频一区| 日韩成人免费在线| 91视频免费播放| 欧美一区二区三区在线观看视频 | 一区二区三区加勒比av| 国产一区999| 欧美一区二区三区在| 亚洲色图欧洲色图婷婷| 看电影不卡的网站| 欧美三级视频在线| 国产精品国产三级国产aⅴ无密码| 亚洲一区二区黄色| 不卡的看片网站| 久久夜色精品国产噜噜av| 日韩精品一区第一页| 在线视频一区二区三| 中文av字幕一区| 国产乱人伦精品一区二区在线观看| 91精品婷婷国产综合久久竹菊| 亚洲乱码国产乱码精品精可以看| 国产精品18久久久| 久久久久久综合| 精品一二三四区| 91精品婷婷国产综合久久| 亚洲免费电影在线| 成人一区二区视频| 日本一区二区综合亚洲| 国模无码大尺度一区二区三区| 在线播放中文一区| 视频一区欧美日韩| 91精品国产麻豆| 秋霞午夜鲁丝一区二区老狼| 欧美精品日韩一区| 美国av一区二区| 欧美tickling挠脚心丨vk| 日日摸夜夜添夜夜添精品视频 | 在线观看亚洲专区| 亚洲激情中文1区| 在线观看不卡视频| 日韩精品高清不卡| 欧美mv日韩mv| 国产精选一区二区三区| 国产精品欧美久久久久一区二区| 丰满少妇久久久久久久| 国产精品福利在线播放| 一本色道**综合亚洲精品蜜桃冫| 亚洲精品国产无套在线观| 精品视频色一区| 精品一二三四区| 国产日韩欧美精品综合| 91免费观看国产| 日韩在线观看一区二区| 精品sm在线观看| 波多野结衣中文字幕一区二区三区 | 久久久不卡网国产精品二区| 国产成人综合在线播放| 中文字幕在线观看一区| 欧美三区在线视频| 狠狠狠色丁香婷婷综合激情 | 国产精品99久久久久久久女警| 中文字幕国产精品一区二区| 91国偷自产一区二区开放时间 | 欧美日韩中文字幕一区| 麻豆精品视频在线观看免费| 久久精品在这里| 在线日韩国产精品| 国产一区二区按摩在线观看| 亚洲色图.com| 精品少妇一区二区三区日产乱码| 成人精品小蝌蚪| 免费人成网站在线观看欧美高清| 国产精品午夜在线| 7777精品伊人久久久大香线蕉超级流畅 | 久久99精品国产麻豆不卡| 国产精品久久久久久久久免费丝袜 | 国产精品伦理一区二区| 欧美日韩一二三区| 国产91精品在线观看| 视频在线观看一区| 亚洲老妇xxxxxx| 久久久久久久久岛国免费| 在线免费观看日本欧美| 国产资源在线一区| 视频一区视频二区中文| 亚洲日穴在线视频| 久久久综合网站| 91精品国产全国免费观看| 91色婷婷久久久久合中文| 精品一区二区三区在线视频| 亚洲一区二区精品视频| 国产精品三级av在线播放| 日韩你懂的电影在线观看| 欧美午夜精品理论片a级按摩| 成人黄色免费短视频| 麻豆国产一区二区| 亚洲不卡在线观看| 亚洲一卡二卡三卡四卡无卡久久| 中文字幕五月欧美| 国产精品视频观看| 国产女人18毛片水真多成人如厕| 欧美成人aa大片| 制服丝袜日韩国产| 欧美三级日韩在线| 欧美亚洲高清一区二区三区不卡| av亚洲精华国产精华精华| 国产很黄免费观看久久| 狠狠色综合日日| 国产一区二区视频在线| 经典一区二区三区| 国产麻豆视频一区二区| 国产精品自拍av| 成人晚上爱看视频| 国产jizzjizz一区二区| 国产东北露脸精品视频| 国产一区二区三区不卡在线观看| 精品午夜一区二区三区在线观看| 久久国产精品一区二区| 美国一区二区三区在线播放| 激情久久五月天| 国产成人aaaa| 91麻豆123| 日本韩国精品在线| 欧美日韩国产首页在线观看| 91精品国模一区二区三区| 91精品国产乱码| 欧美xxxxxxxx| 国产色一区二区| 一区在线播放视频| 亚洲综合激情另类小说区| 天天操天天干天天综合网| 日韩精品一二三| 精品一区二区三区免费毛片爱 | 亚洲第一福利视频在线| 首页国产欧美日韩丝袜| 国内精品国产三级国产a久久| 国产老妇另类xxxxx| 成人av资源在线| 一本在线高清不卡dvd| 欧美精品成人一区二区三区四区| 欧美一区在线视频| 国产性天天综合网| 亚洲愉拍自拍另类高清精品| 日韩电影在线观看电影| 国产成人啪午夜精品网站男同| 99国产精品久久| 91精品国产综合久久精品性色 | 欧美精品久久天天躁| 欧美第一区第二区| 专区另类欧美日韩| 毛片av中文字幕一区二区| voyeur盗摄精品| 在线不卡欧美精品一区二区三区| 欧美激情综合在线| 日韩精品一级二级 | 日韩一区二区高清| 国产精品国产三级国产aⅴ原创| 亚洲成人在线网站| 粉嫩嫩av羞羞动漫久久久 | www.欧美日韩| 欧美一区二区三区婷婷月色| 国产精品初高中害羞小美女文| 日韩二区三区四区| 久久久99久久| 午夜国产精品影院在线观看| 丁香婷婷综合色啪| 日韩三区在线观看| 亚洲免费电影在线| 成人美女视频在线看| 日韩三级视频在线看| 亚洲在线免费播放| 99久久精品免费看国产 | 欧美日韩不卡一区| 中国av一区二区三区| 美女性感视频久久| 欧美夫妻性生活| 亚洲三级在线免费观看| 国产91精品精华液一区二区三区 | 婷婷中文字幕综合| 99re亚洲国产精品| 中文字幕久久午夜不卡| 国产毛片精品国产一区二区三区| 在线不卡中文字幕| 午夜欧美在线一二页| 一本大道av伊人久久综合| 国产精品国产自产拍高清av| 国产中文字幕一区| 精品少妇一区二区三区视频免付费| 午夜激情久久久| 欧美日韩国产大片| 五月婷婷激情综合| 欧美另类变人与禽xxxxx| 亚洲啪啪综合av一区二区三区| 成人午夜激情片| 国产精品久久久久久久久免费丝袜 | 日韩欧美一二三四区| 亚洲成人av电影在线| 欧美日韩在线三区|