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

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

?? libjpeg.txt

?? 基于周立功EasyArm2200的LPC2292平臺驅(qū)動ili9325TFT屏控制器
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
libraries that have additional parameters.  For the same reason, we recommend
you use a helper routine where one is provided, in preference to twiddling
cinfo fields directly.

The helper routines are:

jpeg_set_defaults (j_compress_ptr cinfo)
	This routine sets all JPEG parameters to reasonable defaults, using
	only the input image's color space (field in_color_space, which must
	already be set in cinfo).  Many applications will only need to use
	this routine and perhaps jpeg_set_quality().

jpeg_set_colorspace (j_compress_ptr cinfo, J_COLOR_SPACE colorspace)
	Sets the JPEG file's colorspace (field jpeg_color_space) as specified,
	and sets other color-space-dependent parameters appropriately.  See
	"Special color spaces", below, before using this.  A large number of
	parameters, including all per-component parameters, are set by this
	routine; if you want to twiddle individual parameters you should call
	jpeg_set_colorspace() before rather than after.

jpeg_default_colorspace (j_compress_ptr cinfo)
	Selects an appropriate JPEG colorspace based on cinfo->in_color_space,
	and calls jpeg_set_colorspace().  This is actually a subroutine of
	jpeg_set_defaults().  It's broken out in case you want to change
	just the colorspace-dependent JPEG parameters.

jpeg_set_quality (j_compress_ptr cinfo, int quality, boolean force_baseline)
	Constructs JPEG quantization tables appropriate for the indicated
	quality setting.  The quality value is expressed on the 0..100 scale
	recommended by IJG (cjpeg's "-quality" switch uses this routine).
	Note that the exact mapping from quality values to tables may change
	in future IJG releases as more is learned about DCT quantization.
	If the force_baseline parameter is TRUE, then the quantization table
	entries are constrained to the range 1..255 for full JPEG baseline
	compatibility.  In the current implementation, this only makes a
	difference for quality settings below 25, and it effectively prevents
	very small/low quality files from being generated.  The IJG decoder
	is capable of reading the non-baseline files generated at low quality
	settings when force_baseline is FALSE, but other decoders may not be.

jpeg_set_linear_quality (j_compress_ptr cinfo, int scale_factor,
			 boolean force_baseline)
	Same as jpeg_set_quality() except that the generated tables are the
	sample tables given in the JPEC spec section K.1, multiplied by the
	specified scale factor (which is expressed as a percentage; thus
	scale_factor = 100 reproduces the spec's tables).  Note that larger
	scale factors give lower quality.  This entry point is useful for
	conforming to the Adobe PostScript DCT conventions, but we do not
	recommend linear scaling as a user-visible quality scale otherwise.
	force_baseline again constrains the computed table entries to 1..255.

int jpeg_quality_scaling (int quality)
	Converts a value on the IJG-recommended quality scale to a linear
	scaling percentage.  Note that this routine may change or go away
	in future releases --- IJG may choose to adopt a scaling method that
	can't be expressed as a simple scalar multiplier, in which case the
	premise of this routine collapses.  Caveat user.

jpeg_add_quant_table (j_compress_ptr cinfo, int which_tbl,
		      const unsigned int *basic_table,
		      int scale_factor, boolean force_baseline)
	Allows an arbitrary quantization table to be created.  which_tbl
	indicates which table slot to fill.  basic_table points to an array
	of 64 unsigned ints given in normal array order.  These values are
	multiplied by scale_factor/100 and then clamped to the range 1..65535
	(or to 1..255 if force_baseline is TRUE).
	CAUTION: prior to library version 6a, jpeg_add_quant_table expected
	the basic table to be given in JPEG zigzag order.  If you need to
	write code that works with either older or newer versions of this
	routine, you must check the library version number.  Something like
	"#if JPEG_LIB_VERSION >= 61" is the right test.

jpeg_simple_progression (j_compress_ptr cinfo)
	Generates a default scan script for writing a progressive-JPEG file.
	This is the recommended method of creating a progressive file,
	unless you want to make a custom scan sequence.  You must ensure that
	the JPEG color space is set correctly before calling this routine.


Compression parameters (cinfo fields) include:

J_DCT_METHOD dct_method
	Selects the algorithm used for the DCT step.  Choices are:
		JDCT_ISLOW: slow but accurate integer algorithm
		JDCT_IFAST: faster, less accurate integer method
		JDCT_FLOAT: floating-point method
		JDCT_DEFAULT: default method (normally JDCT_ISLOW)
		JDCT_FASTEST: fastest method (normally JDCT_IFAST)
	The FLOAT method is very slightly more accurate than the ISLOW method,
	but may give different results on different machines due to varying
	roundoff behavior.  The integer methods should give the same results
	on all machines.  On machines with sufficiently fast FP hardware, the
	floating-point method may also be the fastest.  The IFAST method is
	considerably less accurate than the other two; its use is not
	recommended if high quality is a concern.  JDCT_DEFAULT and
	JDCT_FASTEST are macros configurable by each installation.

J_COLOR_SPACE jpeg_color_space
int num_components
	The JPEG color space and corresponding number of components; see
	"Special color spaces", below, for more info.  We recommend using
	jpeg_set_color_space() if you want to change these.

boolean optimize_coding
	TRUE causes the compressor to compute optimal Huffman coding tables
	for the image.  This requires an extra pass over the data and
	therefore costs a good deal of space and time.  The default is
	FALSE, which tells the compressor to use the supplied or default
	Huffman tables.  In most cases optimal tables save only a few percent
	of file size compared to the default tables.  Note that when this is
	TRUE, you need not supply Huffman tables at all, and any you do
	supply will be overwritten.

unsigned int restart_interval
int restart_in_rows
	To emit restart markers in the JPEG file, set one of these nonzero.
	Set restart_interval to specify the exact interval in MCU blocks.
	Set restart_in_rows to specify the interval in MCU rows.  (If
	restart_in_rows is not 0, then restart_interval is set after the
	image width in MCUs is computed.)  Defaults are zero (no restarts).
	One restart marker per MCU row is often a good choice.
	NOTE: the overhead of restart markers is higher in grayscale JPEG
	files than in color files, and MUCH higher in progressive JPEGs.
	If you use restarts, you may want to use larger intervals in those
	cases.

const jpeg_scan_info * scan_info
int num_scans
	By default, scan_info is NULL; this causes the compressor to write a
	single-scan sequential JPEG file.  If not NULL, scan_info points to
	an array of scan definition records of length num_scans.  The
	compressor will then write a JPEG file having one scan for each scan
	definition record.  This is used to generate noninterleaved or
	progressive JPEG files.  The library checks that the scan array
	defines a valid JPEG scan sequence.  (jpeg_simple_progression creates
	a suitable scan definition array for progressive JPEG.)  This is
	discussed further under "Progressive JPEG support".

int smoothing_factor
	If non-zero, the input image is smoothed; the value should be 1 for
	minimal smoothing to 100 for maximum smoothing.  Consult jcsample.c
	for details of the smoothing algorithm.  The default is zero.

boolean write_JFIF_header
	If TRUE, a JFIF APP0 marker is emitted.  jpeg_set_defaults() and
	jpeg_set_colorspace() set this TRUE if a JFIF-legal JPEG color space
	(ie, YCbCr or grayscale) is selected, otherwise FALSE.

UINT8 JFIF_major_version
UINT8 JFIF_minor_version
	The version number to be written into the JFIF marker.
	jpeg_set_defaults() initializes the version to 1.01 (major=minor=1).
	You should set it to 1.02 (major=1, minor=2) if you plan to write
	any JFIF 1.02 extension markers.

UINT8 density_unit
UINT16 X_density
UINT16 Y_density
	The resolution information to be written into the JFIF marker;
	not used otherwise.  density_unit may be 0 for unknown,
	1 for dots/inch, or 2 for dots/cm.  The default values are 0,1,1
	indicating square pixels of unknown size.

boolean write_Adobe_marker
	If TRUE, an Adobe APP14 marker is emitted.  jpeg_set_defaults() and
	jpeg_set_colorspace() set this TRUE if JPEG color space RGB, CMYK,
	or YCCK is selected, otherwise FALSE.  It is generally a bad idea
	to set both write_JFIF_header and write_Adobe_marker.  In fact,
	you probably shouldn't change the default settings at all --- the
	default behavior ensures that the JPEG file's color space can be
	recognized by the decoder.

JQUANT_TBL * quant_tbl_ptrs[NUM_QUANT_TBLS]
	Pointers to coefficient quantization tables, one per table slot,
	or NULL if no table is defined for a slot.  Usually these should
	be set via one of the above helper routines; jpeg_add_quant_table()
	is general enough to define any quantization table.  The other
	routines will set up table slot 0 for luminance quality and table
	slot 1 for chrominance.

JHUFF_TBL * dc_huff_tbl_ptrs[NUM_HUFF_TBLS]
JHUFF_TBL * ac_huff_tbl_ptrs[NUM_HUFF_TBLS]
	Pointers to Huffman coding tables, one per table slot, or NULL if
	no table is defined for a slot.  Slots 0 and 1 are filled with the
	JPEG sample tables by jpeg_set_defaults().  If you need to allocate
	more table structures, jpeg_alloc_huff_table() may be used.
	Note that optimal Huffman tables can be computed for an image
	by setting optimize_coding, as discussed above; there's seldom
	any need to mess with providing your own Huffman tables.

There are some additional cinfo fields which are not documented here
because you currently can't change them; for example, you can't set
arith_code TRUE because arithmetic coding is unsupported.


Per-component parameters are stored in the struct cinfo.comp_info[i] for
component number i.  Note that components here refer to components of the
JPEG color space, *not* the source image color space.  A suitably large
comp_info[] array is allocated by jpeg_set_defaults(); if you choose not
to use that routine, it's up to you to allocate the array.

int component_id
	The one-byte identifier code to be recorded in the JPEG file for
	this component.  For the standard color spaces, we recommend you
	leave the default values alone.

int h_samp_factor
int v_samp_factor
	Horizontal and vertical sampling factors for the component; must
	be 1..4 according to the JPEG standard.  Note that larger sampling
	factors indicate a higher-resolution component; many people find
	this behavior quite unintuitive.  The default values are 2,2 for
	luminance components and 1,1 for chrominance components, except
	for grayscale where 1,1 is used.

int quant_tbl_no
	Quantization table number for component.  The default value is
	0 for luminance components and 1 for chrominance components.

int dc_tbl_no
int ac_tbl_no
	DC and AC entropy coding table numbers.  The default values are
	0 for luminance components and 1 for chrominance components.

int component_index
	Must equal the component's index in comp_info[].  (Beginning in
	release v6, the compressor library will fill this in automatically;
	you don't have to.)


Decompression parameter selection
---------------------------------

Decompression parameter selection is somewhat simpler than compression
parameter selection, since all of the JPEG internal parameters are
recorded in the source file and need not be supplied by the application.
(Unless you are working with abbreviated files, in which case see
"Abbreviated datastreams", below.)  Decompression parameters control
the postprocessing done on the image to deliver it in a format suitable
for the application's use.  Many of the parameters control speed/quality
tradeoffs, in which faster decompression may be obtained at the price of
a poorer-quality image.  The defaults select the highest quality (slowest)
processing.

The following fields in the JPEG object are set by jpeg_read_header() and
may be useful to the application in choosing decompression parameters:

JDIMENSION image_width			Width and height of image
JDIMENSION image_height
int num_components			Number of color components
J_COLOR_SPACE jpeg_color_space		Colorspace of image
boolean saw_JFIF_marker			TRUE if a JFIF APP0 marker was seen
  UINT8 JFIF_major_version		Version information from JFIF marker
  UINT8 JFIF_minor_version
  UINT8 density_unit			Resolution data from JFIF marker
  UINT16 X_density
  UINT16 Y_density
boolean saw_Adobe_marker		TRUE if an Adobe APP14 marker was seen
  UINT8 Adobe_transform			Color transform code from Adobe marker

The JPEG color space, unfortunately, is something of a guess since the JPEG
standard proper does not provide a way to record it.  In practice most files
adhere to the JFIF or Adobe conventions, and the decoder will recognize these
correctly.  See "Special color spaces", below, for more info.


The decompression parameters that determine the basic properties of the
returned image are:

J_COLOR_SPACE out_color_space
	Output color space.  jpeg_read_header() sets an appropriate default

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美国产视频在线| 日韩欧美另类在线| av日韩在线网站| 国产剧情一区在线| 国产综合久久久久影院| 国产精品一区二区三区网站| 黄页网站大全一区二区| 国产精品亚洲午夜一区二区三区| 狠狠色丁香九九婷婷综合五月| 看片网站欧美日韩| 国产成a人无v码亚洲福利| 成人开心网精品视频| 北条麻妃国产九九精品视频| 色丁香久综合在线久综合在线观看| 91免费版pro下载短视频| 91激情在线视频| 91麻豆精品国产91久久久更新时间| 5858s免费视频成人| 欧美成人精品1314www| 欧美国产97人人爽人人喊| 中文字幕在线不卡| 偷偷要91色婷婷| 激情综合网激情| 99re这里只有精品首页| 欧美日韩另类一区| 欧美成人性战久久| 综合久久久久久久| 久久精品久久久精品美女| 国产成人8x视频一区二区| 在线观看亚洲精品视频| 日韩亚洲欧美综合| 中文字幕字幕中文在线中不卡视频| 亚洲一区二区视频| 国产精品影视天天线| 欧美三级日本三级少妇99| 精品久久久久久久久久久院品网 | 欧美精品少妇一区二区三区| 日韩欧美在线一区二区三区| 中文字幕在线不卡| 精品一区二区三区在线播放| 91传媒视频在线播放| 精品久久五月天| 亚洲午夜免费视频| 粉嫩绯色av一区二区在线观看| 5858s免费视频成人| 日本一区二区三区四区| 一区二区三区欧美日| 国产精品996| 日韩三级在线免费观看| 一二三四社区欧美黄| 国产成人在线观看| 欧美一卡二卡在线| 成人免费在线播放视频| 精品在线观看视频| 欧美高清www午色夜在线视频| 亚洲欧美视频在线观看视频| 国产精品一区二区三区99| 欧美久久一二三四区| 中文字幕一区视频| 国产+成+人+亚洲欧洲自线| 欧美zozo另类异族| 日韩va亚洲va欧美va久久| 欧美午夜理伦三级在线观看| 中文字幕永久在线不卡| 国产999精品久久久久久绿帽| 日韩美女一区二区三区四区| 天天av天天翘天天综合网 | 欧美精品99久久久**| 亚洲日本va午夜在线影院| 99国产精品视频免费观看| 中文字幕高清不卡| 国产成人综合自拍| 亚洲国产精品t66y| 国产成人av在线影院| 久久久影视传媒| 成人综合日日夜夜| 中文文精品字幕一区二区| 国产福利不卡视频| 欧美国产日本视频| 99久久er热在这里只有精品15| 亚洲国产激情av| av欧美精品.com| 亚洲欧美中日韩| 91麻豆免费在线观看| 亚洲综合免费观看高清完整版| 91丨九色丨蝌蚪丨老版| 亚洲免费在线视频| 欧美三级在线播放| 精品一区二区三区久久| 欧美电影免费观看高清完整版| 久99久精品视频免费观看| 国产午夜亚洲精品理论片色戒| 国产精品 欧美精品| 樱花草国产18久久久久| 在线观看视频91| 青青草原综合久久大伊人精品优势| 精品少妇一区二区| 成人精品国产免费网站| 亚洲天堂成人网| 91麻豆精品国产91| 成人午夜电影久久影院| 亚洲综合区在线| 日韩午夜精品视频| 99久久国产免费看| 免费在线看一区| 亚洲国产精品国自产拍av| 欧美在线free| 国产综合一区二区| 亚洲最大成人综合| 久久久久久亚洲综合| 一本一道综合狠狠老| 免费观看一级欧美片| 国产精品午夜电影| 制服丝袜亚洲色图| 成人福利电影精品一区二区在线观看| 亚洲午夜羞羞片| 国产欧美精品一区| 欧美精品在线观看播放| 成人精品小蝌蚪| 另类欧美日韩国产在线| 亚洲欧美电影一区二区| 久久亚洲一区二区三区四区| 欧美四级电影网| 99在线精品观看| 国产精品资源站在线| 图片区小说区区亚洲影院| 亚洲视频一区二区免费在线观看| 91精品婷婷国产综合久久竹菊| 91在线免费播放| 国产不卡高清在线观看视频| 天天影视涩香欲综合网| 亚洲久草在线视频| 国产欧美日本一区视频| 精品电影一区二区| 51久久夜色精品国产麻豆| 色视频一区二区| 91在线视频在线| 成人午夜精品一区二区三区| 精品无人码麻豆乱码1区2区 | 成人精品国产免费网站| 国产伦精品一区二区三区视频青涩 | 韩国视频一区二区| 天天操天天色综合| 亚洲.国产.中文慕字在线| 一区二区三区**美女毛片| 亚洲乱码精品一二三四区日韩在线| 国产午夜精品久久久久久免费视| 日韩一区二区在线观看视频播放 | 免费久久99精品国产| 五月综合激情日本mⅴ| 亚洲综合色婷婷| 亚洲一区二区视频在线观看| 亚洲专区一二三| 午夜视频一区二区三区| 天天色天天爱天天射综合| 日韩成人午夜电影| 男男视频亚洲欧美| 国产一区二区不卡| 福利电影一区二区三区| 国产成人精品网址| 粗大黑人巨茎大战欧美成人| 国产成人午夜电影网| 成人免费视频一区| 日本久久一区二区三区| 欧美日韩一区二区三区高清| 7799精品视频| 久久久久九九视频| 亚洲视频一二区| 日韩极品在线观看| 国产精品白丝jk黑袜喷水| 99久久精品免费看国产| 精品视频一区 二区 三区| 91精品国产欧美一区二区成人| 日韩精品一区二区三区在线| 国产精品天天看| 亚洲午夜在线观看视频在线| 麻豆传媒一区二区三区| aaa亚洲精品一二三区| 91黄色免费看| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 国产一区二区美女诱惑| jlzzjlzz亚洲日本少妇| 欧美影院精品一区| 精品国产一区久久| 亚洲人成影院在线观看| 亚洲国产你懂的| 国产在线播精品第三| 91捆绑美女网站| 欧美tk—视频vk| 亚洲男人的天堂一区二区| 午夜精品成人在线| 成人国产精品免费| 日韩天堂在线观看| 亚洲乱码中文字幕综合| 久久精品国产澳门| 色网站国产精品| 国产精品午夜在线观看| 青青国产91久久久久久| 色丁香久综合在线久综合在线观看| 日韩你懂的电影在线观看|