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

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

?? ratedistortion.cpp

?? JMVM MPEG MVC/3DAV 測試平臺 國際通用標準
?? CPP
字號:
/*
********************************************************************************

NOTE - One of the two copyright statements below may be chosen
       that applies for the software.

********************************************************************************

This software module was originally developed by

Heiko Schwarz    (Fraunhofer HHI),
Tobias Hinz      (Fraunhofer HHI),
Karsten Suehring (Fraunhofer HHI)

in the course of development of the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video
Coding) for reference purposes and its performance may not have been optimized.
This software module is an implementation of one or more tools as specified by
the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding).

Those intending to use this software module in products are advised that its
use may infringe existing patents. ISO/IEC have no liability for use of this
software module or modifications thereof.

Assurance that the originally developed software module can be used
(1) in the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding) once the
ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding) has been adopted; and
(2) to develop the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding): 

To the extent that Fraunhofer HHI owns patent rights that would be required to
make, use, or sell the originally developed software module or portions thereof
included in the ISO/IEC 14496-10:2005 Amd.1 (Scalable Video Coding) in a
conforming product, Fraunhofer HHI will assure the ISO/IEC that it is willing
to negotiate licenses under reasonable and non-discriminatory terms and
conditions with applicants throughout the world.

Fraunhofer HHI retains full right to modify and use the code for its own
purpose, assign or donate the code to a third party and to inhibit third
parties from using the code for products that do not conform to MPEG-related
ITU Recommendations and/or ISO/IEC International Standards. 

This copyright notice must be included in all copies or derivative works.
Copyright (c) ISO/IEC 2005. 

********************************************************************************

COPYRIGHT AND WARRANTY INFORMATION

Copyright 2005, International Telecommunications Union, Geneva

The Fraunhofer HHI hereby donate this source code to the ITU, with the following
understanding:
    1. Fraunhofer HHI retain the right to do whatever they wish with the
       contributed source code, without limit.
    2. Fraunhofer HHI retain full patent rights (if any exist) in the technical
       content of techniques and algorithms herein.
    3. The ITU shall make this code available to anyone, free of license or
       royalty fees.

DISCLAIMER OF WARRANTY

These software programs are available to the user without any license fee or
royalty on an "as is" basis. The ITU disclaims any and all warranties, whether
express, implied, or statutory, including any implied warranties of
merchantability or of fitness for a particular purpose. In no event shall the
contributor or the ITU 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 ITU does not represent or warrant that the programs furnished hereunder are
free of infringement of any third-party patents. Commercial implementations of
ITU-T Recommendations, including shareware, may be subject to royalty fees to
patent holders. Information regarding the ITU-T patent policy is available from 
the ITU Web site at http://www.itu.int.

THIS IS NOT A GRANT OF PATENT RIGHTS - SEE THE ITU-T PATENT POLICY.

********************************************************************************
*/



#include "H264AVCEncoderLib.h"
#include "CodingParameter.h"
#include "math.h"
#include "RateDistortion.h"

H264AVC_NAMESPACE_BEGIN


RateDistortion::RateDistortion():
  m_uiCostFactorMotionSAD( 0 ),
  m_uiCostFactorMotionSSE( 0 )
{
}

RateDistortion::~RateDistortion()
{
}

ErrVal RateDistortion::create( RateDistortion *&rpcRateDistortion )
{
  rpcRateDistortion = new RateDistortion;

  ROT( NULL == rpcRateDistortion );

  return Err::m_nOK;
}

Double RateDistortion::getCost( UInt uiBits, UInt uiDistortion )
{
  Double d = ((Double)uiDistortion + (Double)(Int)uiBits * m_dCost+.5);
  return (Double)(UInt)floor(d);
}

Double RateDistortion::getFCost( UInt uiBits, UInt uiDistortion )
{
  Double d = (((Double)uiDistortion) + ((Double)uiBits * m_dCost));
  return d;
}


ErrVal RateDistortion::destroy()
{
  delete this;
  return Err::m_nOK;
}


ErrVal RateDistortion::fixMacroblockQP( MbDataAccess& rcMbDataAccess )
{
  if( !( rcMbDataAccess.getMbData().getMbCbp() || rcMbDataAccess.getMbData().isIntra16x16() ) ) // has no coded texture
  {
    rcMbDataAccess.getMbData().setQp( rcMbDataAccess.getLastQp() );
  }
  return Err::m_nOK;
}


ErrVal
RateDistortion::setMbQpLambda( MbDataAccess& rcMbDataAccess, UInt uiQp, Double dLambda )
{
  rcMbDataAccess.getMbData().setQp( uiQp );

  m_dCost                 = dLambda;
  m_dSqrtCost             = sqrt( dLambda );
  m_uiCostFactorMotionSAD = (UInt)floor(65536.0 * sqrt( m_dCost ));
  m_uiCostFactorMotionSSE = (UInt)floor(65536.0 *       m_dCost  );

  return Err::m_nOK;
}


H264AVC_NAMESPACE_END

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区三区不卡在线观看| 综合色天天鬼久久鬼色| 欧美一区二区三区在线视频| 欧美成人午夜电影| 亚洲免费看黄网站| 欧美日韩一区视频| 国产婷婷一区二区| 看国产成人h片视频| 91久久香蕉国产日韩欧美9色| 久久久蜜臀国产一区二区| 亚洲va欧美va人人爽午夜| 99久久免费精品高清特色大片| 精品美女一区二区| 日本视频免费一区| 欧美军同video69gay| 亚洲人成网站色在线观看| 成人小视频免费观看| 久久免费国产精品| 国产一区啦啦啦在线观看| 欧美一级在线观看| 青娱乐精品视频| 欧美精品成人一区二区三区四区| 亚洲女女做受ⅹxx高潮| 成人亚洲一区二区一| 久久久www成人免费无遮挡大片| 日韩和欧美一区二区三区| 欧美自拍偷拍午夜视频| 依依成人综合视频| 91福利国产成人精品照片| 亚洲精品日产精品乱码不卡| 99re8在线精品视频免费播放| 国产精品日韩精品欧美在线| 国产伦精品一区二区三区视频青涩 | 福利一区二区在线| 日韩精品在线一区| 精品一区二区三区在线视频| 日韩精品一区二区三区在线播放| 久久精品久久99精品久久| 精品久久国产字幕高潮| 国产伦精一区二区三区| 中文字幕 久热精品 视频在线 | 美女视频一区二区| 久久亚洲综合色一区二区三区| 精品一区二区三区免费| 久久先锋影音av鲁色资源网| 91女神在线视频| 不卡影院免费观看| 最新热久久免费视频| 久久婷婷色综合| 久久综合九色综合97婷婷| 亚洲一区二区三区视频在线| 欧美精品 国产精品| 在线免费观看日本一区| 亚洲综合一二区| 懂色av中文一区二区三区| 成人毛片视频在线观看| 亚洲国产成人91porn| 91麻豆成人久久精品二区三区| 久久久久久亚洲综合影院红桃| 久久女同互慰一区二区三区| 精品国产亚洲在线| 亚洲成人免费在线观看| 亚洲精品亚洲人成人网在线播放| 亚洲精品久久嫩草网站秘色| 中文字幕一区二| 久久综合国产精品| 日韩亚洲欧美成人一区| 久久久久成人黄色影片| 天堂精品中文字幕在线| 99视频有精品| 久久一区二区视频| 国产欧美日本一区视频| 亚洲二区视频在线| 精品一区二区三区欧美| 久久精品久久精品| aaa亚洲精品| 欧美日韩一区三区四区| 精品福利一二区| 99精品一区二区| 91精品国产aⅴ一区二区| 91精品一区二区三区久久久久久 | 欧美区视频在线观看| 欧美一级二级在线观看| 欧美日韩国产综合一区二区三区 | 欧美精品一二三区| 亚洲国产精品自拍| 成人av在线一区二区三区| 国产喷白浆一区二区三区| 亚洲成人在线网站| 欧美日韩一区二区在线观看| 亚洲国产精品久久不卡毛片| 色综合欧美在线| 欧美视频一区二区三区四区| 亚洲国产精品ⅴa在线观看| 国产亚洲综合性久久久影院| 午夜精品影院在线观看| 欧美人牲a欧美精品| 亚洲一区二区三区四区中文字幕| 成人黄页在线观看| 一区视频在线播放| 久久久噜噜噜久噜久久综合| 91精品国产福利| 欧美日韩亚洲综合在线| 色八戒一区二区三区| 成人免费视频视频| 国产乱子伦一区二区三区国色天香| 亚洲成人777| 亚洲一区二区三区在线播放| 亚洲精品写真福利| 亚洲人精品一区| 亚洲免费资源在线播放| 最新日韩在线视频| 国产精品国产三级国产普通话99| 久久品道一品道久久精品| 日韩欧美电影在线| 日韩免费视频线观看| 欧美精品一二三区| 欧美一区二区在线观看| 884aa四虎影成人精品一区| 欧美色综合久久| 欧美日韩不卡一区二区| 欧美老肥妇做.爰bbww| 91麻豆精品91久久久久同性| 91精品国产综合久久精品麻豆| 欧美高清性hdvideosex| 日韩免费福利电影在线观看| 日韩精品中午字幕| 欧美成人女星排行榜| 欧美刺激脚交jootjob| 欧美电影免费观看完整版| 久久久久久久久岛国免费| 久久亚洲精华国产精华液| 国产精品三级久久久久三级| 亚洲免费观看高清完整版在线观看 | 99在线精品一区二区三区| 99精品视频一区二区三区| 在线视频你懂得一区二区三区| 欧美日韩另类一区| 精品国产一区二区三区久久久蜜月 | 亚洲色大成网站www久久九九| 亚洲欧洲制服丝袜| 三级欧美在线一区| 久久99国产精品久久99| 成人综合在线观看| 欧美色爱综合网| 精品国产人成亚洲区| 国产精品午夜电影| 亚欧色一区w666天堂| 国内外成人在线| 色吧成人激情小说| 精品久久久久久最新网址| 中文字幕一区二区三区在线观看 | 欧美亚洲图片小说| 欧美成人精品二区三区99精品| 亚洲精品美国一| 91视频在线看| 亚洲成人激情社区| 青青青伊人色综合久久| 高清在线不卡av| 欧美天堂一区二区三区| 日韩免费观看高清完整版| 亚洲天堂成人在线观看| 日本成人在线视频网站| 国产福利不卡视频| 欧美美女bb生活片| 国产精品美日韩| 久久精品久久综合| 91福利小视频| 国产精品国产精品国产专区不蜜| 日产精品久久久久久久性色| va亚洲va日韩不卡在线观看| 日韩精品一区二区三区四区视频| 亚洲综合一区二区三区| 成人91在线观看| 日韩精品最新网址| 五月天视频一区| 91丨porny丨蝌蚪视频| 久久久久青草大香线综合精品| 午夜精品爽啪视频| 色婷婷狠狠综合| 国产精品二三区| 懂色一区二区三区免费观看| xf在线a精品一区二区视频网站| 性感美女久久精品| 欧美综合色免费| 一区二区三区不卡视频| 99热在这里有精品免费| 久久综合成人精品亚洲另类欧美| 亚洲成人午夜电影| 欧美日韩一区三区| 亚洲综合一区在线| 欧美写真视频网站| 亚洲麻豆国产自偷在线| 成人av在线一区二区| 国产日韩欧美制服另类| 国产一区视频导航| 精品国产一区二区三区久久久蜜月 | 成人午夜免费电影| 中文幕一区二区三区久久蜜桃| 国产一区在线精品|