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

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

?? jdatadst.c

?? 基于Linux的ffmepg decoder
?? C
字號(hào):
/*
 * jdatadst.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 compression data destination routines for the case of
 * emitting JPEG data to a file (or any stdio stream).  While these routines
 * are sufficient for most applications, some will want to use a different
 * destination manager.
 * IMPORTANT: we assume that fwrite() will correctly transcribe an array of
 * JOCTETs into 8-bit-wide elements on external storage.  If char is wider
 * than 8 bits on your machine, you may need to do some tweaking.
 */

/* this is not a core library module, so it doesn't define JPEG_INTERNALS */
#include "jinclude.h"
#include "jpeglib.h"
#include "jerror.h"


/* Expanded data destination object for stdio output */

typedef struct {
  struct jpeg_destination_mgr pub; /* public fields */

  FILE * outfile;		/* target stream */
  JOCTET * buffer;		/* start of buffer */
} my_destination_mgr;

typedef my_destination_mgr * my_dest_ptr;

#define OUTPUT_BUF_SIZE  4096	/* choose an efficiently fwrite'able size */


/*
 * Initialize destination --- called by jpeg_start_compress
 * before any data is actually written.
 */

METHODDEF(void)
init_destination (j_compress_ptr cinfo)
{
  my_dest_ptr dest = (my_dest_ptr) cinfo->dest;

  /* Allocate the output buffer --- it will be released when done with image */
  dest->buffer = (JOCTET *)
      (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
				  OUTPUT_BUF_SIZE * SIZEOF(JOCTET));

  dest->pub.next_output_byte = dest->buffer;
  dest->pub.free_in_buffer = OUTPUT_BUF_SIZE;
}


/*
 * Empty the output buffer --- called whenever buffer fills up.
 *
 * In typical applications, this should write the entire output buffer
 * (ignoring the current state of next_output_byte & free_in_buffer),
 * reset the pointer & count to the start of the buffer, and return TRUE
 * indicating that the buffer has been dumped.
 *
 * In applications that need to be able to suspend compression due to output
 * overrun, a FALSE return indicates that the buffer cannot be emptied now.
 * In this situation, the compressor will return to its caller (possibly with
 * an indication that it has not accepted all the supplied scanlines).  The
 * application should resume compression after it has made more room in the
 * output buffer.  Note that there are substantial restrictions on the use of
 * suspension --- see the documentation.
 *
 * When suspending, the compressor will back up to a convenient restart point
 * (typically the start of the current MCU). next_output_byte & free_in_buffer
 * indicate where the restart point will be if the current call returns FALSE.
 * Data beyond this point will be regenerated after resumption, so do not
 * write it out when emptying the buffer externally.
 */

METHODDEF(boolean)
empty_output_buffer (j_compress_ptr cinfo)
{
  /*
  my_dest_ptr dest = (my_dest_ptr) cinfo->dest;

  if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) !=
      (size_t) OUTPUT_BUF_SIZE)
    ERREXIT(cinfo, JERR_FILE_WRITE);

  dest->pub.next_output_byte = dest->buffer;
  dest->pub.free_in_buffer = OUTPUT_BUF_SIZE;
  */
  return TRUE;
}


/*
 * Terminate destination --- called by jpeg_finish_compress
 * after all data has been written.  Usually needs to flush buffer.
 *
 * NB: *not* called by jpeg_abort or jpeg_destroy; surrounding
 * application must deal with any cleanup that should happen even
 * for error exit.
 */

METHODDEF(void)
term_destination (j_compress_ptr cinfo)
{
  /*
  my_dest_ptr dest = (my_dest_ptr) cinfo->dest;
  size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer;

  // Write any data remaining in the buffer
  if (datacount > 0) {
    if (JFWRITE(dest->outfile, dest->buffer, datacount) != datacount)
      ERREXIT(cinfo, JERR_FILE_WRITE);
  }
  fflush(dest->outfile);
  // Make sure we wrote the output file OK 
  if (ferror(dest->outfile))
    ERREXIT(cinfo, JERR_FILE_WRITE);
  */
}


/*
 * Prepare for output to a stdio stream.
 * The caller must have already opened the stream, and is responsible
 * for closing it after finishing compression.
 */

GLOBAL(void)
jpeg_stdio_dest (j_compress_ptr cinfo, FILE * outfile)
{
  my_dest_ptr dest;

  /* The destination object is made permanent so that multiple JPEG images
   * can be written to the same file without re-executing jpeg_stdio_dest.
   * This makes it dangerous to use this manager and a different destination
   * manager serially with the same JPEG object, because their private object
   * sizes may be different.  Caveat programmer.
   */
  if (cinfo->dest == NULL) {	/* first time for this JPEG object? */
    cinfo->dest = (struct jpeg_destination_mgr *)
      (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT,
				  SIZEOF(my_destination_mgr));
  }

  dest = (my_dest_ptr) cinfo->dest;
  dest->pub.init_destination = init_destination;
  dest->pub.empty_output_buffer = empty_output_buffer;
  dest->pub.term_destination = term_destination;
  dest->outfile = outfile;
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷久久久久swag精品 | 色婷婷激情一区二区三区| 亚洲欧美一区二区三区极速播放 | 国产伦精品一区二区三区免费| 欧美国产精品一区二区三区| 9191成人精品久久| 成人avav影音| 国产制服丝袜一区| 日韩黄色在线观看| 亚洲与欧洲av电影| 国产精品乱人伦中文| 日韩欧美综合在线| 欧美羞羞免费网站| 91亚洲精品久久久蜜桃网站| 国产激情一区二区三区桃花岛亚洲| 天天色天天爱天天射综合| 亚洲欧美另类图片小说| 欧美经典三级视频一区二区三区| 日韩精品中文字幕在线不卡尤物| 精品视频一区三区九区| 色欧美日韩亚洲| www.在线欧美| 不卡av在线网| a4yy欧美一区二区三区| 成人免费毛片片v| 国产成人午夜视频| 国产精品一二三四区| 久久精工是国产品牌吗| 日韩中文字幕一区二区三区| 亚洲一二三专区| 一区二区成人在线| 亚洲精品成a人| 亚洲人亚洲人成电影网站色| 中文字幕+乱码+中文字幕一区| 久久免费国产精品| 久久久精品一品道一区| 久久久综合视频| 久久青草国产手机看片福利盒子| 精品剧情v国产在线观看在线| 日韩免费在线观看| 日韩免费看网站| 欧美精品一区二区精品网| 欧美mv日韩mv国产| 精品国产乱码久久久久久久久 | 亚洲成av人在线观看| 一区二区欧美在线观看| 夜夜嗨av一区二区三区网页| 亚洲综合精品自拍| 亚洲午夜久久久久久久久久久| 艳妇臀荡乳欲伦亚洲一区| 亚洲高清免费观看高清完整版在线观看| 亚洲亚洲精品在线观看| 视频在线观看国产精品| 美女网站色91| 国产综合久久久久久久久久久久| 国产精品亚洲第一| 成人免费视频caoporn| 日本高清不卡一区| 欧美精选午夜久久久乱码6080| 欧美一区二区久久| 亚洲国产电影在线观看| 亚洲精品免费电影| 日本最新不卡在线| 国产传媒欧美日韩成人| 色偷偷88欧美精品久久久| 欧美日韩国产片| 久久精品夜夜夜夜久久| 亚洲三级视频在线观看| 青青草91视频| 成人黄色一级视频| 欧美日韩免费观看一区二区三区 | 欧亚洲嫩模精品一区三区| 7799精品视频| 国产视频一区二区在线观看| 亚洲卡通动漫在线| 久久99精品国产麻豆不卡| 成人av网站在线观看| 欧美久久一二区| 国产喷白浆一区二区三区| 亚洲午夜精品网| 国产一区二区三区电影在线观看| www.激情成人| 日韩一级片在线播放| 国产精品国产精品国产专区不蜜 | 91麻豆免费在线观看| 欧美一区永久视频免费观看| 国产精品欧美久久久久无广告| 午夜视频一区二区| 成人教育av在线| 欧美一二区视频| 亚洲综合激情网| 成人午夜精品在线| 日韩欧美国产电影| 亚洲欧美日本在线| 国产精品一区二区久激情瑜伽| 欧美撒尿777hd撒尿| 国产精品美女一区二区三区 | 久久成人免费网站| 在线观看日韩精品| 中文字幕在线观看一区| 精品写真视频在线观看| 欧美日韩精品欧美日韩精品一综合| 欧美激情自拍偷拍| 久久99精品久久久| 678五月天丁香亚洲综合网| 中文字幕制服丝袜一区二区三区| 麻豆精品在线观看| 欧美日韩精品专区| 亚洲美女少妇撒尿| 国产成人aaa| 精品国产免费久久| 日韩在线播放一区二区| 欧美日韩小视频| 亚洲自拍偷拍九九九| 99久久99久久精品免费看蜜桃| 2020日本不卡一区二区视频| 奇米精品一区二区三区在线观看一 | 久久精品国产精品亚洲红杏| 欧美日韩精品一区二区| 一区二区三区毛片| 色先锋aa成人| 亚洲欧美另类久久久精品| 成人avav在线| 国产精品久久久久久久久免费丝袜 | 亚洲欧美电影院| gogogo免费视频观看亚洲一| 日本一区二区视频在线观看| 国产夫妻精品视频| 国产免费观看久久| 丰满岳乱妇一区二区三区| 久久品道一品道久久精品| 国产美女av一区二区三区| 精品国产免费人成在线观看| 激情深爱一区二区| 久久综合色8888| 粉嫩高潮美女一区二区三区| 国产午夜亚洲精品理论片色戒| 国产精品77777竹菊影视小说| 精品欧美乱码久久久久久| 激情综合亚洲精品| 久久久久久久综合狠狠综合| 国产成人av一区二区| 国产精品国产三级国产aⅴ原创| 99久久99久久免费精品蜜臀| 亚洲综合在线电影| 欧美日韩国产综合久久| 日韩高清在线观看| 欧美不卡一二三| 成人黄色小视频在线观看| 亚洲视频中文字幕| 欧美日韩在线播放三区四区| 日韩激情中文字幕| 久久久久久久免费视频了| 成人免费视频视频| 亚洲一区二区三区视频在线| 91精选在线观看| 国产美女一区二区三区| 亚洲视频免费在线| 欧美日韩国产经典色站一区二区三区| 蜜桃久久精品一区二区| 26uuu国产日韩综合| 不卡一区二区中文字幕| 亚洲宅男天堂在线观看无病毒| 日韩一区二区精品葵司在线| 国产成+人+日韩+欧美+亚洲| 亚洲乱码国产乱码精品精可以看| 欧美日本在线观看| 国产剧情一区二区| 一区二区三区欧美日| 日韩欧美高清在线| 成人国产亚洲欧美成人综合网| 亚洲一区二区欧美日韩| 精品sm在线观看| 日本韩国欧美在线| 免费成人av资源网| 亚洲色图19p| 精品国产伦一区二区三区免费| 91免费看片在线观看| 久久er精品视频| 亚洲欧洲制服丝袜| 久久男人中文字幕资源站| 欧美视频一区二区三区在线观看| 韩国精品久久久| 亚洲最大成人网4388xx| 久久久久久久性| 欧美肥妇bbw| 波多野结衣中文字幕一区| 秋霞电影网一区二区| 1区2区3区精品视频| 精品精品国产高清一毛片一天堂| 色94色欧美sute亚洲线路二| 狠狠色丁香久久婷婷综| 亚洲国产精品影院| 一区二区中文视频| 久久日韩精品一区二区五区| 欧美午夜视频网站| 99精品一区二区三区| 国产精品456| 麻豆国产精品一区二区三区| 亚洲一区二区av在线|