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

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

?? jdapistd.c

?? jpeg解碼標(biāo)準(zhǔn)代碼
?? C
字號(hào):
/* * jdapistd.c * * 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 file contains application interface code for the decompression half * of the JPEG library.  These are the "standard" API routines that are * used in the normal full-decompression case.  They are not used by a * transcoding-only application.  Note that if an application links in * jpeg_start_decompress, it will end up linking in the entire decompressor. * We thus must separate this file from jdapimin.c to avoid linking the * whole decompression library into a transcoder. */#define JPEG_INTERNALS#include "jinclude.h"#include "jpeglib.h"/* Forward declarations */LOCAL(boolean) output_pass_setup JPP((j_decompress_ptr cinfo));/* * Decompression initialization. * jpeg_read_header must be completed before calling this. * * If a multipass operating mode was selected, this will do all but the * last pass, and thus may take a great deal of time. * * Returns FALSE if suspended.  The return value need be inspected only if * a suspending data source is used. */GLOBAL(boolean)jpeg_start_decompress (j_decompress_ptr cinfo){  if (cinfo->global_state == DSTATE_READY) {    /* First call: initialize master control, select active modules */    jinit_master_decompress(cinfo);    if (cinfo->buffered_image) {      /* No more work here; expecting jpeg_start_output next */      cinfo->global_state = DSTATE_BUFIMAGE;      return TRUE;    }    cinfo->global_state = DSTATE_PRELOAD;  }  if (cinfo->global_state == DSTATE_PRELOAD) {    /* If file has multiple scans, absorb them all into the coef buffer */    if (cinfo->inputctl->has_multiple_scans) {#ifdef D_MULTISCAN_FILES_SUPPORTED      for (;;) {	int retcode;	/* Call progress monitor hook if present */	if (cinfo->progress != NULL)	  (*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo);	/* Absorb some more input */	retcode = (*cinfo->inputctl->consume_input) (cinfo);	if (retcode == JPEG_SUSPENDED)	  return FALSE;	if (retcode == JPEG_REACHED_EOI)	  break;	/* Advance progress counter if appropriate */	if (cinfo->progress != NULL &&	    (retcode == JPEG_ROW_COMPLETED || retcode == JPEG_REACHED_SOS)) {	  if (++cinfo->progress->pass_counter >= cinfo->progress->pass_limit) {	    /* jdmaster underestimated number of scans; ratchet up one scan */	    cinfo->progress->pass_limit += (long) cinfo->total_iMCU_rows;	  }	}      }#else      ERREXIT(cinfo, JERR_NOT_COMPILED);#endif /* D_MULTISCAN_FILES_SUPPORTED */    }    cinfo->output_scan_number = cinfo->input_scan_number;  } else if (cinfo->global_state != DSTATE_PRESCAN)    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  /* Perform any dummy output passes, and set up for the final pass */  return output_pass_setup(cinfo);}/* * Set up for an output pass, and perform any dummy pass(es) needed. * Common subroutine for jpeg_start_decompress and jpeg_start_output. * Entry: global_state = DSTATE_PRESCAN only if previously suspended. * Exit: If done, returns TRUE and sets global_state for proper output mode. *       If suspended, returns FALSE and sets global_state = DSTATE_PRESCAN. */LOCAL(boolean)output_pass_setup (j_decompress_ptr cinfo){  if (cinfo->global_state != DSTATE_PRESCAN) {    /* First call: do pass setup */    (*cinfo->master->prepare_for_output_pass) (cinfo);    cinfo->output_scanline = 0;    cinfo->global_state = DSTATE_PRESCAN;  }  /* Loop over any required dummy passes */  while (cinfo->master->is_dummy_pass) {#ifdef QUANT_2PASS_SUPPORTED    /* Crank through the dummy pass */    while (cinfo->output_scanline < cinfo->output_height) {      JDIMENSION last_scanline;      /* Call progress monitor hook if present */      if (cinfo->progress != NULL) {	cinfo->progress->pass_counter = (long) cinfo->output_scanline;	cinfo->progress->pass_limit = (long) cinfo->output_height;	(*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo);      }      /* Process some data */      last_scanline = cinfo->output_scanline;      (*cinfo->main->process_data) (cinfo, (JSAMPARRAY) NULL,				    &cinfo->output_scanline, (JDIMENSION) 0);      if (cinfo->output_scanline == last_scanline)	return FALSE;		/* No progress made, must suspend */    }    /* Finish up dummy pass, and set up for another one */    (*cinfo->master->finish_output_pass) (cinfo);    (*cinfo->master->prepare_for_output_pass) (cinfo);    cinfo->output_scanline = 0;#else    ERREXIT(cinfo, JERR_NOT_COMPILED);#endif /* QUANT_2PASS_SUPPORTED */  }  /* Ready for application to drive output pass through   * jpeg_read_scanlines or jpeg_read_raw_data.   */  cinfo->global_state = cinfo->raw_data_out ? DSTATE_RAW_OK : DSTATE_SCANNING;  return TRUE;}/* * Read some scanlines of data from the JPEG decompressor. * * The return value will be the number of lines actually read. * This may be less than the number requested in several cases, * including bottom of image, data source suspension, and operating * modes that emit multiple scanlines at a time. * * Note: we warn about excess calls to jpeg_read_scanlines() since * this likely signals an application programmer error.  However, * an oversize buffer (max_lines > scanlines remaining) is not an error. */GLOBAL(JDIMENSION)jpeg_read_scanlines (j_decompress_ptr cinfo, JSAMPARRAY scanlines,		     JDIMENSION max_lines){  JDIMENSION row_ctr;  if (cinfo->global_state != DSTATE_SCANNING)    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  if (cinfo->output_scanline >= cinfo->output_height) {    WARNMS(cinfo, JWRN_TOO_MUCH_DATA);    return 0;  }  /* Call progress monitor hook if present */  if (cinfo->progress != NULL) {    cinfo->progress->pass_counter = (long) cinfo->output_scanline;    cinfo->progress->pass_limit = (long) cinfo->output_height;    (*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo);  }  /* Process some data */  row_ctr = 0;  (*cinfo->main->process_data) (cinfo, scanlines, &row_ctr, max_lines);  cinfo->output_scanline += row_ctr;  return row_ctr;}/* * Alternate entry point to read raw data. * Processes exactly one iMCU row per call, unless suspended. */GLOBAL(JDIMENSION)jpeg_read_raw_data (j_decompress_ptr cinfo, JSAMPIMAGE data,		    JDIMENSION max_lines){  JDIMENSION lines_per_iMCU_row;  if (cinfo->global_state != DSTATE_RAW_OK)    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  if (cinfo->output_scanline >= cinfo->output_height) {    WARNMS(cinfo, JWRN_TOO_MUCH_DATA);    return 0;  }  /* Call progress monitor hook if present */  if (cinfo->progress != NULL) {    cinfo->progress->pass_counter = (long) cinfo->output_scanline;    cinfo->progress->pass_limit = (long) cinfo->output_height;    (*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo);  }  /* Verify that at least one iMCU row can be returned. */  lines_per_iMCU_row = cinfo->max_v_samp_factor * cinfo->min_DCT_scaled_size;  if (max_lines < lines_per_iMCU_row)    ERREXIT(cinfo, JERR_BUFFER_SIZE);  /* Decompress directly into user's buffer. */  if (! (*cinfo->coef->decompress_data) (cinfo, data))    return 0;			/* suspension forced, can do nothing more */  /* OK, we processed one iMCU row. */  cinfo->output_scanline += lines_per_iMCU_row;  return lines_per_iMCU_row;}/* Additional entry points for buffered-image mode. */#ifdef D_MULTISCAN_FILES_SUPPORTED/* * Initialize for an output pass in buffered-image mode. */GLOBAL(boolean)jpeg_start_output (j_decompress_ptr cinfo, int scan_number){  if (cinfo->global_state != DSTATE_BUFIMAGE &&      cinfo->global_state != DSTATE_PRESCAN)    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  /* Limit scan number to valid range */  if (scan_number <= 0)    scan_number = 1;  if (cinfo->inputctl->eoi_reached &&      scan_number > cinfo->input_scan_number)    scan_number = cinfo->input_scan_number;  cinfo->output_scan_number = scan_number;  /* Perform any dummy output passes, and set up for the real pass */  return output_pass_setup(cinfo);}/* * Finish up after an output pass in buffered-image mode. * * Returns FALSE if suspended.  The return value need be inspected only if * a suspending data source is used. */GLOBAL(boolean)jpeg_finish_output (j_decompress_ptr cinfo){  if ((cinfo->global_state == DSTATE_SCANNING ||       cinfo->global_state == DSTATE_RAW_OK) && cinfo->buffered_image) {    /* Terminate this pass. */    /* We do not require the whole pass to have been completed. */    (*cinfo->master->finish_output_pass) (cinfo);    cinfo->global_state = DSTATE_BUFPOST;  } else if (cinfo->global_state != DSTATE_BUFPOST) {    /* BUFPOST = repeat call after a suspension, anything else is error */    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  }  /* Read markers looking for SOS or EOI */  while (cinfo->input_scan_number <= cinfo->output_scan_number &&	 ! cinfo->inputctl->eoi_reached) {    if ((*cinfo->inputctl->consume_input) (cinfo) == JPEG_SUSPENDED)      return FALSE;		/* Suspend, come back later */  }  cinfo->global_state = DSTATE_BUFIMAGE;  return TRUE;}#endif /* D_MULTISCAN_FILES_SUPPORTED */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久影院亚瑟 | 一区二区三区自拍| 福利一区二区在线| 国产精品无圣光一区二区| 成人黄色在线网站| 亚洲人成网站影音先锋播放| 在线视频国内自拍亚洲视频| 亚洲国产精品久久久久婷婷884| 欧美中文字幕亚洲一区二区va在线| 亚洲成人av电影在线| 5566中文字幕一区二区电影| 精品在线播放午夜| 国产亚洲婷婷免费| 色狠狠av一区二区三区| 亚洲aⅴ怡春院| 精品理论电影在线观看| 成人综合婷婷国产精品久久蜜臀 | 美女一区二区久久| 精品国产3级a| 99久久久久久| 污片在线观看一区二区| 久久综合色婷婷| 99国产精品久| 秋霞影院一区二区| 国产精品嫩草影院av蜜臀| 色系网站成人免费| 久久99精品国产.久久久久 | 精品国产污网站| 国产成人福利片| 亚洲风情在线资源站| 精品国产91乱码一区二区三区 | 麻豆91在线播放| 国产精品卡一卡二| 欧美一区二区三区视频在线观看| 国产剧情在线观看一区二区| 亚洲一区二区精品久久av| 精品区一区二区| 欧美图片一区二区三区| 国产福利一区在线观看| 日韩制服丝袜先锋影音| 国产精品免费丝袜| 日韩精品一区二区三区在线观看| 91最新地址在线播放| 国产乱妇无码大片在线观看| 亚洲成人精品一区二区| 国产精品网曝门| 欧美大片在线观看| 欧美视频一区在线| 成人三级伦理片| 日韩国产欧美在线观看| 一区二区欧美视频| 国产精品久久久久天堂| 精品国产麻豆免费人成网站| 欧美午夜电影一区| 91麻豆精品在线观看| 国产suv精品一区二区6| 久久精品国内一区二区三区| 亚洲午夜精品网| 日韩美女啊v在线免费观看| 国产午夜亚洲精品不卡| 精品国产免费一区二区三区四区| 91麻豆精品国产91久久久使用方法| 99视频精品在线| 成人免费av网站| 国产精品资源在线观看| 久久不见久久见免费视频7| 日韩经典中文字幕一区| 亚洲成人第一页| 亚洲高清在线精品| 亚洲综合精品自拍| 亚洲麻豆国产自偷在线| 亚洲美女精品一区| 亚洲精品乱码久久久久久久久| 久久久久久久综合日本| 久久久99久久精品欧美| 91精品福利在线一区二区三区| 欧美色窝79yyyycom| 色狠狠桃花综合| 欧美午夜在线一二页| 欧美日韩免费高清一区色橹橹 | 色狠狠一区二区| 色综合久久久网| 欧美最猛性xxxxx直播| 欧美亚洲丝袜传媒另类| 欧美日韩一区三区| 777欧美精品| 日韩欧美久久久| 久久久亚洲精品石原莉奈| 国产欧美一区视频| 亚洲欧洲制服丝袜| 亚洲高清视频在线| 免费人成在线不卡| 国产在线精品一区二区三区不卡 | 一本一道久久a久久精品| 91麻豆产精品久久久久久 | 成人自拍视频在线| 91在线视频官网| 欧美精品久久99| 日韩一区二区三区免费看| 精品国产乱码久久久久久久久| 久久久久久一二三区| 一区视频在线播放| 亚洲国产精品一区二区www在线| 日韩国产精品久久久| 国产精品综合二区| 日本久久一区二区| 日韩免费福利电影在线观看| 国产亲近乱来精品视频| 一区二区三区**美女毛片| 蜜臀久久久久久久| 成人av综合在线| 欧美性大战久久久久久久蜜臀 | 国产精品一区二区不卡| 97久久超碰国产精品| 3d动漫精品啪啪1区2区免费 | 国产精品久久久久久久午夜片| 亚洲激情五月婷婷| 老司机免费视频一区二区| 99久久精品国产毛片| 91麻豆精品国产| 国产精品久久夜| 麻豆精品一二三| 色哦色哦哦色天天综合| 久久综合九色综合久久久精品综合| 亚洲婷婷综合久久一本伊一区| 麻豆精品一区二区| 日本福利一区二区| 国产亚洲欧美中文| 五月综合激情网| www.日本不卡| 精品日本一线二线三线不卡| 亚洲精品老司机| 粉嫩绯色av一区二区在线观看| 欧美日韩第一区日日骚| 国产精品久久久久久久久久久免费看| 午夜激情一区二区三区| 成人激情综合网站| 久久先锋影音av| 日韩福利电影在线观看| 一本色道久久综合亚洲aⅴ蜜桃| 亚洲精品一区二区三区蜜桃下载| 一区二区三区电影在线播| 成人午夜精品在线| 26uuu欧美| 麻豆精品久久久| 欧美一区二区三区视频| 一区二区三区在线免费视频| 成人午夜免费视频| 国产午夜精品在线观看| 久久超碰97中文字幕| 欧美一二三区在线观看| 亚洲国产欧美一区二区三区丁香婷| 成人app在线| 欧美经典一区二区三区| 精品制服美女丁香| 日韩欧美另类在线| 另类综合日韩欧美亚洲| 555夜色666亚洲国产免| 丝袜美腿一区二区三区| 欧美日韩专区在线| 亚洲.国产.中文慕字在线| 欧美性xxxxxxxx| 亚洲成人手机在线| 欧美影院一区二区三区| 亚洲激情图片小说视频| 在线观看亚洲精品视频| 亚洲午夜在线视频| 欧美日韩国产高清一区二区三区 | 日韩视频在线你懂得| 免费高清在线视频一区·| 日韩一区二区三区四区五区六区| 美腿丝袜一区二区三区| 欧美一区二区观看视频| 美女网站一区二区| 2023国产精品| 丁香激情综合国产| 日韩一区有码在线| 色哟哟日韩精品| 亚洲123区在线观看| 欧美一区二区三区思思人| 另类小说欧美激情| 日本一区二区视频在线| 99久久国产综合精品麻豆| 亚洲欧美偷拍三级| 欧美日韩精品专区| 麻豆传媒一区二区三区| 日本一区二区在线不卡| 日本高清不卡aⅴ免费网站| 亚洲h动漫在线| 精品久久久久av影院| 国产福利一区二区三区视频| 综合激情成人伊人| 91精品免费观看| 国产一区视频在线看| 中文字幕人成不卡一区| 欧美性生活一区| 国模娜娜一区二区三区| 成人免费在线观看入口| 欧美一级一级性生活免费录像| 国产麻豆视频精品|