Sholim
24th March 2016, 10:59
Hello,
Im using HM16.9 and I was wondering how to get residual data after all decisions are done. Certainly there is m_pcPicYuvPred and m_pcPicYuvResi members, but it seams after CTU compression residual and prediction data are not stored. While reconstruction image seams fine.
Am I right and is there any easy way to save residual coefficients to for e.g. in txt file for each CU?
More precisely I need REAL residual coefficients (for decided CU size, mode, etc.) stored in separate files for every CU depth, but I cannot find where they are.
So far I tried to access them form encodeCtu( pCtu ); since I suppose there we use specific mode, size, etc. that was decided within compressCtu( pCtu ); But beside quantized coefficients I cannot find any other relevant pixel values (weather for prediction signal or residual).
Many thanks!
Im using HM16.9 and I was wondering how to get residual data after all decisions are done. Certainly there is m_pcPicYuvPred and m_pcPicYuvResi members, but it seams after CTU compression residual and prediction data are not stored. While reconstruction image seams fine.
Am I right and is there any easy way to save residual coefficients to for e.g. in txt file for each CU?
More precisely I need REAL residual coefficients (for decided CU size, mode, etc.) stored in separate files for every CU depth, but I cannot find where they are.
So far I tried to access them form encodeCtu( pCtu ); since I suppose there we use specific mode, size, etc. that was decided within compressCtu( pCtu ); But beside quantized coefficients I cannot find any other relevant pixel values (weather for prediction signal or residual).
Many thanks!