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

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

?? jcmarker.c

?? It is possible that certain products which can be built using this software modules might form inve
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* * jcmarker.c * * Copyright (C) 1991-1998, 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 routines to write JPEG datastream markers. */#define JPEG_INTERNALS#include "jinclude.h"#include "jpeglib.h"typedef enum {			/* JPEG marker codes */  M_SOF0  = 0xc0,  M_SOF1  = 0xc1,  M_SOF2  = 0xc2,  M_SOF3  = 0xc3,    M_SOF5  = 0xc5,  M_SOF6  = 0xc6,  M_SOF7  = 0xc7,    M_JPG   = 0xc8,  M_SOF9  = 0xc9,  M_SOF10 = 0xca,  M_SOF11 = 0xcb,    M_SOF13 = 0xcd,  M_SOF14 = 0xce,  M_SOF15 = 0xcf,    M_DHT   = 0xc4,    M_DAC   = 0xcc,    M_RST0  = 0xd0,  M_RST1  = 0xd1,  M_RST2  = 0xd2,  M_RST3  = 0xd3,  M_RST4  = 0xd4,  M_RST5  = 0xd5,  M_RST6  = 0xd6,  M_RST7  = 0xd7,    M_SOI   = 0xd8,  M_EOI   = 0xd9,  M_SOS   = 0xda,  M_DQT   = 0xdb,  M_DNL   = 0xdc,  M_DRI   = 0xdd,  M_DHP   = 0xde,  M_EXP   = 0xdf,    M_APP0  = 0xe0,  M_APP1  = 0xe1,  M_APP2  = 0xe2,  M_APP3  = 0xe3,  M_APP4  = 0xe4,  M_APP5  = 0xe5,  M_APP6  = 0xe6,  M_APP7  = 0xe7,  M_APP8  = 0xe8,  M_APP9  = 0xe9,  M_APP10 = 0xea,  M_APP11 = 0xeb,  M_APP12 = 0xec,  M_APP13 = 0xed,  M_APP14 = 0xee,  M_APP15 = 0xef,    M_JPG0  = 0xf0,  M_JPG13 = 0xfd,  M_COM   = 0xfe,    M_TEM   = 0x01,    M_ERROR = 0x100} JPEG_MARKER;/* Private state */typedef struct {  struct jpeg_marker_writer pub; /* public fields */  unsigned int last_restart_interval; /* last DRI value emitted; 0 after SOI */} my_marker_writer;typedef my_marker_writer * my_marker_ptr;/* * Basic output routines. * * Note that we do not support suspension while writing a marker. * Therefore, an application using suspension must ensure that there is * enough buffer space for the initial markers (typ. 600-700 bytes) before * calling jpeg_start_compress, and enough space to write the trailing EOI * (a few bytes) before calling jpeg_finish_compress.  Multipass compression * modes are not supported at all with suspension, so those two are the only * points where markers will be written. */LOCAL(void)emit_byte (j_compress_ptr cinfo, int val)/* Emit a byte */{  struct jpeg_destination_mgr * dest = cinfo->dest;  *(dest->next_output_byte)++ = (JOCTET) val;  if (--dest->free_in_buffer == 0) {    if (! (*dest->empty_output_buffer) (cinfo))      ERREXIT(cinfo, JERR_CANT_SUSPEND);  }}LOCAL(void)emit_marker (j_compress_ptr cinfo, JPEG_MARKER mark)/* Emit a marker code */{  emit_byte(cinfo, 0xFF);  emit_byte(cinfo, (int) mark);}LOCAL(void)emit_2bytes (j_compress_ptr cinfo, int value)/* Emit a 2-byte integer; these are always MSB first in JPEG files */{  emit_byte(cinfo, (value >> 8) & 0xFF);  emit_byte(cinfo, value & 0xFF);}/* * Routines to write specific marker types. */LOCAL(int)emit_dqt (j_compress_ptr cinfo, int index)/* Emit a DQT marker *//* Returns the precision used (0 = 8bits, 1 = 16bits) for baseline checking */{  JQUANT_TBL * qtbl = cinfo->quant_tbl_ptrs[index];  int prec;  int i;  if (qtbl == NULL)    ERREXIT1(cinfo, JERR_NO_QUANT_TABLE, index);  prec = 0;  for (i = 0; i < DCTSIZE2; i++) {    if (qtbl->quantval[i] > 255)      prec = 1;  }  if (! qtbl->sent_table) {    emit_marker(cinfo, M_DQT);    emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2);    emit_byte(cinfo, index + (prec<<4));    for (i = 0; i < DCTSIZE2; i++) {      /* The table entries must be emitted in zigzag order. */      unsigned int qval = qtbl->quantval[jpeg_natural_order[i]];      if (prec)	emit_byte(cinfo, (int) (qval >> 8));      emit_byte(cinfo, (int) (qval & 0xFF));    }    qtbl->sent_table = TRUE;  }  return prec;}LOCAL(void)emit_dht (j_compress_ptr cinfo, int index, boolean is_ac)/* Emit a DHT marker */{  JHUFF_TBL * htbl;  int length, i;    if (is_ac) {    htbl = cinfo->ac_huff_tbl_ptrs[index];    index += 0x10;		/* output index has AC bit set */  } else {    htbl = cinfo->dc_huff_tbl_ptrs[index];  }  if (htbl == NULL)    ERREXIT1(cinfo, JERR_NO_HUFF_TABLE, index);    if (! htbl->sent_table) {    emit_marker(cinfo, M_DHT);        length = 0;    for (i = 1; i <= 16; i++)      length += htbl->bits[i];        emit_2bytes(cinfo, length + 2 + 1 + 16);    emit_byte(cinfo, index);        for (i = 1; i <= 16; i++)      emit_byte(cinfo, htbl->bits[i]);        for (i = 0; i < length; i++)      emit_byte(cinfo, htbl->huffval[i]);        htbl->sent_table = TRUE;  }}LOCAL(void)emit_dac (j_compress_ptr cinfo)/* Emit a DAC marker *//* Since the useful info is so small, we want to emit all the tables in *//* one DAC marker.  Therefore this routine does its own scan of the table. */{#ifdef C_ARITH_CODING_SUPPORTED  char dc_in_use[NUM_ARITH_TBLS];  char ac_in_use[NUM_ARITH_TBLS];  int length, i;  jpeg_component_info *compptr;    for (i = 0; i < NUM_ARITH_TBLS; i++)    dc_in_use[i] = ac_in_use[i] = 0;    for (i = 0; i < cinfo->comps_in_scan; i++) {    compptr = cinfo->cur_comp_info[i];    dc_in_use[compptr->dc_tbl_no] = 1;    ac_in_use[compptr->ac_tbl_no] = 1;  }    length = 0;  for (i = 0; i < NUM_ARITH_TBLS; i++)    length += dc_in_use[i] + ac_in_use[i];    emit_marker(cinfo, M_DAC);    emit_2bytes(cinfo, length*2 + 2);    for (i = 0; i < NUM_ARITH_TBLS; i++) {    if (dc_in_use[i]) {      emit_byte(cinfo, i);      emit_byte(cinfo, cinfo->arith_dc_L[i] + (cinfo->arith_dc_U[i]<<4));    }    if (ac_in_use[i]) {      emit_byte(cinfo, i + 0x10);      emit_byte(cinfo, cinfo->arith_ac_K[i]);    }  }#endif /* C_ARITH_CODING_SUPPORTED */}LOCAL(void)emit_dri (j_compress_ptr cinfo)/* Emit a DRI marker */{  emit_marker(cinfo, M_DRI);    emit_2bytes(cinfo, 4);	/* fixed length */  emit_2bytes(cinfo, (int) cinfo->restart_interval);}LOCAL(void)emit_sof (j_compress_ptr cinfo, JPEG_MARKER code)/* Emit a SOF marker */{  int ci;  jpeg_component_info *compptr;    emit_marker(cinfo, code);    emit_2bytes(cinfo, 3 * cinfo->num_components + 2 + 5 + 1); /* length */  /* Make sure image isn't bigger than SOF field can handle */  if ((long) cinfo->image_height > 65535L ||      (long) cinfo->image_width > 65535L)    ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) 65535);  emit_byte(cinfo, cinfo->data_precision);  emit_2bytes(cinfo, (int) cinfo->image_height);  emit_2bytes(cinfo, (int) cinfo->image_width);  emit_byte(cinfo, cinfo->num_components);  for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;       ci++, compptr++) {    emit_byte(cinfo, compptr->component_id);    emit_byte(cinfo, (compptr->h_samp_factor << 4) + compptr->v_samp_factor);    emit_byte(cinfo, compptr->quant_tbl_no);  }}LOCAL(void)emit_sos (j_compress_ptr cinfo)/* Emit a SOS marker */{  int i, td, ta;  jpeg_component_info *compptr;    emit_marker(cinfo, M_SOS);    emit_2bytes(cinfo, 2 * cinfo->comps_in_scan + 2 + 1 + 3); /* length */    emit_byte(cinfo, cinfo->comps_in_scan);    for (i = 0; i < cinfo->comps_in_scan; i++) {    compptr = cinfo->cur_comp_info[i];    emit_byte(cinfo, compptr->component_id);    td = compptr->dc_tbl_no;    ta = compptr->ac_tbl_no;    if (cinfo->progressive_mode) {      /* Progressive mode: only DC or only AC tables are used in one scan;       * furthermore, Huffman coding of DC refinement uses no table at all.       * We emit 0 for unused field(s); this is recommended by the P&M text       * but does not seem to be specified in the standard.       */      if (cinfo->Ss == 0) {	ta = 0;			/* DC scan */	if (cinfo->Ah != 0 && !cinfo->arith_code)	  td = 0;		/* no DC table either */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
丝袜亚洲另类丝袜在线| 91蝌蚪国产九色| 91视频免费看| 26uuu精品一区二区三区四区在线| 国产欧美视频在线观看| 亚洲一区二区三区精品在线| 国产成人精品www牛牛影视| 精品国产91乱码一区二区三区 | 国产成人在线视频免费播放| 欧美视频在线一区二区三区| 国产精品美女一区二区三区| 久久爱www久久做| 欧美乱熟臀69xxxxxx| 亚洲色图另类专区| 国产成人免费视频| 精品福利一区二区三区免费视频| 亚洲成av人**亚洲成av**| 色综合色综合色综合| 久久众筹精品私拍模特| 日本不卡不码高清免费观看| 欧美亚洲愉拍一区二区| 亚洲欧美日韩国产另类专区| 成人av第一页| 亚洲国产精品精华液2区45| 黄色资源网久久资源365| 欧美一二区视频| 日韩电影免费在线看| 欧美系列日韩一区| 亚洲在线观看免费视频| 色天使久久综合网天天| 亚洲女与黑人做爰| 色婷婷国产精品| 亚洲一区中文日韩| 欧美日韩免费一区二区三区视频| 亚洲一区日韩精品中文字幕| 精品视频色一区| 亚洲gay无套男同| 欧美日韩精品欧美日韩精品一综合| 亚洲午夜国产一区99re久久| 欧美日韩高清一区二区| 久久精品国产99久久6| 日韩视频一区二区三区在线播放| 日本欧美加勒比视频| 日韩欧美在线网站| 国产在线一区二区| 亚洲国产精品高清| 色综合久久综合中文综合网| 亚洲另类一区二区| 欧美美女bb生活片| 久久激五月天综合精品| 国产欧美一区二区三区鸳鸯浴| 国产.欧美.日韩| 亚洲男同性恋视频| 在线成人免费观看| 国产伦精一区二区三区| 国产精品国产精品国产专区不片| 91福利视频网站| 五月婷婷欧美视频| 国产三级一区二区三区| 97久久人人超碰| 日本怡春院一区二区| 久久久久久久精| 色婷婷综合久久久中文一区二区| 午夜视频久久久久久| 久久青草国产手机看片福利盒子| 成人国产亚洲欧美成人综合网| 一二三四社区欧美黄| 欧美zozo另类异族| 菠萝蜜视频在线观看一区| 午夜一区二区三区在线观看| 久久品道一品道久久精品| 色婷婷激情综合| 国产一二精品视频| 亚洲成人一二三| 国产亚洲一二三区| 在线成人免费观看| 99国产欧美久久久精品| 久久99精品国产.久久久久| 日韩伦理免费电影| 精品捆绑美女sm三区| 欧洲精品一区二区三区在线观看| 激情图片小说一区| 亚洲亚洲人成综合网络| 久久久综合网站| 欧美挠脚心视频网站| av亚洲精华国产精华精华 | 国产精品久久久久久久久免费桃花 | 色婷婷狠狠综合| 久久电影网电视剧免费观看| 亚洲欧洲中文日韩久久av乱码| 日韩女优av电影| 欧美裸体一区二区三区| av在线不卡电影| 国产揄拍国内精品对白| 国产盗摄一区二区| 视频一区二区欧美| 亚洲欧美激情插| 欧美国产精品v| 久久综合999| 日韩欧美在线网站| 91精品国产欧美一区二区18| 色综合久久88色综合天天6| 成人一区二区三区在线观看| 麻豆免费看一区二区三区| 亚洲妇熟xx妇色黄| 亚洲最新在线观看| 亚洲欧美日韩系列| 亚洲免费看黄网站| 亚洲另类色综合网站| 一区免费观看视频| 自拍视频在线观看一区二区| 国产色产综合产在线视频| 2020国产精品| 久久久噜噜噜久噜久久综合| 欧美一二三区精品| 精品久久久久久最新网址| 欧美一区二区私人影院日本| 91精品国产综合久久精品性色| 欧美三级电影网站| 欧美日本国产视频| 欧美一区二区三区思思人| 3atv一区二区三区| 日韩精品中文字幕一区二区三区| 日韩午夜三级在线| 久久你懂得1024| 中文字幕 久热精品 视频在线| 亚洲国产精品成人综合| 国产精品污污网站在线观看 | 狠狠久久亚洲欧美| 国产激情一区二区三区| 成人av电影在线播放| 91麻豆产精品久久久久久| 在线观看亚洲精品| 日韩欧美国产综合| 国产视频911| 亚洲精品国产精华液| 婷婷激情综合网| 国产真实乱偷精品视频免| 国产精品1024| 在线观看一区二区视频| 欧美一区在线视频| 日本一区二区三区在线不卡| 一区二区三区中文字幕精品精品| 午夜精品一区在线观看| 国产主播一区二区三区| 日韩一本二本av| 国产欧美在线观看一区| 亚洲亚洲精品在线观看| 精品无人码麻豆乱码1区2区| 成人午夜视频免费看| 欧美日韩亚洲丝袜制服| 2021中文字幕一区亚洲| 一区二区三区日韩在线观看| 美女视频黄 久久| 99精品视频免费在线观看| 91麻豆精品国产无毒不卡在线观看| 久久天天做天天爱综合色| 亚洲自拍与偷拍| 国产成人aaa| 69p69国产精品| 国产精品天美传媒| 日本伊人精品一区二区三区观看方式| 国产成人在线视频免费播放| 欧美日精品一区视频| 国产欧美日本一区视频| 日韩高清在线电影| 91女人视频在线观看| 久久综合久久99| 舔着乳尖日韩一区| 91网址在线看| 国产亚洲一区二区三区四区| 亚洲成人在线免费| 91视频一区二区| 欧美激情综合网| 蜜桃av一区二区在线观看| 91偷拍与自偷拍精品| 久久久久国产免费免费| 日韩国产高清影视| 欧美影院精品一区| 中文字幕亚洲成人| 国产成人综合在线观看| 91精品国产综合久久蜜臀| 亚洲综合在线观看视频| 成人av第一页| 国产精品午夜春色av| 国产一区二区三区四| 欧美一卡2卡3卡4卡| 午夜精品久久久久久久99樱桃| 91丨九色丨蝌蚪丨老版| 欧美精彩视频一区二区三区| 国内外精品视频| 欧美电影精品一区二区| 青草av.久久免费一区| 欧美美女一区二区三区| 亚洲va天堂va国产va久| 欧美午夜寂寞影院| 亚洲国产成人91porn| 欧美视频在线一区二区三区| 亚洲一区二区高清| 91成人网在线|