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

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

?? idct.c

?? MPEG2解編碼程序源代碼
?? C
字號(hào):
/* idct.c, inverse fast discrete cosine transform                           */

/* Copyright (C) 1996, MPEG Software Simulation Group. All Rights Reserved. */

/*
 * Disclaimer of Warranty
 *
 * These software programs are available to the user without any license fee or
 * royalty on an "as is" basis.  The MPEG Software Simulation Group disclaims
 * any and all warranties, whether express, implied, or statuary, including any
 * implied warranties or merchantability or of fitness for a particular
 * purpose.  In no event shall the copyright-holder be liable for any
 * incidental, punitive, or consequential damages of any kind whatsoever
 * arising from the use of these programs.
 *
 * This disclaimer of warranty extends to the user of these programs and user's
 * customers, employees, agents, transferees, successors, and assigns.
 *
 * The MPEG Software Simulation Group does not represent or warrant that the
 * programs furnished hereunder are free of infringement of any third-party
 * patents.
 *
 * Commercial implementations of MPEG-1 and MPEG-2 video, including shareware,
 * are subject to royalty fees to patent holders.  Many of these patents are
 * general enough such that they are unavoidable regardless of implementation
 * design.
 *
 */

/**********************************************************/
/* inverse two dimensional DCT, Chen-Wang algorithm       */
/* (cf. IEEE ASSP-32, pp. 803-816, Aug. 1984)             */
/* 32-bit integer arithmetic (8 bit coefficients)         */
/* 11 mults, 29 adds per DCT                              */
/*                                      sE, 18.8.91       */
/**********************************************************/
/* coefficients extended to 12 bit for IEEE1180-1990      */
/* compliance                           sE,  2.1.94       */
/**********************************************************/

/* this code assumes >> to be a two's-complement arithmetic */
/* right shift: (-2)>>1 == -1 , (-3)>>1 == -2               */

#include "config.h"

#define W1 2841 /* 2048*sqrt(2)*cos(1*pi/16) */
#define W2 2676 /* 2048*sqrt(2)*cos(2*pi/16) */
#define W3 2408 /* 2048*sqrt(2)*cos(3*pi/16) */
#define W5 1609 /* 2048*sqrt(2)*cos(5*pi/16) */
#define W6 1108 /* 2048*sqrt(2)*cos(6*pi/16) */
#define W7 565  /* 2048*sqrt(2)*cos(7*pi/16) */

/* global declarations */
void Initialize_Fast_IDCT _ANSI_ARGS_((void));
void Fast_IDCT _ANSI_ARGS_((short *block));

/* private data */
static short iclip[1024]; /* clipping table */
static short *iclp;

/* private prototypes */
static void idctrow _ANSI_ARGS_((short *blk));
static void idctcol _ANSI_ARGS_((short *blk));

/* row (horizontal) IDCT
 *
 *           7                       pi         1
 * dst[k] = sum c[l] * src[l] * cos( -- * ( k + - ) * l )
 *          l=0                      8          2
 *
 * where: c[0]    = 128
 *        c[1..7] = 128*sqrt(2)
 */

static void idctrow(blk)
short *blk;
{
  int x0, x1, x2, x3, x4, x5, x6, x7, x8;

  /* shortcut */
  if (!((x1 = blk[4]<<11) | (x2 = blk[6]) | (x3 = blk[2]) |
        (x4 = blk[1]) | (x5 = blk[7]) | (x6 = blk[5]) | (x7 = blk[3])))
  {
    blk[0]=blk[1]=blk[2]=blk[3]=blk[4]=blk[5]=blk[6]=blk[7]=blk[0]<<3;
    return;
  }

  x0 = (blk[0]<<11) + 128; /* for proper rounding in the fourth stage */

  /* first stage */
  x8 = W7*(x4+x5);
  x4 = x8 + (W1-W7)*x4;
  x5 = x8 - (W1+W7)*x5;
  x8 = W3*(x6+x7);
  x6 = x8 - (W3-W5)*x6;
  x7 = x8 - (W3+W5)*x7;
  
  /* second stage */
  x8 = x0 + x1;
  x0 -= x1;
  x1 = W6*(x3+x2);
  x2 = x1 - (W2+W6)*x2;
  x3 = x1 + (W2-W6)*x3;
  x1 = x4 + x6;
  x4 -= x6;
  x6 = x5 + x7;
  x5 -= x7;
  
  /* third stage */
  x7 = x8 + x3;
  x8 -= x3;
  x3 = x0 + x2;
  x0 -= x2;
  x2 = (181*(x4+x5)+128)>>8;
  x4 = (181*(x4-x5)+128)>>8;
  
  /* fourth stage */
  blk[0] = (x7+x1)>>8;
  blk[1] = (x3+x2)>>8;
  blk[2] = (x0+x4)>>8;
  blk[3] = (x8+x6)>>8;
  blk[4] = (x8-x6)>>8;
  blk[5] = (x0-x4)>>8;
  blk[6] = (x3-x2)>>8;
  blk[7] = (x7-x1)>>8;
}

/* column (vertical) IDCT
 *
 *             7                         pi         1
 * dst[8*k] = sum c[l] * src[8*l] * cos( -- * ( k + - ) * l )
 *            l=0                        8          2
 *
 * where: c[0]    = 1/1024
 *        c[1..7] = (1/1024)*sqrt(2)
 */
static void idctcol(blk)
short *blk;
{
  int x0, x1, x2, x3, x4, x5, x6, x7, x8;

  /* shortcut */
  if (!((x1 = (blk[8*4]<<8)) | (x2 = blk[8*6]) | (x3 = blk[8*2]) |
        (x4 = blk[8*1]) | (x5 = blk[8*7]) | (x6 = blk[8*5]) | (x7 = blk[8*3])))
  {
    blk[8*0]=blk[8*1]=blk[8*2]=blk[8*3]=blk[8*4]=blk[8*5]=blk[8*6]=blk[8*7]=
      iclp[(blk[8*0]+32)>>6];
    return;
  }

  x0 = (blk[8*0]<<8) + 8192;

  /* first stage */
  x8 = W7*(x4+x5) + 4;
  x4 = (x8+(W1-W7)*x4)>>3;
  x5 = (x8-(W1+W7)*x5)>>3;
  x8 = W3*(x6+x7) + 4;
  x6 = (x8-(W3-W5)*x6)>>3;
  x7 = (x8-(W3+W5)*x7)>>3;
  
  /* second stage */
  x8 = x0 + x1;
  x0 -= x1;
  x1 = W6*(x3+x2) + 4;
  x2 = (x1-(W2+W6)*x2)>>3;
  x3 = (x1+(W2-W6)*x3)>>3;
  x1 = x4 + x6;
  x4 -= x6;
  x6 = x5 + x7;
  x5 -= x7;
  
  /* third stage */
  x7 = x8 + x3;
  x8 -= x3;
  x3 = x0 + x2;
  x0 -= x2;
  x2 = (181*(x4+x5)+128)>>8;
  x4 = (181*(x4-x5)+128)>>8;
  
  /* fourth stage */
  blk[8*0] = iclp[(x7+x1)>>14];
  blk[8*1] = iclp[(x3+x2)>>14];
  blk[8*2] = iclp[(x0+x4)>>14];
  blk[8*3] = iclp[(x8+x6)>>14];
  blk[8*4] = iclp[(x8-x6)>>14];
  blk[8*5] = iclp[(x0-x4)>>14];
  blk[8*6] = iclp[(x3-x2)>>14];
  blk[8*7] = iclp[(x7-x1)>>14];
}

/* two dimensional inverse discrete cosine transform */
void Fast_IDCT(block)
short *block;
{
  int i;

  for (i=0; i<8; i++)
    idctrow(block+8*i);

  for (i=0; i<8; i++)
    idctcol(block+i);
}

void Initialize_Fast_IDCT()
{
  int i;

  iclp = iclip+512;
  for (i= -512; i<512; i++)
    iclp[i] = (i<-256) ? -256 : ((i>255) ? 255 : i);
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
proumb性欧美在线观看| 在线观看91精品国产入口| 日韩欧美激情一区| 国产毛片精品视频| 亚洲婷婷在线视频| 欧日韩精品视频| 国产伦精品一区二区三区在线观看| 欧美激情中文不卡| 欧美电影影音先锋| 成人福利视频网站| 日韩福利电影在线| 亚洲男人的天堂一区二区| 日韩欧美www| 欧美日韩精品一区二区三区| 成人午夜激情影院| 黄页网站大全一区二区| 午夜激情一区二区| 亚洲精品一区二区三区蜜桃下载 | 亚洲自拍另类综合| 国产校园另类小说区| 91麻豆精品国产91久久久使用方法| 成人av网站在线| 国产成人自拍网| 国产成人精品免费网站| 精品一区二区三区免费| 免费亚洲电影在线| 麻豆91精品91久久久的内涵| 午夜久久久影院| 日本伊人色综合网| 日韩高清不卡一区| 麻豆国产精品视频| 日韩黄色免费网站| 久久精品国产免费| 久久99这里只有精品| 国产精品一色哟哟哟| 国产九色sp调教91| 国产精品综合av一区二区国产馆| 狠狠色综合播放一区二区| 激情图区综合网| 成人综合日日夜夜| 91官网在线观看| 欧美一区二区三区日韩视频| 精品对白一区国产伦| 欧美国产一区视频在线观看| 亚洲男人的天堂在线aⅴ视频| 日韩av中文字幕一区二区| 久草精品在线观看| 欧美在线一二三四区| 欧美成人bangbros| 一区二区三区四区在线| 另类小说欧美激情| 色老综合老女人久久久| 久久精品一二三| 午夜电影一区二区| 色久综合一二码| 国产亚洲欧美一区在线观看| 亚洲大片在线观看| 色综合激情久久| 欧美高清在线一区二区| 久久99深爱久久99精品| 欧美精品1区2区3区| 亚洲第四色夜色| 欧洲国内综合视频| 国产亚洲成av人在线观看导航| 日本不卡一区二区| 宅男在线国产精品| 免费一区二区视频| 日韩一区二区电影在线| 日产欧产美韩系列久久99| 欧美影视一区二区三区| 亚洲精品视频在线| 欧美日韩高清影院| 日本伊人精品一区二区三区观看方式| 99久久99久久免费精品蜜臀| 亚洲欧美一区二区三区极速播放| 99久久99久久免费精品蜜臀| 一区二区三区在线高清| 欧美一级视频精品观看| 国产在线不卡视频| 久久先锋影音av鲁色资源 | 自拍偷拍欧美精品| 色香色香欲天天天影视综合网| 亚洲一区av在线| 欧美一区二区视频在线观看 | 九九热在线视频观看这里只有精品| 日韩欧美一级在线播放| 国产999精品久久| 亚洲美女精品一区| 精品国产一区二区三区不卡| 成人黄色免费短视频| 视频一区在线播放| 中文字幕免费不卡在线| 日韩一区二区三区四区| 97久久人人超碰| 精品一区二区三区影院在线午夜| 国产欧美视频一区二区| 7777精品久久久大香线蕉| jlzzjlzz亚洲日本少妇| 激情另类小说区图片区视频区| 亚洲欧洲综合另类在线| 国产日韩欧美精品综合| 久久综合九色综合欧美亚洲| 欧美老年两性高潮| 成人av网站大全| av动漫一区二区| 成人美女视频在线观看18| 久久国产综合精品| 精品亚洲欧美一区| 日韩黄色免费电影| 日韩av午夜在线观看| 日本午夜一本久久久综合| 一区二区三区 在线观看视频| 亚洲视频香蕉人妖| 日韩毛片精品高清免费| 专区另类欧美日韩| 亚洲区小说区图片区qvod| 日本一区二区三区电影| 国产精品你懂的在线欣赏| 国产欧美一区二区三区网站 | 盗摄精品av一区二区三区| 在线亚洲一区二区| 欧美色精品天天在线观看视频| 久久综合久久综合久久| 国产精品久久久久婷婷二区次| 综合久久综合久久| 亚洲综合自拍偷拍| 精品制服美女丁香| proumb性欧美在线观看| 欧美高清视频在线高清观看mv色露露十八 | 91精品国产综合久久久久久漫画 | 麻豆精品视频在线观看视频| 国产一区二区看久久| 色狠狠一区二区| 欧美tk丨vk视频| 亚洲精选免费视频| 久久99精品久久久久久久久久久久 | 婷婷综合另类小说色区| 国产九九视频一区二区三区| 99久久精品国产一区二区三区| 欧美一区二区三级| 亚洲va欧美va人人爽| av一区二区三区黑人| 日韩欧美成人一区| 日本亚洲三级在线| 日本韩国欧美一区| 国产精品无人区| 国产精品香蕉一区二区三区| 91精品中文字幕一区二区三区| 亚洲中国最大av网站| 91麻豆免费观看| 亚洲色图欧洲色图婷婷| 91亚洲精品久久久蜜桃网站| 国产精品家庭影院| 99天天综合性| 中文字幕一区在线| 色综合网站在线| 亚洲.国产.中文慕字在线| 欧美另类变人与禽xxxxx| 婷婷久久综合九色综合伊人色| 欧美精品亚洲二区| 久久精品国产精品亚洲综合| 久久综合色一综合色88| 粗大黑人巨茎大战欧美成人| 亚洲另类一区二区| 91精品国产品国语在线不卡| 精油按摩中文字幕久久| 国产日产欧美一区| 91原创在线视频| 日本视频中文字幕一区二区三区| 精品国产精品网麻豆系列| 成人av网在线| 亚洲mv在线观看| 日本一区二区三级电影在线观看| 色嗨嗨av一区二区三区| 精东粉嫩av免费一区二区三区| 欧美国产精品一区二区| 欧美日韩国产天堂| a级精品国产片在线观看| 亚洲va欧美va天堂v国产综合| 久久久高清一区二区三区| 91免费观看视频| 国产一区二区福利| 天天操天天综合网| 亚洲人精品午夜| 中文av一区二区| 久久精品在线免费观看| 91精品视频网| 欧美日本在线播放| 色屁屁一区二区| 色综合久久中文字幕| 99久久综合精品| 99久久精品国产导航| 国产成人一级电影| 国产一区二区三区电影在线观看| 洋洋成人永久网站入口| 亚洲一二三四区不卡| 成人爽a毛片一区二区免费| 亚洲国产中文字幕在线视频综合 | 韩国一区二区视频| 97精品久久久午夜一区二区三区|