Extract TU Partitioning Information in HEVC Reference Software 16.18

北城余情 提交于 2019-12-13 03:57:01

问题


I want to extract CU/PU/TU partitioning data from HEVC HM encoder. I could extract CU/PU partitioning information using getHeight/getWidth/getPartitionSize functions in TComDataCU class. But, don't know how to access TU partitioning information. Please help.


回答1:


You can do it easily on the decoder side. You need to find the function parseCoeffNxN and then access the TU size with uiWidth and uiHeight.

Start with this simple test and then give feedbacks here. If there's a problem, we will figure out.




回答2:


On the encoder side, you should do the same thing as the decoder side, but in the codeCoeffNxN function instead of parseCoeffNxN. The only difficulty is that you should differentiate between the times you call this function during RDO and encoding. This problem and its solution are explained here.



来源:https://stackoverflow.com/questions/51395870/extract-tu-partitioning-information-in-hevc-reference-software-16-18

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!