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

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

?? transform.c

?? This document aims to provide instructions on how to configure the H.264/AVC encoder and decoder usi
?? C
?? 第 1 頁 / 共 2 頁
字號:
/*COPYRIGHT, LICENSE AND WARRANTY INFORMATIONThis software module has been originally developed by Nokia Corporation. Provided that a person, entity or a company willing to use the Software (hereinafter Licensee) comply with all the terms and conditions of this Statement and subject to the limitations set forth in this Statement Nokia grants to such Licensee a non-exclusive, sub-licensable, worldwide, limited license under copyrights owned by Nokia to use the Software for the sole purpose of creating, manufacturing, selling, marketing, or  distributing (including the right to make modifications to the Software) a fully compliant decoder implementation (hereinafter "Decoder") of ITU-T Recommendation H.264 / ISO/IEC International Standard 14496-10 and an encoder implementation producing output that is decodable with the Decoder.Nokia retains the ownership of copyrights to the Software. There is no patent nor other intellectual property right of Nokia licensed under this Statement (except the copyright license above). Licensee hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if patent licenses  are required, it is their responsibility to acquire the license before utilizing the Software.The license by Nokia is subject to that the Licensee grants to Nokia the non-exclusive, worldwide, royalty-free, perpetual and irrevocable covenant that the Licensee(s) shall not bring a suit before any court or administrative agency or otherwise assert a claim for infringement under the Licensee intellectual property rights that, but for a license, would be infringed by the Software against     (a)  Nokia or Nokia's Affiliate; or     (b)  other recipient of a license and covenant not to sue with respect         to the Software from Nokia; or    (c)  contractor, customer or distributor of a party listed above in a         or b,  which suit or claim is related to the Software or use thereof.The Licensee(s) further agrees to grant a reciprocal license to Nokia (as granted by Nokia to the Licensee(s) on the modifications made by Licensee(s) to the Software. THE SOFTWARE IS PROVIDED "AS IS" AND THE ORIGINAL DEVELOPER DISCLAIMS ANY AND ALL WARRANTIES WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. THOSE INTENDING TO USE THE SOFTWARE ARE EXPRESSLY ADVISED THAT ITS USE MAY INFRINGE EXISTING PATENTS AND BE SUBJECT TO ROYALTY PAYMENTS TO PATENT OWNERS. ANYONE USING THE SOFTWARE ON THE BASIS OF THIS LICENSE AGREES TO OBTAIN THE NECESSARY PERMISSIONS FROM ANY AND ALL APPLICABLE PATENT OWNERS FOR SUCH USE.IN NO EVENT SHALL THE ORIGINAL DEVELOPER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.This copyright, license and warranty information notice must be retained in all copies and derivative works of the Software or substantial portions thereof.*/#include <stdio.h>#include <math.h>#include <limits.h>#include "globals.h"#include "transform.h"#define QUANT_INTRA_ADD    (TRA_QUANT_SCALE/3)#define QUANT_INTER_ADD    (TRA_QUANT_SCALE/6)static const int16 quantCoef[6][16] = {  {13107, 8066,13107, 8066, 8066, 5243, 8066, 5243,13107, 8066,13107, 8066, 8066, 5243, 8066, 5243},  {11916, 7490,11916, 7490, 7490, 4660, 7490, 4660,11916, 7490,11916, 7490, 7490, 4660, 7490, 4660},  {10082, 6554,10082, 6554, 6554, 4194, 6554, 4194,10082, 6554,10082, 6554, 6554, 4194, 6554, 4194},  { 9362, 5825, 9362, 5825, 5825, 3647, 5825, 3647, 9362, 5825, 9362, 5825, 5825, 3647, 5825, 3647},  { 8192, 5243, 8192, 5243, 5243, 3355, 5243, 3355, 8192, 5243, 8192, 5243, 5243, 3355, 5243, 3355},  { 7282, 4559, 7282, 4559, 4559, 2893, 4559, 2893, 7282, 4559, 7282, 4559, 4559, 2893, 4559, 2893}};extern const int8 qpPerTab[52];extern const int8 qpRemTab[52];/* array used to find expencive coefficients */static const int8 COEFF_COST[16] = {  3,2,2,1,1,1,0,0,0,0,0,0,0,0,0,0};/* * * traDCT4x4: * * Parameters: *      src                   Source values, and also store the results * * Function: *      Compute approximate 4x4 forward DCT. * * Returns: *      - */void traDCT4x4(int src[4][4]){  int tmp[4][4];  int e;  int f;  int i;  /*   *  A = 13a + 13b + 13c + 13d   *  B = 17a +  7b -  7c - 17d   *  C = 13a - 13b - 13c + 13d   *  D = 7a  - 17b + 17c -  7d   *   *  e = a + d   *  f = b + c   *  A = 13(e + f)   *  C = 13(e - f)   *  e = a - d   *  f = b - c   *  B = 17e +  7f   *  D =  7e - 17f   */  /* Horizontal transform */  for (i = 0; i < 4; i++) {    e = src[i][0] + src[i][3];    f = src[i][1] + src[i][2];    tmp[i][0] = e + f;    tmp[i][2] = e - f;    e = src[i][0] - src[i][3];    f = src[i][1] - src[i][2];    tmp[i][1] = 2*e +   f;    tmp[i][3] =   e - 2*f;  }  /* Vertical transform */  for (i = 0; i < 4; i++) {    e = tmp[0][i] + tmp[3][i];    f = tmp[1][i] + tmp[2][i];    src[0][i] = e + f;    src[2][i] = e - f;    e = tmp[0][i] - tmp[3][i];    f = tmp[1][i] - tmp[2][i];    src[1][i] = 2*e +   f;    src[3][i] =   e - 2*f;  }}/* * * traHada4x4: * * Parameters: *      src                   Source values, and also store the results * * Function: *      Compute Hadamard Transform. * * Returns: *      - */void traHada4x4(int src[4][4]){  int tmp[4][4];  int e;  int f;  int i;  /* Horizontal transform */  for (i = 0; i < 4; i++) {    e = src[i][0] + src[i][3];    f = src[i][1] + src[i][2];    tmp[i][0] = e + f;    tmp[i][2] = e - f;    e = src[i][0] - src[i][3];    f = src[i][1] - src[i][2];    tmp[i][1] = e + f;    tmp[i][3] = e - f;  }  /* Vertical transform */  for (i = 0; i < 4; i++) {    e = tmp[0][i] + tmp[3][i];    f = tmp[1][i] + tmp[2][i];    src[0][i] = (e + f)>>1;    src[2][i] = (e - f)>>1;    e = tmp[0][i] - tmp[3][i];    f = tmp[1][i] - tmp[2][i];    src[1][i] = (e + f)>>1;    src[3][i] = (e - f)>>1;  }}/* * * traDCT2x2: * * Parameters: *      src                   Source values, and also store the results * * Function: *      Compute 2x2 forward DCT. * * Returns: *      - */void traDCT2x2(int src[2][2]){  int DC0 = src[0][0];  int DC1 = src[0][1];  int DC2 = src[1][0];  int DC3 = src[1][1];  int A, B;  /*   *  DC0 DC1  =>  DDC(0,0) DDC(1,0)   *  DC2 DC3      DDC(0,1) DDC(1,1)   *   *  DDC(0,0) = (DC0+DC1+DC2+DC3)   *  DDC(1,0) = (DC0-DC1+DC2-DC3)   *  DDC(0,1) = (DC0+DC1-DC2-DC3)   *  DDC(1,1) = (DC0-DC1-DC2+DC3)   */  A = DC0 + DC2;  B = DC1 + DC3;  src[0][0] = (A + B);  src[0][1] = (A - B);  A = DC0 - DC2;  B = DC1 - DC3;  src[1][0] = (A + B);  src[1][1] = (A - B);}/* * * traHadamard4x4: * * Parameters: *      src                   Source values, and also store the results * * Function: *      Compute Hadamard Transform and sum of absolute coefficients * * Returns: *      Sum of absolute coefficiets * */int traHadamard4x4(int src[4][4]){  int tmp[4][4];  int e;  int f;  int i;  int sad;  /*   *  A = a + b + c + d   *  B = a + b - c - d   *  C = a - b - c + d   *  D = a - b + c - d   *   *  e = a + d   *  f = b + c   *  A = e + f   *  C = e - f   *  e = a - d   *  f = b - c   *  B = e + f   *  D = e - f   */  /* Horizontal transform */  for (i = 0; i < 4; i++) {    e = src[i][0] + src[i][3];    f = src[i][1] + src[i][2];    tmp[i][0] = e + f;    tmp[i][2] = e - f;    e = src[i][0] - src[i][3];    f = src[i][1] - src[i][2];    tmp[i][1] = e + f;    tmp[i][3] = e - f;  }  /* Vertical transform and SATD */  for (sad = 0, i = 0; i < 4; i++) {    e = tmp[0][i] + tmp[3][i];    f = tmp[1][i] + tmp[2][i];    sad += abs(e + f);    sad += abs(e - f);    e = tmp[0][i] - tmp[3][i];    f = tmp[1][i] - tmp[2][i];    sad += abs(e + f);    sad += abs(e - f);  }  return sad;}/* * * traDiffSATD4x4: * * Parameters: *      orig            Original values *      pred            Prediction values * * Function: *      Compute difference between orig and pred, compute hadamard *      transform on difference matrix and compute sum of absolute *      transformed differences. * * Returns: *      Sum of absolute transformed differences * */int traDiffSATD4x4(u_int8 orig[BLK_SIZE][MBK_SIZE],                   u_int8 pred[BLK_SIZE][MBK_SIZE]){  int tmp[4][4];  int a, b, c, d;  int e;  int f;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲人成网站在线| 国产永久精品大片wwwapp | 久久99久久久久久久久久久| 黄网站免费久久| 日本电影亚洲天堂一区| 久久久99精品久久| 人人狠狠综合久久亚洲| 日本国产一区二区| 国产精品毛片a∨一区二区三区| 天堂在线亚洲视频| 91蜜桃视频在线| 久久久精品综合| 视频一区欧美精品| 欧美综合一区二区| 国产日韩精品一区二区三区在线| 亚洲国产一区二区三区青草影视| 成人aa视频在线观看| 91精品国产aⅴ一区二区| 亚洲精品国产无套在线观| 成人高清伦理免费影院在线观看| 精品乱人伦小说| 日韩精品高清不卡| 7777精品伊人久久久大香线蕉的| 亚洲人成影院在线观看| 懂色av一区二区夜夜嗨| 久久免费午夜影院| 国产专区综合网| 久久亚洲精精品中文字幕早川悠里| 日韩精品亚洲专区| 欧美一二三四区在线| 亚洲a一区二区| 欧美精品在欧美一区二区少妇| 一区二区成人在线视频| 色噜噜狠狠一区二区三区果冻| 国产精品伦一区二区三级视频| 国产成人亚洲综合a∨婷婷图片| 精品国产免费一区二区三区香蕉| 看片的网站亚洲| 欧美成人精品3d动漫h| 久热成人在线视频| 久久网站最新地址| 国产成人精品影视| 国产日韩精品一区二区浪潮av| 国产精品18久久久久久久久 | ●精品国产综合乱码久久久久 | 成av人片一区二区| 亚洲视频免费在线观看| 99久久精品一区| 亚洲成人动漫一区| 欧美男人的天堂一二区| 日本人妖一区二区| 久久亚洲影视婷婷| 国产91对白在线观看九色| 国产女同互慰高潮91漫画| 成人国产精品视频| 午夜天堂影视香蕉久久| 日韩免费成人网| 波多野结衣中文字幕一区| 亚洲激情五月婷婷| 日韩一区二区免费在线观看| 韩国女主播一区| 亚洲综合精品自拍| 欧美日韩一区不卡| 国产在线播放一区二区三区| 综合在线观看色| 91精品国产入口| 国产v综合v亚洲欧| 亚洲成人av福利| 久久久久久久久久久久久夜| 色综合一个色综合亚洲| 日韩精品乱码av一区二区| 久久久国产综合精品女国产盗摄| 色婷婷综合激情| 久久国产生活片100| 亚洲男人天堂av| 亚洲精品一区二区三区蜜桃下载| 91视频免费播放| 激情五月婷婷综合网| 一区二区三区美女视频| 久久久久久久久久久久久久久99| 色素色在线综合| 国产激情一区二区三区| 婷婷中文字幕综合| 亚洲少妇最新在线视频| 欧美大片日本大片免费观看| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 九九精品一区二区| 亚洲欧美另类小说| 国产天堂亚洲国产碰碰| 精品视频在线免费观看| www.欧美色图| 国内成人免费视频| 天堂av在线一区| 亚洲蜜臀av乱码久久精品蜜桃| 日韩美女视频在线| 欧美另类变人与禽xxxxx| 99re8在线精品视频免费播放| 激情六月婷婷久久| 日本不卡的三区四区五区| 亚洲欧美欧美一区二区三区| 国产欧美一区视频| 欧美xxx久久| 日韩一区二区三区在线观看| 欧美午夜精品一区二区蜜桃| 91啪九色porn原创视频在线观看| 国产精品原创巨作av| 久久精品国产亚洲aⅴ| 婷婷中文字幕一区三区| 亚洲一区二区av电影| 亚洲精选视频免费看| 中文字幕中文字幕一区二区| 久久久久久一级片| 久久综合资源网| www激情久久| 久久精品欧美日韩精品| 久久精品一区二区三区av| 精品成人a区在线观看| 欧美一区二区视频网站| 91精品国产综合久久福利软件| 欧美日韩综合在线免费观看| 欧美做爰猛烈大尺度电影无法无天| 91网站在线播放| 欧美亚洲国产一区二区三区va | 亚洲高清免费视频| 亚洲成人av中文| 日韩高清不卡一区二区三区| 日韩电影网1区2区| 青青草原综合久久大伊人精品| 老司机精品视频在线| 国产老肥熟一区二区三区| 国产一区高清在线| 国产成人精品综合在线观看| 成人黄页毛片网站| 欧洲在线/亚洲| 欧美午夜精品一区二区蜜桃| 777亚洲妇女| 久久久蜜桃精品| 亚洲欧洲精品一区二区三区不卡| 亚洲婷婷在线视频| 亚洲国产成人va在线观看天堂| 免费一级欧美片在线观看| 国产精品一区在线观看你懂的| 不卡免费追剧大全电视剧网站| 欧美伊人久久久久久午夜久久久久| 欧美日韩国产小视频在线观看| 欧美mv日韩mv亚洲| 中文字幕在线观看一区二区| 曰韩精品一区二区| 美美哒免费高清在线观看视频一区二区 | 亚洲视频一区二区在线观看| 亚洲电影视频在线| 国产一区二区三区久久久| 成人精品一区二区三区中文字幕 | 亚洲人成影院在线观看| 丝袜诱惑制服诱惑色一区在线观看| 精品亚洲porn| 在线观看免费视频综合| 日韩一区二区三区在线观看| 国产精品全国免费观看高清| 日日夜夜精品视频免费| 国产91色综合久久免费分享| 欧美私人免费视频| 国产日本亚洲高清| 图片区小说区国产精品视频| 国产尤物一区二区在线| 欧美日韩一区在线观看| 国产午夜精品久久| 蜜桃免费网站一区二区三区| 99久久免费精品| 久久你懂得1024| 奇米一区二区三区| 在线区一区二视频| 国产精品每日更新| 国产综合久久久久久鬼色| 欧美日韩黄色影视| 日韩理论片一区二区| 国内精品久久久久影院色 | 91在线视频免费91| 2014亚洲片线观看视频免费| 日日夜夜精品视频免费| 在线观看av一区| 亚洲天堂a在线| 成人中文字幕合集| 欧美mv日韩mv国产网站app| 亚洲mv大片欧洲mv大片精品| 成人av高清在线| 中文字幕乱码亚洲精品一区| 免费高清在线一区| 在线播放亚洲一区| 亚洲国产综合视频在线观看| 99视频国产精品| 中文字幕中文字幕一区| 丁香啪啪综合成人亚洲小说| 日韩欧美中文一区| 久久97超碰国产精品超碰| 欧美一级日韩免费不卡| 肉肉av福利一精品导航| 在线电影欧美成精品| 午夜电影网亚洲视频| 欧美另类久久久品|