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

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

?? jutils.c

?? 基于Linux的ffmepg decoder
?? C
字號(hào):
/*
 * jutils.c
 *
 * Copyright (C) 1991-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 tables and miscellaneous utility routines needed
 * for both compression and decompression.
 * Note we prefix all global names with "j" to minimize conflicts with
 * a surrounding application.
 */

#define JPEG_INTERNALS
#include "jinclude.h"
#include "jpeglib.h"


/*
 * jpeg_zigzag_order[i] is the zigzag-order position of the i'th element
 * of a DCT block read in natural order (left to right, top to bottom).
 */

#if 0				/* This table is not actually needed in v6a */

const int jpeg_zigzag_order[DCTSIZE2] = {
   0,  1,  5,  6, 14, 15, 27, 28,
   2,  4,  7, 13, 16, 26, 29, 42,
   3,  8, 12, 17, 25, 30, 41, 43,
   9, 11, 18, 24, 31, 40, 44, 53,
  10, 19, 23, 32, 39, 45, 52, 54,
  20, 22, 33, 38, 46, 51, 55, 60,
  21, 34, 37, 47, 50, 56, 59, 61,
  35, 36, 48, 49, 57, 58, 62, 63
};

#endif

/*
 * jpeg_natural_order[i] is the natural-order position of the i'th element
 * of zigzag order.
 *
 * When reading corrupted data, the Huffman decoders could attempt
 * to reference an entry beyond the end of this array (if the decoded
 * zero run length reaches past the end of the block).  To prevent
 * wild stores without adding an inner-loop test, we put some extra
 * "63"s after the real entries.  This will cause the extra coefficient
 * to be stored in location 63 of the block, not somewhere random.
 * The worst case would be a run-length of 15, which means we need 16
 * fake entries.
 */

const int jpeg_natural_order[DCTSIZE2+16] = {
  0,  1,  8, 16,  9,  2,  3, 10,
 17, 24, 32, 25, 18, 11,  4,  5,
 12, 19, 26, 33, 40, 48, 41, 34,
 27, 20, 13,  6,  7, 14, 21, 28,
 35, 42, 49, 56, 57, 50, 43, 36,
 29, 22, 15, 23, 30, 37, 44, 51,
 58, 59, 52, 45, 38, 31, 39, 46,
 53, 60, 61, 54, 47, 55, 62, 63,
 63, 63, 63, 63, 63, 63, 63, 63, /* extra entries for safety in decoder */
 63, 63, 63, 63, 63, 63, 63, 63
};


/*
 * Arithmetic utilities
 */

GLOBAL(long)
jdiv_round_up (long a, long b)
/* Compute a/b rounded up to next integer, ie, ceil(a/b) */
/* Assumes a >= 0, b > 0 */
{
  return (a + b - 1L) / b;
}


GLOBAL(long)
jround_up (long a, long b)
/* Compute a rounded up to next multiple of b, ie, ceil(a/b)*b */
/* Assumes a >= 0, b > 0 */
{
  a += b - 1L;
  return a - (a % b);
}


/* On normal machines we can apply MEMCOPY() and MEMZERO() to sample arrays
 * and coefficient-block arrays.  This won't work on 80x86 because the arrays
 * are FAR and we're assuming a small-pointer memory model.  However, some
 * DOS compilers provide far-pointer versions of memcpy() and memset() even
 * in the small-model libraries.  These will be used if USE_FMEM is defined.
 * Otherwise, the routines below do it the hard way.  (The performance cost
 * is not all that great, because these routines aren't very heavily used.)
 */

#ifndef NEED_FAR_POINTERS	/* normal case, same as regular macros */
#define FMEMCOPY(dest,src,size)	MEMCOPY(dest,src,size)
#define FMEMZERO(target,size)	MEMZERO(target,size)
#else				/* 80x86 case, define if we can */
#ifdef USE_FMEM
#define FMEMCOPY(dest,src,size)	_fmemcpy((void FAR *)(dest), (const void FAR *)(src), (size_t)(size))
#define FMEMZERO(target,size)	_fmemset((void FAR *)(target), 0, (size_t)(size))
#endif
#endif


GLOBAL(void)
jcopy_sample_rows (JSAMPARRAY input_array, int source_row,
		   JSAMPARRAY output_array, int dest_row,
		   int num_rows, JDIMENSION num_cols)
/* Copy some rows of samples from one place to another.
 * num_rows rows are copied from input_array[source_row++]
 * to output_array[dest_row++]; these areas may overlap for duplication.
 * The source and destination arrays must be at least as wide as num_cols.
 */
{
  register JSAMPROW inptr, outptr;
#ifdef FMEMCOPY
  register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
#else
  register JDIMENSION count;
#endif
  register int row;

  input_array += source_row;
  output_array += dest_row;

  for (row = num_rows; row > 0; row--) {
    inptr = *input_array++;
    outptr = *output_array++;
#ifdef FMEMCOPY
    FMEMCOPY(outptr, inptr, count);
#else
    for (count = num_cols; count > 0; count--)
      *outptr++ = *inptr++;	/* needn't bother with GETJSAMPLE() here */
#endif
  }
}


GLOBAL(void)
jcopy_block_row (JBLOCKROW input_row, JBLOCKROW output_row,
		 JDIMENSION num_blocks)
/* Copy a row of coefficient blocks from one place to another. */
{
#ifdef FMEMCOPY
  FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
#else
  register JCOEFPTR inptr, outptr;
  register long count;

  inptr = (JCOEFPTR) input_row;
  outptr = (JCOEFPTR) output_row;
  for (count = (long) num_blocks * DCTSIZE2; count > 0; count--) {
    *outptr++ = *inptr++;
  }
#endif
}


GLOBAL(void)
jzero_far (void FAR * target, size_t bytestozero)
/* Zero out a chunk of FAR memory. */
/* This might be sample-array data, block-array data, or alloc_large data. */
{
#ifdef FMEMZERO
  FMEMZERO(target, bytestozero);
#else
  register char FAR * ptr = (char FAR *) target;
  register size_t count;

  for (count = bytestozero; count > 0; count--) {
    *ptr++ = 0;
  }
#endif
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线播放一区二区三区| 亚洲欧美日韩国产另类专区| 成人精品一区二区三区中文字幕 | 一区二区三区成人在线视频| 欧美猛男gaygay网站| 国产69精品久久久久毛片| 日日夜夜一区二区| 中文字幕在线播放不卡一区| 精品少妇一区二区三区免费观看| 在线观看免费成人| 99精品久久久久久| 蜜臀99久久精品久久久久久软件| 亚洲一区二区三区在线| 26uuu精品一区二区| 国产成人av电影在线播放| 中文字幕不卡在线观看| 91丝袜美女网| 国内精品国产三级国产a久久| 波多野结衣视频一区| 亚洲欧美日韩人成在线播放| 在线亚洲一区二区| 久久99精品久久只有精品| 欧美日韩精品系列| 99精品视频一区二区| 国产成人免费网站| 国产精品亚洲专一区二区三区 | 日韩免费电影网站| 欧美日韩一区高清| 欧美在线免费观看亚洲| 欧美综合天天夜夜久久| 在线这里只有精品| 色婷婷综合视频在线观看| 成人开心网精品视频| 成人av第一页| 成人av免费观看| 成人激情免费电影网址| av在线播放不卡| 成人app在线观看| av不卡免费在线观看| 成人av电影观看| 91浏览器在线视频| 欧美性淫爽ww久久久久无| 91精品福利视频| 欧美日韩精品一区二区三区四区| 欧美日韩精品一区视频| 欧美一区二区三区在线观看| 日韩精品一区二区三区中文精品| 精品国精品国产| 久久精品亚洲一区二区三区浴池| 久久久777精品电影网影网| 国产欧美视频一区二区三区| 国产精品嫩草影院av蜜臀| 国产精品乱码人人做人人爱| 亚洲欧洲日韩av| 亚洲自拍与偷拍| 秋霞电影一区二区| 国产黄人亚洲片| 91在线国产福利| 欧美日韩一级片在线观看| 91精品国产色综合久久久蜜香臀| 日韩午夜激情电影| 欧美激情一区二区三区全黄| 亚洲女人小视频在线观看| 午夜伊人狠狠久久| 麻豆视频一区二区| 成人精品视频一区二区三区| 在线看日本不卡| 国产精品情趣视频| 樱花草国产18久久久久| 精品在线免费视频| 国产成人午夜精品影院观看视频| 国产福利精品导航| 91麻豆精品视频| 精品sm捆绑视频| 久久网站热最新地址| 久久久久久亚洲综合| 欧美国产日本韩| 亚洲成人免费看| 欧美日韩视频在线第一区 | 丝袜亚洲另类欧美| 久久av中文字幕片| 99久久精品国产观看| 在线成人免费观看| 国产亚洲欧美日韩在线一区| 夜夜精品浪潮av一区二区三区| 激情小说亚洲一区| 日本乱码高清不卡字幕| 26uuu亚洲综合色| 亚洲精品成人精品456| 久久99精品国产| 欧美少妇xxx| 国产精品网站一区| 蜜臀精品一区二区三区在线观看 | 亚洲一级二级三级| 国产精品一区三区| 欧美卡1卡2卡| 亚洲欧美激情插| 国产精品羞羞答答xxdd| 7777精品伊人久久久大香线蕉| 国产精品乱人伦中文| 韩国三级在线一区| 欧美日高清视频| 亚洲欧美日韩在线不卡| 国产一区999| 日韩欧美成人一区| 亚洲成人福利片| 一本大道综合伊人精品热热 | 精品视频一区三区九区| 国产精品―色哟哟| 国内精品久久久久影院色| 欧美日本不卡视频| 艳妇臀荡乳欲伦亚洲一区| 成人一道本在线| 久久精品男人天堂av| 美女视频黄免费的久久| 欧美日韩电影在线播放| 一区二区三区电影在线播| av电影一区二区| 国产欧美日韩不卡| 国产精品小仙女| 日韩视频在线观看一区二区| 国产精华液一区二区三区| 亚洲免费高清视频在线| 26uuu色噜噜精品一区| 精品一区二区三区在线观看国产| 欧美精品v日韩精品v韩国精品v| 亚洲bt欧美bt精品777| 91麻豆精品国产| av电影天堂一区二区在线| 日韩一区欧美小说| 欧美性受xxxx黑人xyx性爽| 亚洲综合免费观看高清完整版| 3d成人h动漫网站入口| 欧美大白屁股肥臀xxxxxx| 亚洲欧美综合在线精品| 成人app在线| 亚洲人成网站色在线观看| 色婷婷综合激情| 一区二区成人在线观看| 91国偷自产一区二区三区成为亚洲经典 | 91免费在线看| 综合精品久久久| 色av一区二区| 亚洲大型综合色站| 在线播放视频一区| 免费国产亚洲视频| 26uuu亚洲婷婷狠狠天堂| 国产剧情在线观看一区二区| 欧美激情一区二区三区全黄 | 99久久伊人网影院| 亚洲婷婷国产精品电影人久久| 91视频xxxx| 亚洲一区在线电影| 欧美电影免费观看高清完整版在线 | 亚洲免费在线播放| 欧美久久久久中文字幕| 久久精品国产99久久6| 国产欧美精品一区二区三区四区| 成人黄色一级视频| 亚洲国产日产av| 精品欧美一区二区久久| 99视频热这里只有精品免费| 一区二区成人在线观看| 欧美不卡一二三| www.66久久| 五月婷婷综合网| 久久久久久免费| 日本大香伊一区二区三区| 免费成人结看片| 中文字幕成人在线观看| 欧美日韩国产影片| 国产一区美女在线| 有码一区二区三区| 精品久久国产老人久久综合| 97久久精品人人澡人人爽| 午夜欧美2019年伦理| 1000部国产精品成人观看| 日韩三区在线观看| 日韩免费观看高清完整版 | 国产日韩欧美麻豆| 色老综合老女人久久久| 日本vs亚洲vs韩国一区三区| 专区另类欧美日韩| 日韩一卡二卡三卡| 另类小说图片综合网| 51精品国自产在线| 最新不卡av在线| 亚洲一区影音先锋| 国产美女视频91| 国产亚洲一本大道中文在线| 97国产精品videossex| 秋霞电影一区二区| 欧美激情在线一区二区| 国产成人精品亚洲777人妖| 欧美大片在线观看一区二区| 亚洲欧美在线aaa| 日韩精品成人一区二区三区| 成人免费va视频| 欧美一区二区网站| 国产精品无人区|