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

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

?? jdct.h

?? 《精通 vc++ 圖像編程》的源代碼
?? H
字號:
/*
 * 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩绯色av一区二区在线观看| 不卡免费追剧大全电视剧网站| 亚洲电影第三页| 亚洲素人一区二区| 亚洲图片你懂的| |精品福利一区二区三区| 亚洲欧美自拍偷拍色图| 国产精品你懂的| 亚洲婷婷国产精品电影人久久| 成人免费视频在线观看| 亚洲欧美另类在线| 亚洲一区二区三区四区中文字幕| 一区二区日韩av| 亚洲第一会所有码转帖| 首页国产欧美久久| 美女尤物国产一区| 国产一区二区三区久久久| 久久福利视频一区二区| 国产二区国产一区在线观看| 国产精品资源网站| 北条麻妃国产九九精品视频| 91小视频在线免费看| 欧美在线免费观看亚洲| 欧美男生操女生| 精品久久久久久久久久久院品网| 久久综合色播五月| 日韩码欧中文字| 亚洲不卡一区二区三区| 久久精品国产成人一区二区三区| 国产盗摄精品一区二区三区在线 | 热久久免费视频| 久久97超碰色| 99久久99久久精品免费看蜜桃 | wwww国产精品欧美| 国产精品入口麻豆原神| 亚洲综合偷拍欧美一区色| 日本不卡一区二区三区高清视频| 韩国毛片一区二区三区| 成年人国产精品| 欧美日韩日日夜夜| 久久美女艺术照精彩视频福利播放| 中文av一区二区| 五月天久久比比资源色| 韩国毛片一区二区三区| 色香蕉久久蜜桃| 337p日本欧洲亚洲大胆色噜噜| 国产精品久线观看视频| 午夜视频在线观看一区二区| 国产福利一区二区三区在线视频| 色狠狠av一区二区三区| 欧美精品一区男女天堂| 一区二区三区视频在线观看| 久99久精品视频免费观看| 91色.com| 久久影院午夜片一区| 一区二区视频在线看| 国内精品免费**视频| 亚洲男人的天堂在线观看| 日韩中文字幕av电影| 91在线观看下载| 337p日本欧洲亚洲大胆色噜噜| 亚洲一区影音先锋| 成人动漫视频在线| 日韩手机在线导航| 一区二区在线观看视频 | 26uuu亚洲综合色| 亚洲精品国产高清久久伦理二区| 亚洲一线二线三线久久久| 国内精品伊人久久久久av一坑 | 国产欧美一区二区三区在线老狼| 天天色天天爱天天射综合| 99免费精品视频| 久久在线观看免费| 日本欧美韩国一区三区| 日本精品视频一区二区| 久久久久国产精品免费免费搜索| 婷婷中文字幕综合| 91久久精品一区二区三区| 欧美精品一区二区三区很污很色的| 亚洲伊人伊色伊影伊综合网| 不卡一区二区中文字幕| 久久久精品日韩欧美| 日本美女视频一区二区| 在线观看www91| 国产精品久久久久影院色老大| 紧缚奴在线一区二区三区| 欧美一区二区不卡视频| 亚洲一区二区三区中文字幕在线| 91蜜桃网址入口| 国产精品麻豆网站| 国产黄色精品视频| 久久久久久久性| 国产一区二区伦理| 精品国精品国产尤物美女| 男女男精品网站| 91精品国产一区二区| 视频一区二区三区中文字幕| 欧美色精品天天在线观看视频| 亚洲欧美自拍偷拍| 91网页版在线| 亚洲三级在线免费观看| 91麻豆国产精品久久| 日韩一区在线播放| 一本大道久久a久久精二百| 中文字幕一区在线观看| av亚洲精华国产精华精华| 国产精品国产成人国产三级| 99这里只有久久精品视频| 国产精品久久久久久亚洲伦| 波多野洁衣一区| 日韩毛片视频在线看| 色综合久久天天| 亚洲成人激情自拍| 欧美一级日韩不卡播放免费| 麻豆成人av在线| 久久久久综合网| 国产成人高清视频| 中文字幕在线不卡视频| 色婷婷精品久久二区二区蜜臀av | 不卡的av电影| 亚洲伦在线观看| 欧美日韩亚洲高清一区二区| 日韩中文字幕不卡| 久久婷婷国产综合精品青草| 成人av网址在线| 亚洲在线视频网站| 91精品国产一区二区三区蜜臀 | 欧美三级在线播放| 日本成人在线网站| 久久久久久久性| 91丨porny丨国产入口| 亚洲福利视频一区| 日韩一区二区免费高清| 国产福利不卡视频| 亚洲精品欧美激情| 69堂国产成人免费视频| 国产乱子伦一区二区三区国色天香| 国产精品天干天干在线综合| 在线免费观看一区| 蜜乳av一区二区| 国产精品毛片高清在线完整版| 欧美在线观看一区二区| 精品中文字幕一区二区小辣椒| 中文字幕在线一区| 在线亚洲免费视频| 久久www免费人成看片高清| 中文字幕一区二区三区乱码在线| 欧美揉bbbbb揉bbbbb| 国产一区不卡精品| 亚洲午夜av在线| 久久久精品免费网站| 日本高清成人免费播放| 麻豆精品久久精品色综合| 国产精品网站一区| 日韩一区二区在线看片| 99国产精品国产精品久久| 日韩av电影免费观看高清完整版 | 亚洲一区二区成人在线观看| 日韩欧美精品在线视频| 99久久精品免费精品国产| 男女性色大片免费观看一区二区| 亚洲欧洲99久久| 精品欧美久久久| 欧美性色黄大片| 国产精品羞羞答答xxdd| 亚洲超碰精品一区二区| 国产精品免费观看视频| 日韩欧美亚洲另类制服综合在线| 91精品1区2区| 福利电影一区二区三区| 人禽交欧美网站| 一区二区成人在线| 国产精品国产三级国产三级人妇| 欧美一个色资源| 欧美日本国产视频| 91香蕉视频污在线| 国产成人在线网站| 久久精品国产久精国产| 亚洲国产精品久久艾草纯爱| 国产欧美日韩视频一区二区| 日韩视频免费直播| 欧美日韩一区中文字幕| aa级大片欧美| 成人免费视频一区| 国产在线不卡视频| 青娱乐精品在线视频| 亚洲h动漫在线| 亚洲一区二三区| 亚洲精品日日夜夜| 中文字幕亚洲电影| 亚洲国产精品二十页| 26uuu成人网一区二区三区| 日韩一区二区三区四区五区六区| 欧美日韩三级在线| 欧美日韩一区在线| 欧美亚洲愉拍一区二区| 一本色道久久综合亚洲91| 成人三级伦理片| 99视频精品全部免费在线| 不卡的av在线播放|