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

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

?? jdatadst.c

?? MPEG4解碼程序源代碼(能夠對各種MPEG4文件進行解碼)
?? C
字號:
////////////////////////////////////////////////////////////////////////
//
//	Note : this file is included as part of the Smaller Animals Software
//	JpegFile package. Though this file has not been modified from it's 
//	original IJG 6a form, it is not the responsibility on the Independent
//	JPEG Group to answer questions regarding this code.
//	
//	Any questions you have about this code should be addressed to :
//
//	CHRISDL@PAGESZ.NET	- the distributor of this package.
//
//	Remember, by including this code in the JpegFile package, Smaller 
//	Animals Software assumes all responsibilities for answering questions
//	about it. If we (SA Software) can't answer your questions ourselves, we 
//	will direct you to people who can.
//
//	Thanks, CDL.
//
////////////////////////////////////////////////////////////////////////

/*
 * 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;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人a在线| 欧美美女激情18p| 美女视频一区二区三区| 欧美高清在线精品一区| 国产亚洲一区二区在线观看| 精品乱人伦一区二区三区| 日韩视频免费观看高清在线视频| 欧美日韩精品一二三区| 欧美高清视频在线高清观看mv色露露十八| 欧美三区免费完整视频在线观看| 欧美日韩久久不卡| 制服丝袜亚洲播放| 亚洲精品一线二线三线| 久久综合网色—综合色88| 久久久午夜电影| 综合自拍亚洲综合图不卡区| 亚洲黄色在线视频| 五月天中文字幕一区二区| 久久国产精品无码网站| 懂色av一区二区在线播放| av资源站一区| 欧美电影影音先锋| 久久综合丝袜日本网| 亚洲欧美另类久久久精品| 五月天欧美精品| 国产精品18久久久久久久网站| 成人app网站| 欧美理论片在线| 国产女人aaa级久久久级| 亚洲欧美日韩国产综合在线| 男男gaygay亚洲| 成人av电影在线网| 日韩欧美中文一区| 亚洲色图.com| 久久99精品国产91久久来源| 99v久久综合狠狠综合久久| 91精品国产一区二区三区| 国产欧美一区二区精品性色超碰| 亚洲日本欧美天堂| 久久99国产精品久久99果冻传媒| 99久久精品99国产精品| 日韩欧美自拍偷拍| 亚洲一区二区不卡免费| 懂色av一区二区夜夜嗨| 欧美精品在欧美一区二区少妇| 国产欧美日韩另类一区| 日韩精品一级中文字幕精品视频免费观看 | 成人一级视频在线观看| 日本韩国精品一区二区在线观看| 精品国产乱码久久久久久浪潮| 亚洲同性gay激情无套| 国产乱理伦片在线观看夜一区| 欧美在线不卡视频| 国产精品久久久久婷婷| 激情欧美一区二区| 91精品国产综合久久精品麻豆| 综合久久久久综合| 国产91精品精华液一区二区三区 | 国产精品一区二区三区99| 欧美日韩日日骚| 亚洲精品第一国产综合野| 国产成人午夜片在线观看高清观看| 欧美老人xxxx18| 亚洲一区二区三区中文字幕 | 日韩欧美在线123| 夜色激情一区二区| 99视频精品全部免费在线| 国产三级一区二区三区| 国产在线国偷精品产拍免费yy | 国产精品久久久久婷婷| 成人午夜私人影院| 国产日本一区二区| 粉嫩av一区二区三区在线播放| 久久久精品免费免费| 国内外成人在线视频| 2017欧美狠狠色| 国产不卡高清在线观看视频| 久久精品亚洲精品国产欧美| 国产真实精品久久二三区| 久久影院电视剧免费观看| 国产精品资源在线看| 中文字幕成人av| 91视频一区二区| 亚洲国产另类av| 欧美日韩国产欧美日美国产精品| 亚洲国产另类av| 精品国产一区二区三区忘忧草| 国模大尺度一区二区三区| 日本一区二区三区在线不卡 | 欧美日本国产视频| 石原莉奈在线亚洲二区| 欧美电视剧免费观看| 久久国内精品视频| 久久久久久毛片| av一区二区三区| 亚洲不卡在线观看| 精品久久人人做人人爽| 国产精品一区二区果冻传媒| 中文字幕一区二区三区在线不卡 | 日韩视频不卡中文| 国产·精品毛片| 亚洲精品视频免费观看| 日韩一区二区三免费高清| 成人一区二区三区视频在线观看| 一区二区高清视频在线观看| 欧美一区二区三区在| 福利一区福利二区| 亚洲线精品一区二区三区| 欧美成人精精品一区二区频| 成人性视频网站| 丝袜美腿成人在线| 欧美激情艳妇裸体舞| 欧美男生操女生| 成人精品免费看| 日韩一区欧美二区| 中文字幕欧美一区| 日韩欧美一区二区三区在线| 色呦呦网站一区| 激情另类小说区图片区视频区| 中文字幕一区二区三区在线观看| 日韩欧美精品在线| 色欧美乱欧美15图片| 国产精品一级在线| 天堂精品中文字幕在线| 亚洲视频一区二区在线| 久久精品一区二区| 欧美一级电影网站| 欧美日韩亚洲综合在线| 成人av动漫网站| 国产成人一区在线| 奇米精品一区二区三区在线观看 | 中文字幕中文字幕中文字幕亚洲无线| 91.成人天堂一区| 在线一区二区三区四区| 岛国精品在线观看| 久久国产麻豆精品| 久久99精品久久久久婷婷| 日本免费新一区视频| 一区二区欧美精品| 亚洲视频中文字幕| 国产精品盗摄一区二区三区| 久久精品视频一区二区| 日韩免费电影一区| 欧美肥大bbwbbw高潮| 欧美日韩亚洲不卡| 欧美中文字幕一区| 欧美亚洲国产一区在线观看网站| 99re免费视频精品全部| 成人app在线观看| 97久久精品人人做人人爽| 94-欧美-setu| 在线观看视频一区二区欧美日韩| 色综合天天综合网天天狠天天| 北岛玲一区二区三区四区 | 一区二区三区欧美日韩| 国产精品国模大尺度视频| 国产精品嫩草99a| 国产精品久久一卡二卡| 亚洲欧洲av一区二区三区久久| 1区2区3区国产精品| 亚洲欧洲精品一区二区三区| 自拍偷拍欧美精品| 一区二区三区鲁丝不卡| 亚洲高清视频在线| 蜜臀久久99精品久久久久宅男| 青青国产91久久久久久| 美女www一区二区| 夫妻av一区二区| 91色在线porny| 欧美蜜桃一区二区三区| 精品免费日韩av| 中文字幕一区二区三区视频 | 国产日本欧美一区二区| 成人免费小视频| 日本不卡1234视频| 国产成人小视频| 欧美综合久久久| 精品卡一卡二卡三卡四在线| 中文字幕一区二区三区四区 | 久久av老司机精品网站导航| 国产乱子伦一区二区三区国色天香| 国产ts人妖一区二区| 色婷婷一区二区| 欧美一卡二卡三卡四卡| 国产精品无遮挡| 午夜精品久久久久久久久久 | 91电影在线观看| 精品国产一区二区三区忘忧草| 亚洲人成网站在线| 久久国产精品一区二区| 91麻豆产精品久久久久久| 337p亚洲精品色噜噜| 1区2区3区精品视频| 精品一区二区三区免费播放| 色综合久久综合中文综合网| 日韩精品一区二区三区中文不卡| 中文字幕佐山爱一区二区免费| 韩国v欧美v日本v亚洲v| 8v天堂国产在线一区二区| 成人免费小视频|