HEVC代码追踪(九):帧间->xCheckRDCostInter
2014-11-30 16:27
204 查看
#if AMP_MRG Void TEncCu::xCheckRDCostInter( TComDataCU*& rpcBestCU, TComDataCU*& rpcTempCU, PartSize ePartSize, Bool bUseMRG) #else Void TEncCu::xCheckRDCostInter( TComDataCU*& rpcBestCU, TComDataCU*& rpcTempCU, PartSize ePartSize ) #endif { UChar uhDepth = rpcTempCU->getDepth( 0 ); rpcTempCU->setDepthSubParts( uhDepth, 0 ); rpcTempCU->setSkipFlagSubParts( false, 0, uhDepth ); rpcTempCU->setPartSizeSubParts ( ePartSize, 0, uhDepth ); rpcTempCU->setPredModeSubParts ( MODE_INTER, 0, uhDepth ); #if AMP_MRG rpcTempCU->setMergeAMP (true); m_pcPredSearch->predInterSearch ( rpcTempCU, m_ppcOrigYuv[uhDepth], m_ppcPredYuvTemp[uhDepth], m_ppcResiYuvTemp[uhDepth], m_ppcRecoYuvTemp[uhDepth], false, bUseMRG ); #else m_pcPredSearch->predInterSearch ( rpcTempCU, m_ppcOrigYuv[uhDepth], m_ppcPredYuvTemp[uhDepth], m_ppcResiYuvTemp[uhDepth], m_ppcRecoYuvTemp[uhDepth] ); #endif #if AMP_MRG if ( !rpcTempCU->getMergeAMP() ) { return; } #endif m_pcPredSearch->encodeResAndCalcRdInterCU( rpcTempCU, m_ppcOrigYuv[uhDepth], m_ppcPredYuvTemp[uhDepth], m_ppcResiYuvTemp[uhDepth], m_ppcResiYuvBest[uhDepth], m_ppcRecoYuvTemp[uhDepth], false ); rpcTempCU->getTotalCost() = m_pcRdCost->calcRdCost( rpcTempCU->getTotalBits(), rpcTempCU->getTotalDistortion() ); xCheckDQP( rpcTempCU ); xCheckBestMode(rpcBestCU, rpcTempCU, uhDepth); }
相关文章推荐
- HEVC代码追踪(九):帧间->xCheckRDCostInter
- HEVC代码追踪(八):帧内->xCheckRDCostIntra
- HEVC代码追踪(八):帧内->xCheckRDCostIntra
- HEVC代码追踪(十):量化->xCheckIntraPCM
- HEVC代码追踪(三):encode->compressGOP
- HEVC代码追踪(十):量化->xCheckIntraPCM
- FVC/JEM代码学习18:xCheckRDCostInter
- FVC/JEM代码学习22:xCheckRDCostInterKLT
- HTM-16.2代码(4)——xCheckRDCostInter
- HEVC代码追踪(三):encode->compressGOP
- xCheckRDCostInter
- FVC/JEM代码学习20:xCheckRDCostIntra
- 分布式编程->Remoting的一个代码示例(借助Remoting实现发送信息功能)
- Control Study -> Asp.net几个较复杂的显示数据控件(Repeater/DataList/DataGrid)用法 (示例代码下载)
- Control Study->AdRotator广告控件显示自定义配置文件中广告以及与DataGrid控件结合使用显示图片(示例代码下载)
- Control Study -> 自定义DataGrid翻页按钮(示例代码下载)
- Control Study -> 主表和子表数据同时在绑定控件显示(示例代码下载)
- Control Study->AdRotator广告控件显示自定义配置文件中广告以及与DataGrid控件结合使用显示图片(示例代码下载)
- 与(本地连接-->修复)功能相同的代码:修复本地连接.bat
- Control Study -> 键盘模拟鼠标(实现用键盘操作鼠标光标)(示例代码下载)