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

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

?? mctfpreprocessor.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 "MCTF.h"
#include "MCTFPreProcessor.h"
#include "CodingParameter.h"
#include "H264AVCCommonLib/Transform.h"
#include "H264AVCCommonLib/YuvBufferCtrl.h"
#include "H264AVCCommonLib/QuarterPelFilter.h"
#include "H264AVCCommonLib/SampleWeighting.h"
#include "../../lib/H264AVCEncoderLib/MbEncoder.h"
#include "../../lib/H264AVCEncoderLib/IntraPredictionSearch.h"
#include "../../lib/H264AVCEncoderLib/MotionEstimation.h"
#include "../../lib/H264AVCEncoderLib/MotionEstimationQuarterPel.h"
#include "../../lib/H264AVCEncoderLib/RateDistortion.h"


H264AVC_NAMESPACE_BEGIN


MCTFPreProcessor::MCTFPreProcessor()
: m_pcMCTF                  ( NULL )
, m_pcMbEncoder             ( NULL )
, m_pcTransform             ( NULL )
, m_pcIntraPrediction       ( NULL )
, m_pcYuvFullPelBufferCtrl  ( NULL )
, m_pcYuvHalfPelBufferCtrl  ( NULL )
, m_pcQuarterPelFilter      ( NULL )
, m_pcSampleWeighting       ( NULL )
, m_pcXDistortion           ( NULL )
, m_pcMotionEstimation      ( NULL )
, m_pcRateDistortion        ( NULL )
{
}


MCTFPreProcessor::~MCTFPreProcessor()
{
}


ErrVal
MCTFPreProcessor::process( PicBuffer*     pcOriginalPicBuffer,
                           PicBuffer*     pcReconstructPicBuffer,
                           PicBufferList& rcPicBufferOutputList,
                           PicBufferList& rcPicBufferUnusedList )
{
  if( pcOriginalPicBuffer )
  {
    RNOK( m_pcMCTF->process( pcOriginalPicBuffer, pcReconstructPicBuffer,
                             rcPicBufferOutputList, rcPicBufferUnusedList ) );
  }
  else if( pcReconstructPicBuffer )
  {
    rcPicBufferUnusedList.push_back( pcReconstructPicBuffer );
  }
  return Err::m_nOK;
}


ErrVal
MCTFPreProcessor::finish( PicBufferList&  rcPicBufferOutputList,
                          PicBufferList&  rcPicBufferUnusedList )
{
  RNOK( m_pcMCTF->process( NULL, NULL,
                           rcPicBufferOutputList, rcPicBufferUnusedList ) );
  return Err::m_nOK;
}


ErrVal
MCTFPreProcessor::create( MCTFPreProcessor*& rpcMCTFPreProcessor )
{
  rpcMCTFPreProcessor = new MCTFPreProcessor;
  ROF ( rpcMCTFPreProcessor );
  RNOK( rpcMCTFPreProcessor->xCreateMCTFPreProcessor() );
  return Err::m_nOK;
}


ErrVal
MCTFPreProcessor::xCreateMCTFPreProcessor()
{
  RNOK( MCTF                        ::create( m_pcMCTF ) );
  RNOK( MbEncoder                   ::create( m_pcMbEncoder ) );
  RNOK( IntraPredictionSearch       ::create( m_pcIntraPrediction ) );
  RNOK( MotionEstimationQuarterPel  ::create( m_pcMotionEstimation ) );
  RNOK( QuarterPelFilter            ::create( m_pcQuarterPelFilter ) );
  RNOK( Transform                   ::create( m_pcTransform ) );
  RNOK( SampleWeighting             ::create( m_pcSampleWeighting ) );
  RNOK( XDistortion                 ::create( m_pcXDistortion ) );
  RNOK( YuvBufferCtrl               ::create( m_pcYuvFullPelBufferCtrl ) );
  RNOK( YuvBufferCtrl               ::create( m_pcYuvHalfPelBufferCtrl ) );
  return Err::m_nOK;
}


ErrVal
MCTFPreProcessor::destroy()
{
  RNOK( m_pcMbEncoder             ->destroy() );
  RNOK( m_pcTransform             ->destroy() );
  RNOK( m_pcIntraPrediction       ->destroy() );
  RNOK( m_pcQuarterPelFilter      ->destroy() );
  RNOK( m_pcXDistortion           ->destroy() );
  RNOK( m_pcMotionEstimation      ->destroy() );
  RNOK( m_pcSampleWeighting       ->destroy() );
  RNOK( m_pcMCTF                  ->destroy() );
  RNOK( m_pcYuvFullPelBufferCtrl  ->destroy() );
  RNOK( m_pcYuvHalfPelBufferCtrl  ->destroy() );
  if( NULL != m_pcRateDistortion )
  {
    RNOK( m_pcRateDistortion      ->destroy() );
  }
  delete this;
  return Err::m_nOK;
}


ErrVal
MCTFPreProcessor::init( PreProcessorParameter* pcParameter,
                        CodingParameter*       pcCodingParameter )
{
  ROF( pcParameter );
  ROF( pcCodingParameter );

  RNOK( RateDistortion::create( m_pcRateDistortion ) );
  RNOK( m_pcXDistortion       ->init() );
  RNOK( m_pcSampleWeighting   ->init() );
  RNOK( m_pcQuarterPelFilter  ->init() );
  RNOK( m_pcMbEncoder         ->init( m_pcTransform,
                                      m_pcIntraPrediction,
                                      m_pcMotionEstimation,
                                      pcCodingParameter,
                                      m_pcRateDistortion,
                                      m_pcXDistortion ) );
  RNOK( m_pcMotionEstimation  ->init( m_pcXDistortion,
                                      pcCodingParameter,
                                      m_pcRateDistortion,
                                      m_pcQuarterPelFilter,
                                      m_pcTransform,
                                      m_pcSampleWeighting) );
  RNOK( m_pcMCTF              ->init( pcParameter,
                                      m_pcMbEncoder,
                                      m_pcYuvFullPelBufferCtrl,
                                      m_pcYuvHalfPelBufferCtrl,
                                      m_pcQuarterPelFilter,
                                      m_pcMotionEstimation ) );
  return Err::m_nOK;
}


ErrVal
MCTFPreProcessor::uninit()
{
  RNOK( m_pcQuarterPelFilter      ->uninit() );
  RNOK( m_pcSampleWeighting       ->uninit() );
  RNOK( m_pcMbEncoder             ->uninit() );
  RNOK( m_pcIntraPrediction       ->uninit() );
  RNOK( m_pcMotionEstimation      ->uninit() );
  RNOK( m_pcMotionEstimation      ->uninit() );
  RNOK( m_pcXDistortion           ->uninit() );
  RNOK( m_pcMCTF                  ->uninit() );
  RNOK( m_pcYuvFullPelBufferCtrl  ->uninit() );
  RNOK( m_pcYuvHalfPelBufferCtrl  ->uninit() );
  return Err::m_nOK;
}


H264AVC_NAMESPACE_END

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
eeuss鲁一区二区三区| 国产99久久久精品| 国产欧美一区二区在线| 欧美日本一道本| 国产乱子伦视频一区二区三区| 国产精品传媒入口麻豆| 日韩美女主播在线视频一区二区三区| av不卡在线播放| 裸体一区二区三区| 午夜精品免费在线| 亚洲三级免费观看| 国产精品九色蝌蚪自拍| 精品国产一区二区三区久久影院 | 日韩一区二区三区av| 色综合久久天天综合网| 国产精品一区二区久久精品爱涩 | 中文字幕 久热精品 视频在线 | 欧美激情综合在线| 中文字幕巨乱亚洲| 欧美极品少妇xxxxⅹ高跟鞋| 26uuu国产一区二区三区| 日韩一区二区在线看片| 欧美嫩在线观看| 欧美一级欧美三级| 欧美电视剧在线看免费| 精品国产91久久久久久久妲己 | 亚洲大片免费看| 亚洲国产成人av网| 日韩影视精彩在线| 老司机精品视频线观看86 | 欧美区视频在线观看| 欧美疯狂性受xxxxx喷水图片| 欧美日韩成人在线一区| 日韩欧美视频一区| 国产欧美日韩在线观看| 日韩一区在线播放| 日韩av午夜在线观看| 韩国视频一区二区| 一本到不卡免费一区二区| 色呦呦网站一区| 欧美mv日韩mv国产网站| 国产精品激情偷乱一区二区∴| 亚洲欧美一区二区久久 | 欧美视频一区二区| 精品国产乱码久久| 亚洲欧美日韩国产一区二区三区 | 欧美精品久久久久久久久老牛影院| 日韩一区二区在线观看视频| 国产精品久久久久久久浪潮网站| 怡红院av一区二区三区| 国产成人av资源| 欧美精品黑人性xxxx| 亚洲天堂久久久久久久| 久久精品免费看| 欧美日韩国产高清一区二区三区| 久久日韩粉嫩一区二区三区| 舔着乳尖日韩一区| 在线免费观看日本一区| 国产人成一区二区三区影院| 婷婷夜色潮精品综合在线| 99久久国产综合精品麻豆| 欧美精品一区二区高清在线观看 | 日韩毛片高清在线播放| 国产成人精品免费一区二区| 欧美成人高清电影在线| 午夜视频一区在线观看| 在线日韩av片| 一区二区在线免费观看| 91尤物视频在线观看| 日本一区二区免费在线| 国产一区不卡在线| 国产日韩精品一区二区浪潮av| 精品一区二区三区日韩| 26uuu亚洲综合色| 国产传媒久久文化传媒| 国产女人aaa级久久久级| 国产精品资源在线看| 国产日韩欧美a| 波多野结衣一区二区三区| 国产精品福利电影一区二区三区四区| 久久99日本精品| 国产精品理伦片| 在线观看国产一区二区| 天天影视涩香欲综合网| 在线不卡一区二区| 久久99精品国产麻豆不卡| 久久久久久久久岛国免费| 成人a级免费电影| 玉足女爽爽91| 日韩欧美你懂的| 国产suv精品一区二区6| 亚洲精品免费电影| 欧美老女人在线| 国产原创一区二区| 亚洲免费观看视频| 91精选在线观看| 成人ar影院免费观看视频| 一区二区三区视频在线看| 91精品久久久久久久99蜜桃| 国产麻豆精品theporn| 亚洲精品ww久久久久久p站| 日韩欧美你懂的| 日本久久电影网| 国产又粗又猛又爽又黄91精品| 国产精品美女久久福利网站| 91麻豆精品91久久久久久清纯 | 亚洲精品国产无天堂网2021| 欧美不卡视频一区| 在线观看国产一区二区| 国产精品一区二区男女羞羞无遮挡 | 欧美体内she精高潮| 大胆欧美人体老妇| 国产成人综合自拍| 国产高清一区日本| 国产精品99精品久久免费| 99视频有精品| 韩国毛片一区二区三区| 国内偷窥港台综合视频在线播放| 日韩av一区二| 琪琪久久久久日韩精品| 日韩经典一区二区| 免费人成在线不卡| 免费在线观看精品| 国产精品综合在线视频| 国产在线精品不卡| 北岛玲一区二区三区四区| 99精品1区2区| 欧美日韩一区二区欧美激情| 欧美图区在线视频| 日韩精品一区二区在线| 久久久久久久久岛国免费| 中文字幕av资源一区| 一区二区三区在线影院| 国产日韩欧美制服另类| 中文字幕亚洲综合久久菠萝蜜| 欧美韩国一区二区| 亚洲最大成人网4388xx| 青青草伊人久久| 国产成人精品一区二| 99精品久久久久久| 欧美日韩小视频| 久久精品视频免费| ...av二区三区久久精品| 亚洲高清一区二区三区| 蜜臀久久99精品久久久久久9| 国产成人免费视频一区| 欧美日韩成人一区| 亚洲三级免费观看| 久久国产生活片100| 色呦呦网站一区| 久久免费美女视频| 日韩国产精品91| 99久久国产综合精品麻豆 | 欧美日本韩国一区二区三区视频| 国产欧美va欧美不卡在线| 午夜精品免费在线| 色婷婷亚洲精品| 国产精品黄色在线观看 | 天堂蜜桃一区二区三区| 一本久道中文字幕精品亚洲嫩| 欧美xxxxx牲另类人与| 五月婷婷激情综合网| 99国产欧美另类久久久精品| 久久久国产一区二区三区四区小说 | 亚洲成人综合在线| 91蜜桃网址入口| 国产精品久久久久毛片软件| 精品亚洲免费视频| 精品国产第一区二区三区观看体验| 亚洲一二三区不卡| 欧美日韩国产区一| 偷拍自拍另类欧美| 在线不卡a资源高清| 免费视频一区二区| 欧美tickle裸体挠脚心vk| 精品亚洲成av人在线观看| 欧美精品一区男女天堂| 久久99深爱久久99精品| 久久久久久久久免费| 国产成人高清在线| 日韩一区欧美小说| 欧美色视频在线| 美女一区二区久久| 久久精品亚洲精品国产欧美| 国产99久久久国产精品| 久久日韩粉嫩一区二区三区 | 一区二区在线免费| 69堂成人精品免费视频| 首页亚洲欧美制服丝腿| 欧美videos大乳护士334| 国产美女精品在线| 中文字幕在线观看一区| 色哟哟国产精品免费观看| 亚洲一区二区三区在线看| 精品成人一区二区三区| 99精品国产热久久91蜜凸| 免费高清在线视频一区·| 国产精品每日更新在线播放网址| 在线观看三级视频欧美| 国产一区啦啦啦在线观看|