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

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

?? jdmaster.c

?? 基于Linux的ffmepg decoder
?? C
?? 第 1 頁 / 共 2 頁
字號:
 * We also initialize the decompressor input side to begin consuming data. * * Since jpeg_read_header has finished, we know what is in the SOF * and (first) SOS markers.  We also have all the application parameter * settings. */LOCAL(void)master_selection (j_decompress_ptr cinfo){  my_master_ptr master = (my_master_ptr) cinfo->master;  boolean use_c_buffer;  long samplesperrow;  JDIMENSION jd_samplesperrow;  /* Initialize dimensions and other stuff */  jpeg_calc_output_dimensions(cinfo);  prepare_range_limit_table(cinfo);  /* Width of an output scanline must be representable as JDIMENSION. */  samplesperrow = (long) cinfo->output_width * (long) cinfo->out_color_components;  jd_samplesperrow = (JDIMENSION) samplesperrow;  if ((long) jd_samplesperrow != samplesperrow)    ERREXIT(cinfo, JERR_WIDTH_OVERFLOW);  /* Initialize my private state */  master->pass_number = 0;  master->using_merged_upsample = use_merged_upsample(cinfo);  /* Color quantizer selection */  master->quantizer_1pass = NULL;  master->quantizer_2pass = NULL;  /* No mode changes if not using buffered-image mode. */  if (! cinfo->quantize_colors || ! cinfo->buffered_image) {    cinfo->enable_1pass_quant = FALSE;    cinfo->enable_external_quant = FALSE;    cinfo->enable_2pass_quant = FALSE;  }  if (cinfo->quantize_colors) {    if (cinfo->raw_data_out)      ERREXIT(cinfo, JERR_NOTIMPL);    /* 2-pass quantizer only works in 3-component color space. */    if (cinfo->out_color_components != 3) {      cinfo->enable_1pass_quant = TRUE;      cinfo->enable_external_quant = FALSE;      cinfo->enable_2pass_quant = FALSE;      cinfo->colormap = NULL;    } else if (cinfo->colormap != NULL) {      cinfo->enable_external_quant = TRUE;    } else if (cinfo->two_pass_quantize) {      cinfo->enable_2pass_quant = TRUE;    } else {      cinfo->enable_1pass_quant = TRUE;    }    if (cinfo->enable_1pass_quant) {#ifdef QUANT_1PASS_SUPPORTED      jinit_1pass_quantizer(cinfo);      master->quantizer_1pass = cinfo->cquantize;#else      ERREXIT(cinfo, JERR_NOT_COMPILED);#endif    }    /* We use the 2-pass code to map to external colormaps. */    if (cinfo->enable_2pass_quant || cinfo->enable_external_quant) {#ifdef QUANT_2PASS_SUPPORTED      jinit_2pass_quantizer(cinfo);      master->quantizer_2pass = cinfo->cquantize;#else      ERREXIT(cinfo, JERR_NOT_COMPILED);#endif    }    /* If both quantizers are initialized, the 2-pass one is left active;     * this is necessary for starting with quantization to an external map.     */  }  /* Post-processing: in particular, color conversion first */  if (! cinfo->raw_data_out) {    if (master->using_merged_upsample) {#ifdef UPSAMPLE_MERGING_SUPPORTED      jinit_merged_upsampler(cinfo); /* does color conversion too */#else      ERREXIT(cinfo, JERR_NOT_COMPILED);#endif    } else {      jinit_color_deconverter(cinfo); // removed by Leo for hardware simulation efficiency      jinit_upsampler(cinfo);     }    jinit_d_post_controller(cinfo, cinfo->enable_2pass_quant);  }  /* Inverse DCT */  jinit_inverse_dct(cinfo);  /* Entropy decoding: either Huffman or arithmetic coding. */  if (cinfo->arith_code) {    ERREXIT(cinfo, JERR_ARITH_NOTIMPL);  } else {    if (cinfo->progressive_mode) {#ifdef D_PROGRESSIVE_SUPPORTED      jinit_phuff_decoder(cinfo);#else      ERREXIT(cinfo, JERR_NOT_COMPILED);#endif    } else      jinit_huff_decoder(cinfo);  }  /* Initialize principal buffer controllers. */  use_c_buffer = cinfo->inputctl->has_multiple_scans || cinfo->buffered_image;  jinit_d_coef_controller(cinfo, use_c_buffer);  if (! cinfo->raw_data_out)    jinit_d_main_controller(cinfo, FALSE /* never need full buffer here */);  /* We can now tell the memory manager to allocate virtual arrays. */  (*cinfo->mem->realize_virt_arrays) ((j_common_ptr) cinfo);  /* Initialize input side of decompressor to consume first scan. */  (*cinfo->inputctl->start_input_pass) (cinfo);#ifdef D_MULTISCAN_FILES_SUPPORTED  /* If jpeg_start_decompress will read the whole file, initialize   * progress monitoring appropriately.  The input step is counted   * as one pass.   */  if (cinfo->progress != NULL && ! cinfo->buffered_image &&      cinfo->inputctl->has_multiple_scans) {    int nscans;    /* Estimate number of scans to set pass_limit. */    if (cinfo->progressive_mode) {      /* Arbitrarily estimate 2 interleaved DC scans + 3 AC scans/component. */      nscans = 2 + 3 * cinfo->num_components;    } else {      /* For a nonprogressive multiscan file, estimate 1 scan per component. */      nscans = cinfo->num_components;    }    cinfo->progress->pass_counter = 0L;    cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans;    cinfo->progress->completed_passes = 0;    cinfo->progress->total_passes = (cinfo->enable_2pass_quant ? 3 : 2);    /* Count the input pass as done */    master->pass_number++;  }#endif /* D_MULTISCAN_FILES_SUPPORTED */}/* * Per-pass setup. * This is called at the beginning of each output pass.  We determine which * modules will be active during this pass and give them appropriate * start_pass calls.  We also set is_dummy_pass to indicate whether this * is a "real" output pass or a dummy pass for color quantization. * (In the latter case, jdapistd.c will crank the pass to completion.) */METHODDEF(void)prepare_for_output_pass (j_decompress_ptr cinfo){  my_master_ptr master = (my_master_ptr) cinfo->master;  if (master->pub.is_dummy_pass) {#ifdef QUANT_2PASS_SUPPORTED    /* Final pass of 2-pass quantization */    master->pub.is_dummy_pass = FALSE;    (*cinfo->cquantize->start_pass) (cinfo, FALSE);    (*cinfo->post->start_pass) (cinfo, JBUF_CRANK_DEST);    (*cinfo->main->start_pass) (cinfo, JBUF_CRANK_DEST);#else    ERREXIT(cinfo, JERR_NOT_COMPILED);#endif /* QUANT_2PASS_SUPPORTED */  } else {    if (cinfo->quantize_colors && cinfo->colormap == NULL) {      /* Select new quantization method */      if (cinfo->two_pass_quantize && cinfo->enable_2pass_quant) {	cinfo->cquantize = master->quantizer_2pass;	master->pub.is_dummy_pass = TRUE;      } else if (cinfo->enable_1pass_quant) {	cinfo->cquantize = master->quantizer_1pass;      } else {	ERREXIT(cinfo, JERR_MODE_CHANGE);      }    }    (*cinfo->idct->start_pass) (cinfo);    (*cinfo->coef->start_output_pass) (cinfo);    if (! cinfo->raw_data_out) {      if (! master->using_merged_upsample)	(*cinfo->cconvert->start_pass) (cinfo);      (*cinfo->upsample->start_pass) (cinfo);      if (cinfo->quantize_colors)	(*cinfo->cquantize->start_pass) (cinfo, master->pub.is_dummy_pass);      (*cinfo->post->start_pass) (cinfo,	    (master->pub.is_dummy_pass ? JBUF_SAVE_AND_PASS : JBUF_PASS_THRU));      (*cinfo->main->start_pass) (cinfo, JBUF_PASS_THRU);    }  }  /* Set up progress monitor's pass info if present */  if (cinfo->progress != NULL) {    cinfo->progress->completed_passes = master->pass_number;    cinfo->progress->total_passes = master->pass_number +				    (master->pub.is_dummy_pass ? 2 : 1);    /* In buffered-image mode, we assume one more output pass if EOI not     * yet reached, but no more passes if EOI has been reached.     */    if (cinfo->buffered_image && ! cinfo->inputctl->eoi_reached) {      cinfo->progress->total_passes += (cinfo->enable_2pass_quant ? 2 : 1);    }  }}/* * Finish up at end of an output pass. */METHODDEF(void)finish_output_pass (j_decompress_ptr cinfo){  my_master_ptr master = (my_master_ptr) cinfo->master;  if (cinfo->quantize_colors)    (*cinfo->cquantize->finish_pass) (cinfo);  master->pass_number++;}#ifdef D_MULTISCAN_FILES_SUPPORTED/* * Switch to a new external colormap between output passes. */GLOBAL(void)jpeg_new_colormap (j_decompress_ptr cinfo){  my_master_ptr master = (my_master_ptr) cinfo->master;  /* Prevent application from calling me at wrong times */  if (cinfo->global_state != DSTATE_BUFIMAGE)    ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);  if (cinfo->quantize_colors && cinfo->enable_external_quant &&      cinfo->colormap != NULL) {    /* Select 2-pass quantizer for external colormap use */    cinfo->cquantize = master->quantizer_2pass;    /* Notify quantizer of colormap change */    (*cinfo->cquantize->new_color_map) (cinfo);    master->pub.is_dummy_pass = FALSE; /* just in case */  } else    ERREXIT(cinfo, JERR_MODE_CHANGE);}#endif /* D_MULTISCAN_FILES_SUPPORTED *//* * Initialize master decompression control and select active modules. * This is performed at the start of jpeg_start_decompress. */GLOBAL(void)jinit_master_decompress (j_decompress_ptr cinfo){  my_master_ptr master;  master = (my_master_ptr)      (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,				  SIZEOF(my_decomp_master));  cinfo->master = (struct jpeg_decomp_master *) master;  master->pub.prepare_for_output_pass = prepare_for_output_pass;  master->pub.finish_output_pass = finish_output_pass;  master->pub.is_dummy_pass = FALSE;  master_selection(cinfo);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区2区视频在线观看| 成人午夜激情片| 在线成人av网站| 亚洲成人av电影| 欧美日韩高清一区二区| 秋霞午夜av一区二区三区 | 成人av在线资源网| 国产精品久久久久久户外露出| thepron国产精品| 樱桃视频在线观看一区| 在线观看91精品国产麻豆| 免费精品99久久国产综合精品| 久久综合色综合88| 成人午夜视频福利| 一区二区三区四区高清精品免费观看| 欧美三级电影在线观看| 久久国产三级精品| 国产欧美一区在线| 欧美在线免费视屏| 久久97超碰国产精品超碰| 国产视频一区在线观看 | 亚洲国产欧美另类丝袜| 91精品国产高清一区二区三区蜜臀| 久久精品国产77777蜜臀| 中文字幕电影一区| 欧美精品第1页| 国产1区2区3区精品美女| 伊人一区二区三区| 久久日韩精品一区二区五区| 99久久er热在这里只有精品66| 亚洲mv大片欧洲mv大片精品| 精品999久久久| 在线日韩一区二区| 国产成人免费xxxxxxxx| 亚洲一区影音先锋| 日本一区二区免费在线| 91精品免费在线观看| 成人手机在线视频| 麻豆国产精品视频| 夜夜操天天操亚洲| 国产精品免费视频观看| 日韩一区二区视频在线观看| 91麻豆精品秘密| 国产精品亚洲人在线观看| 午夜a成v人精品| 亚洲日本中文字幕区| 国产亚洲精品精华液| 日韩一区二区三区视频在线观看| 91亚洲精品乱码久久久久久蜜桃| 精品一区二区精品| 天天综合色天天综合| 亚洲精品视频免费看| 国产欧美一区二区三区沐欲| 日韩欧美一级二级三级| 欧美最新大片在线看| av网站免费线看精品| 国产一区二区视频在线播放| 日韩av在线发布| 一区二区三区高清| 中文字幕在线观看一区| 26uuu亚洲| 日韩一区二区精品在线观看| 精品视频一区 二区 三区| 色综合婷婷久久| 国产99久久久久| 国产一区不卡视频| 国产一区二区三区四区在线观看| 日本在线不卡视频| 五月婷婷激情综合网| 亚洲第一电影网| 亚洲一区二区欧美激情| 亚洲午夜视频在线观看| 亚洲美女免费在线| 亚洲天堂成人网| 日韩美女视频19| 亚洲欧洲国产日本综合| **网站欧美大片在线观看| 中文字幕制服丝袜一区二区三区| 国产日韩精品一区二区浪潮av| 国产亚洲成年网址在线观看| 久久久久久久性| 欧美韩国日本一区| 国产精品萝li| 亚洲欧美日韩国产综合在线| 亚洲精品乱码久久久久久黑人| 亚洲精品中文字幕乱码三区| 亚洲一区在线观看网站| 亚洲成人激情社区| 久久精品99久久久| 国产精品伊人色| 白白色 亚洲乱淫| 欧美系列日韩一区| 一本到不卡免费一区二区| 欧美亚洲图片小说| 欧美精品 国产精品| 91精品国产欧美一区二区| 精品久久久久久久久久久院品网| 久久精品这里都是精品| 国产精品久久久久久妇女6080| 亚洲女子a中天字幕| 五月天久久比比资源色| 美女高潮久久久| 成人性色生活片| 色爱区综合激月婷婷| 欧美日韩你懂得| 日韩一区二区中文字幕| 欧美激情一二三区| 亚洲一区二区三区四区五区中文| 日本成人超碰在线观看| 国产成人免费在线视频| 欧美偷拍一区二区| 精品福利一二区| 中文字幕亚洲精品在线观看| 亚洲v中文字幕| 国产乱淫av一区二区三区| 日本乱码高清不卡字幕| 亚洲第一在线综合网站| 激情综合网激情| 91丨九色丨蝌蚪丨老版| 欧美一区二区三区四区五区| 久久精品水蜜桃av综合天堂| 亚洲男同性恋视频| 国内精品在线播放| 在线看国产日韩| 国产日韩欧美综合在线| 日韩中文欧美在线| 99久久综合精品| 精品剧情在线观看| 亚洲欧美激情视频在线观看一区二区三区 | 欧美日韩小视频| 久久奇米777| 天堂影院一区二区| 99久久伊人精品| 久久综合九色综合久久久精品综合 | 丁香婷婷综合激情五月色| 欧美日韩免费视频| 国产精品白丝在线| 国产在线看一区| 5566中文字幕一区二区电影| 亚洲色图丝袜美腿| 国产一区二区福利视频| 在线播放中文一区| 伊人婷婷欧美激情| 99精品视频免费在线观看| 久久亚洲一区二区三区四区| 在线电影院国产精品| 中文字幕一区二区视频| 国内成人精品2018免费看| 欧美日韩电影一区| 伊人开心综合网| 99精品欧美一区二区三区小说 | 日本一区二区视频在线| 久久国产夜色精品鲁鲁99| 91麻豆精品国产无毒不卡在线观看 | 日韩女同互慰一区二区| 亚欧色一区w666天堂| 欧美特级限制片免费在线观看| 中文字幕在线观看不卡| 成人av电影在线| 国产日韩欧美在线一区| 国产在线国偷精品产拍免费yy| 日韩久久久久久| 麻豆成人久久精品二区三区小说| 在线电影欧美成精品| 五月天网站亚洲| 欧美一级片免费看| 日本在线不卡视频一二三区| 欧美卡1卡2卡| 日韩精品成人一区二区三区| 欧美日韩的一区二区| 秋霞电影网一区二区| 日韩一区二区免费在线电影| 琪琪久久久久日韩精品| 精品国产乱码久久久久久浪潮| 免费av网站大全久久| 精品国产露脸精彩对白| 黄色资源网久久资源365| 精品91自产拍在线观看一区| 国产中文字幕精品| 国产网站一区二区| 成人黄色国产精品网站大全在线免费观看| 久久精品人人做| 成人国产精品免费网站| 尤物视频一区二区| 欧美一区二区三区性视频| 蜜桃视频免费观看一区| 久久久亚洲午夜电影| 9久草视频在线视频精品| 亚洲精品va在线观看| 欧美日韩夫妻久久| 狠狠久久亚洲欧美| 亚洲美女屁股眼交3| 91精品国产综合久久香蕉的特点| 九九在线精品视频| 国产精品第五页| 91精品福利视频| 激情五月婷婷综合| 亚洲日本青草视频在线怡红院| 欧美日本精品一区二区三区| 乱中年女人伦av一区二区|