JEM software ticket42: CTU bits/distortion calculation mistake for I slice when QTBT is enabled
来源:互联网 发布:apache 403 forbidden 编辑:程序博客网 时间:2024/05/18 02:04
年前提交了H.266参考软件JEM的bug报告: CTU bits/distortion calculation mistake for I slice when QTBT is enabled
报告的地址:https://hevc.hhi.fraunhofer.de/trac/jem/ticket/42#no2
报告的主要内容:
ticket42的修复代码已经集成在/tags/HM-16.6-JEM-4.2及之后的软件版本里了,相关的代码如下:
1、在TLibCommon/TypeDef.h中添加FIX_TICKET42条件编译标签:
#define FIX_TICKET42 1 ///< Fix of ticket #42 (CTU bits/distortion calculation mistake for I slice when QTBT is enabled)
2、在TLibEncoder/TEncCu.cpp的TEncCu::compressCtu的函数体中第二次调用xCompressCU的前后添加代码:
#if FIX_TICKET42 Double lumaCTBTotalCost = pCtu->getTotalCost(); Distortion lumaCTBTotalDistortion = pCtu->getTotalDistortion(); UInt lumaCTBTotalBits = pCtu->getTotalBits(); UInt lumaCTBTotalBins = pCtu->getTotalBins();#endif xCompressCU(m_pppcBestCU[uiWidthIdx][uiHeightIdx], m_pppcTempCU[uiWidthIdx][uiHeightIdx], 0, uiCTUSize, uiCTUSize, 0 DEBUG_STRING_PASS_INTO(sDebug));#if FIX_TICKET42 pCtu->getTotalCost() += lumaCTBTotalCost; pCtu->getTotalDistortion() += lumaCTBTotalDistortion; pCtu->getTotalBits() += lumaCTBTotalBits; pCtu->getTotalBins() += lumaCTBTotalBins;#endif
修复此bug的更好的方法可能是在TComDataCU::copyToPic进行修改。
JEM-4.2的下载地址:https://jvet.hhi.fraunhofer.de/svn/svn_HMJEMSoftware/tags/HM-16.6-JEM-4.2/
0 0
- JEM software ticket42: CTU bits/distortion calculation mistake for I slice when QTBT is enabled
- JEM software ticket45:Console output error of nQP when LCU level rate control is enabled
- HM/JEM CTU级码率控制相关代码
- JEM编码块结构:四叉树+二叉树QTBT
- webbrowser is enabled only for out-of。。。。
- Openstack部署总结之:部署过程中“Error: Local ip for ovs agent must be set when tunneling is enabled”的问题
- g++ is missing when I use codeblocks
- Security is enabled, but JCE policy zip is not specified error when enabling security using ambari
- English is Important for a software engineer
- Distortion
- 4 Things I Wish I Would Have Known When I Started My Software Development Career
- 4 Things I Wish I Would Have Known When I Started My Software Development Career
- Second-level cache is not enabled for usage 异常
- mistake
- mistake
- mistake
- when the preview menu is diabled in BO, you can add this setting to enabled it
- FTP not working on Java 7 on Windows 7 and VISTA when Windows Firewall is enabled
- android 色值设定:ARGB透明度的设置
- 向页面注入JS代码
- webservice讲解
- JSON.NET VS BinaryFormatter 性能
- Parcealbe传递数据
- JEM software ticket42: CTU bits/distortion calculation mistake for I slice when QTBT is enabled
- Hibernate(1)
- RabbitMQ安装记录(windows10)
- 为什么在jsp前端页面点击了一个通往后台的url链接,ip地址为什么不变?
- Linux上创建共享库so
- SDCC 2017 上海站 运维+架构+数据库专场亮点大曝光!!!
- Linux vim 快捷键
- 使用JAX-RS创建RESTful Web Service
- Spring基本功能详解