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

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

?? jcparam.c

?? 支持各種柵格圖像和矢量圖像讀取的庫
?? C
?? 第 1 頁 / 共 2 頁
字號:
  /* Use Huffman coding, not arithmetic coding, by default */  cinfo->arith_code = FALSE;  /* By default, don't do extra passes to optimize entropy coding */  cinfo->optimize_coding = FALSE;  /* The standard Huffman tables are only valid for 8-bit data precision.   * If the precision is higher, force optimization on so that usable   * tables will be computed.  This test can be removed if default tables   * are supplied that are valid for the desired precision.   */  if (cinfo->data_precision > 8)    cinfo->optimize_coding = TRUE;  /* By default, use the simpler non-cosited sampling alignment */  cinfo->CCIR601_sampling = FALSE;  /* No input smoothing */  cinfo->smoothing_factor = 0;  /* DCT algorithm preference */  cinfo->dct_method = JDCT_DEFAULT;  /* No restart markers */  cinfo->restart_interval = 0;  cinfo->restart_in_rows = 0;  /* Fill in default JFIF marker parameters.  Note that whether the marker   * will actually be written is determined by jpeg_set_colorspace.   *   * By default, the library emits JFIF version code 1.01.   * An application that wants to emit JFIF 1.02 extension markers should set   * JFIF_minor_version to 2.  We could probably get away with just defaulting   * to 1.02, but there may still be some decoders in use that will complain   * about that; saying 1.01 should minimize compatibility problems.   */  cinfo->JFIF_major_version = 1; /* Default JFIF version = 1.01 */  cinfo->JFIF_minor_version = 1;  cinfo->density_unit = 0;	/* Pixel size is unknown by default */  cinfo->X_density = 1;		/* Pixel aspect ratio is square by default */  cinfo->Y_density = 1;  /* Choose JPEG colorspace based on input space, set defaults accordingly */  jpeg_default_colorspace(cinfo);}/* * Select an appropriate JPEG colorspace for in_color_space. */GLOBAL(void)jpeg_default_colorspace (j_compress_ptr cinfo){  switch (cinfo->in_color_space) {  case JCS_GRAYSCALE:    jpeg_set_colorspace(cinfo, JCS_GRAYSCALE);    break;  case JCS_RGB:    jpeg_set_colorspace(cinfo, JCS_YCbCr);    break;  case JCS_YCbCr:    jpeg_set_colorspace(cinfo, JCS_YCbCr);    break;  case JCS_CMYK:    jpeg_set_colorspace(cinfo, JCS_CMYK); /* By default, no translation */    break;  case JCS_YCCK:    jpeg_set_colorspace(cinfo, JCS_YCCK);    break;  case JCS_UNKNOWN:    jpeg_set_colorspace(cinfo, JCS_UNKNOWN);    break;  default:    ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE);  }}/* * Set the JPEG colorspace, and choose colorspace-dependent default values. */GLOBAL(void)jpeg_set_colorspace (j_compress_ptr cinfo, J_COLOR_SPACE colorspace){  jpeg_component_info * compptr;  int ci;#define SET_COMP(index,id,hsamp,vsamp,quant,dctbl,actbl)  \  (compptr = &cinfo->comp_info[index], \   compptr->component_id = (id), \   compptr->h_samp_factor = (hsamp), \   compptr->v_samp_factor = (vsamp), \   compptr->quant_tbl_no = (quant), \   compptr->dc_tbl_no = (dctbl), \   compptr->ac_tbl_no = (actbl) )  /* Safety check to ensure start_compress not called yet. */  if (cinfo->global_state != CSTATE_START)    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  /* For all colorspaces, we use Q and Huff tables 0 for luminance components,   * tables 1 for chrominance components.   */  cinfo->jpeg_color_space = colorspace;  cinfo->write_JFIF_header = FALSE; /* No marker for non-JFIF colorspaces */  cinfo->write_Adobe_marker = FALSE; /* write no Adobe marker by default */  switch (colorspace) {  case JCS_GRAYSCALE:    cinfo->write_JFIF_header = TRUE; /* Write a JFIF marker */    cinfo->num_components = 1;    /* JFIF specifies component ID 1 */    SET_COMP(0, 1, 1,1, 0, 0,0);    break;  case JCS_RGB:    cinfo->write_Adobe_marker = TRUE; /* write Adobe marker to flag RGB */    cinfo->num_components = 3;    SET_COMP(0, 0x52 /* 'R' */, 1,1, 0, 0,0);    SET_COMP(1, 0x47 /* 'G' */, 1,1, 0, 0,0);    SET_COMP(2, 0x42 /* 'B' */, 1,1, 0, 0,0);    break;  case JCS_YCbCr:    cinfo->write_JFIF_header = TRUE; /* Write a JFIF marker */    cinfo->num_components = 3;    /* JFIF specifies component IDs 1,2,3 */    /* We default to 2x2 subsamples of chrominance */    SET_COMP(0, 1, 2,2, 0, 0,0);    SET_COMP(1, 2, 1,1, 1, 1,1);    SET_COMP(2, 3, 1,1, 1, 1,1);    break;  case JCS_CMYK:    cinfo->write_Adobe_marker = TRUE; /* write Adobe marker to flag CMYK */    cinfo->num_components = 4;    SET_COMP(0, 0x43 /* 'C' */, 1,1, 0, 0,0);    SET_COMP(1, 0x4D /* 'M' */, 1,1, 0, 0,0);    SET_COMP(2, 0x59 /* 'Y' */, 1,1, 0, 0,0);    SET_COMP(3, 0x4B /* 'K' */, 1,1, 0, 0,0);    break;  case JCS_YCCK:    cinfo->write_Adobe_marker = TRUE; /* write Adobe marker to flag YCCK */    cinfo->num_components = 4;    SET_COMP(0, 1, 2,2, 0, 0,0);    SET_COMP(1, 2, 1,1, 1, 1,1);    SET_COMP(2, 3, 1,1, 1, 1,1);    SET_COMP(3, 4, 2,2, 0, 0,0);    break;  case JCS_UNKNOWN:    cinfo->num_components = cinfo->input_components;    if (cinfo->num_components < 1 || cinfo->num_components > MAX_COMPONENTS)      ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components,	       MAX_COMPONENTS);    for (ci = 0; ci < cinfo->num_components; ci++) {      SET_COMP(ci, ci, 1,1, 0, 0,0);    }    break;  default:    ERREXIT(cinfo, JERR_BAD_J_COLORSPACE);  }}#ifdef C_PROGRESSIVE_SUPPORTEDLOCAL(jpeg_scan_info *)fill_a_scan (jpeg_scan_info * scanptr, int ci,	     int Ss, int Se, int Ah, int Al)/* Support routine: generate one scan for specified component */{  scanptr->comps_in_scan = 1;  scanptr->component_index[0] = ci;  scanptr->Ss = Ss;  scanptr->Se = Se;  scanptr->Ah = Ah;  scanptr->Al = Al;  scanptr++;  return scanptr;}LOCAL(jpeg_scan_info *)fill_scans (jpeg_scan_info * scanptr, int ncomps,	    int Ss, int Se, int Ah, int Al)/* Support routine: generate one scan for each component */{  int ci;  for (ci = 0; ci < ncomps; ci++) {    scanptr->comps_in_scan = 1;    scanptr->component_index[0] = ci;    scanptr->Ss = Ss;    scanptr->Se = Se;    scanptr->Ah = Ah;    scanptr->Al = Al;    scanptr++;  }  return scanptr;}LOCAL(jpeg_scan_info *)fill_dc_scans (jpeg_scan_info * scanptr, int ncomps, int Ah, int Al)/* Support routine: generate interleaved DC scan if possible, else N scans */{  int ci;  if (ncomps <= MAX_COMPS_IN_SCAN) {    /* Single interleaved DC scan */    scanptr->comps_in_scan = ncomps;    for (ci = 0; ci < ncomps; ci++)      scanptr->component_index[ci] = ci;    scanptr->Ss = scanptr->Se = 0;    scanptr->Ah = Ah;    scanptr->Al = Al;    scanptr++;  } else {    /* Noninterleaved DC scan for each component */    scanptr = fill_scans(scanptr, ncomps, 0, 0, Ah, Al);  }  return scanptr;}/* * Create a recommended progressive-JPEG script. * cinfo->num_components and cinfo->jpeg_color_space must be correct. */GLOBAL(void)jpeg_simple_progression (j_compress_ptr cinfo){  int ncomps = cinfo->num_components;  int nscans;  jpeg_scan_info * scanptr;  /* Safety check to ensure start_compress not called yet. */  if (cinfo->global_state != CSTATE_START)    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  /* Figure space needed for script.  Calculation must match code below! */  if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) {    /* Custom script for YCbCr color images. */    nscans = 10;  } else {    /* All-purpose script for other color spaces. */    if (ncomps > MAX_COMPS_IN_SCAN)      nscans = 6 * ncomps;	/* 2 DC + 4 AC scans per component */    else      nscans = 2 + 4 * ncomps;	/* 2 DC scans; 4 AC scans per component */  }  /* Allocate space for script.   * We need to put it in the permanent pool in case the application performs   * multiple compressions without changing the settings.  To avoid a memory   * leak if jpeg_simple_progression is called repeatedly for the same JPEG   * object, we try to re-use previously allocated space, and we allocate   * enough space to handle YCbCr even if initially asked for grayscale.   */  if (cinfo->script_space == NULL || cinfo->script_space_size < nscans) {    cinfo->script_space_size = MAX(nscans, 10);    cinfo->script_space = (jpeg_scan_info *)      (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT,			cinfo->script_space_size * SIZEOF(jpeg_scan_info));  }  scanptr = cinfo->script_space;  cinfo->scan_info = scanptr;  cinfo->num_scans = nscans;  if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) {    /* Custom script for YCbCr color images. */    /* Initial DC scan */    scanptr = fill_dc_scans(scanptr, ncomps, 0, 1);    /* Initial AC scan: get some luma data out in a hurry */    scanptr = fill_a_scan(scanptr, 0, 1, 5, 0, 2);    /* Chroma data is too small to be worth expending many scans on */    scanptr = fill_a_scan(scanptr, 2, 1, 63, 0, 1);    scanptr = fill_a_scan(scanptr, 1, 1, 63, 0, 1);    /* Complete spectral selection for luma AC */    scanptr = fill_a_scan(scanptr, 0, 6, 63, 0, 2);    /* Refine next bit of luma AC */    scanptr = fill_a_scan(scanptr, 0, 1, 63, 2, 1);    /* Finish DC successive approximation */    scanptr = fill_dc_scans(scanptr, ncomps, 1, 0);    /* Finish AC successive approximation */    scanptr = fill_a_scan(scanptr, 2, 1, 63, 1, 0);    scanptr = fill_a_scan(scanptr, 1, 1, 63, 1, 0);    /* Luma bottom bit comes last since it's usually largest scan */    scanptr = fill_a_scan(scanptr, 0, 1, 63, 1, 0);  } else {    /* All-purpose script for other color spaces. */    /* Successive approximation first pass */    scanptr = fill_dc_scans(scanptr, ncomps, 0, 1);    scanptr = fill_scans(scanptr, ncomps, 1, 5, 0, 2);    scanptr = fill_scans(scanptr, ncomps, 6, 63, 0, 2);    /* Successive approximation second pass */    scanptr = fill_scans(scanptr, ncomps, 1, 63, 2, 1);    /* Successive approximation final pass */    scanptr = fill_dc_scans(scanptr, ncomps, 1, 0);    scanptr = fill_scans(scanptr, ncomps, 1, 63, 1, 0);  }}#endif /* C_PROGRESSIVE_SUPPORTED */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91国偷自产一区二区三区成为亚洲经典| 91麻豆swag| 国内欧美视频一区二区| 国产在线一区观看| 国产一区二区三区香蕉| 久久精品视频免费| 日日摸夜夜添夜夜添精品视频| 成人中文字幕合集| 成a人片国产精品| 在线观看av不卡| 日韩一级欧美一级| 日韩欧美国产一区二区在线播放| 欧美日韩一二区| 亚洲精品一区二区三区福利| 2019国产精品| 亚洲精品视频在线看| 香蕉av福利精品导航| 五月天激情综合网| 国产河南妇女毛片精品久久久| 久久99精品久久久久久国产越南| 国产成人精品一区二区三区四区| 4438x成人网最大色成网站| 欧美三级在线看| 久久美女艺术照精彩视频福利播放| 国产日韩欧美高清| 国产精品护士白丝一区av| 午夜欧美一区二区三区在线播放| 国模大尺度一区二区三区| 国产成a人亚洲精品| 亚洲国产精品一区二区久久| 中文字幕一区二| 亚洲成人久久影院| 成人免费视频免费观看| 91精品国产综合久久小美女| 国产精品午夜在线观看| 日韩av不卡在线观看| 91在线视频18| 337p粉嫩大胆色噜噜噜噜亚洲| 亚洲综合无码一区二区| 国产99精品国产| 日韩亚洲欧美一区二区三区| 国产精品色一区二区三区| 日本欧美大码aⅴ在线播放| 91美女视频网站| 国产三级欧美三级日产三级99| 亚洲成人动漫在线观看| 99在线视频精品| 久久久噜噜噜久久人人看 | 日本欧美一区二区在线观看| av一区二区三区四区| ww久久中文字幕| 天堂蜜桃一区二区三区| 色综合一区二区三区| 国产精品网站导航| 国产在线国偷精品免费看| 欧美嫩在线观看| 亚洲一级二级三级| 色欧美乱欧美15图片| 国产女主播视频一区二区| 久久精品国产精品青草| 欧美日韩电影在线| 亚洲国产中文字幕| 91小视频在线观看| 国产精品国产自产拍高清av | 国产人久久人人人人爽| 久久99蜜桃精品| 欧美大肚乱孕交hd孕妇| 水蜜桃久久夜色精品一区的特点| 色嗨嗨av一区二区三区| 日韩理论片中文av| 亚洲精品一区二区三区四区高清| 在线日韩国产精品| 国产成人免费在线观看不卡| 精品裸体舞一区二区三区| 天堂资源在线中文精品| 久久人人超碰精品| 欧美日韩视频在线一区二区| 91小宝寻花一区二区三区| 精品视频1区2区3区| 男女性色大片免费观看一区二区 | 欧美日韩中文一区| 日韩中文字幕一区二区三区| 91精品午夜视频| 国产suv精品一区二区6| 亚洲精选视频免费看| 欧美妇女性影城| 成人国产免费视频| 五月激情丁香一区二区三区| 久久久精品免费观看| 色天使久久综合网天天| 国产一区二区伦理| 亚洲成人精品一区| 亚洲色图在线视频| www国产精品av| 欧美日韩免费在线视频| www.色综合.com| 精品亚洲成a人在线观看| 亚洲精品成人少妇| 欧美激情一二三区| 精品久久久久久久久久久久久久久| 欧美老年两性高潮| 精品国产乱码久久久久久牛牛 | 国产无遮挡一区二区三区毛片日本| 日韩一级片网址| 91高清在线观看| 欧美三级中文字幕在线观看| 在线一区二区三区四区| 久久成人免费日本黄色| 亚洲精品自拍动漫在线| 日韩久久一区二区| 国产精品私人影院| 国产清纯白嫩初高生在线观看91| 7777精品伊人久久久大香线蕉超级流畅 | 国产精品久久久一本精品 | 亚洲午夜久久久久久久久电影网| 国产欧美日韩精品一区| 久久婷婷成人综合色| 精品99一区二区三区| 26uuu亚洲综合色欧美| 精品日本一线二线三线不卡| 91精品国产福利在线观看| 欧美在线一二三| 91国在线观看| 欧洲亚洲国产日韩| 欧美在线你懂得| 制服视频三区第一页精品| 欧美成人艳星乳罩| 精品成人佐山爱一区二区| 91精品国产综合久久久蜜臀粉嫩| 一本到不卡免费一区二区| 国产剧情av麻豆香蕉精品| 99re免费视频精品全部| 欧美日韩在线观看一区二区 | 在线观看日产精品| 久久精品999| 国产乱子伦视频一区二区三区| 丰满亚洲少妇av| 久久精品一区二区三区不卡牛牛| 成人精品亚洲人成在线| 国产精品灌醉下药二区| 男人的j进女人的j一区| 成人免费在线播放视频| 日韩精品中午字幕| 在线免费观看视频一区| 国产一区二区电影| 婷婷中文字幕一区三区| 国产精品欧美久久久久无广告 | 亚洲人成在线观看一区二区| 亚洲欧美在线aaa| 日韩中文字幕不卡| 波多野洁衣一区| 欧美一卡2卡3卡4卡| 欧美国产一区二区在线观看| 亚洲免费伊人电影| 日本午夜一本久久久综合| 97久久久精品综合88久久| 欧美一卡二卡三卡| 玉米视频成人免费看| 精品精品欲导航| 91网站最新地址| 欧美一区二区三区爱爱| 韩国v欧美v亚洲v日本v| 亚洲天堂精品在线观看| 日韩欧美在线1卡| 色综合色狠狠天天综合色| 美女脱光内衣内裤视频久久网站 | 国产剧情一区二区| 欧美在线三级电影| 天天射综合影视| av网站免费线看精品| 国产亚洲精品bt天堂精选| 成人免费视频app| 精品国内二区三区| 国产精品午夜在线| 久久蜜桃一区二区| 精品国产乱码久久久久久久| 欧美精品一卡二卡| 欧美三级日韩在线| 在线一区二区三区四区| 91在线观看成人| av电影天堂一区二区在线| 国产91色综合久久免费分享| 精品一区二区三区免费播放| 麻豆91精品视频| 美女视频黄免费的久久| 美女脱光内衣内裤视频久久网站 | 99国产精品国产精品毛片| 国产69精品久久99不卡| 懂色av中文字幕一区二区三区 | 国产精品国产三级国产aⅴ中文 | 成人高清免费观看| 懂色av一区二区三区蜜臀| 国产成人精品影视| 成人激情图片网| 成人sese在线| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 成人性生交大片免费看视频在线| 国产黄色精品网站| www.色精品| 欧美中文一区二区三区|