How to read the transform coefficients before CABAC encoding?

Issue #316 new
Amine Chaabouni created an issue

I am a phd student from Lorraine university and I am working in HEVC encoding standard using your solution x265 to analyze and encode full HD medical videos.

I want to read the transform coefficients after quantification and before CABAC encoding. As I understood, the transform coefficients are registered in the "m_trCoeff[3]" parameter (CUData class). I succeeded to call this parameter in FrameEncoder::encodeSlice() function before calling the m_entropyCoder.setBitstream() function but I want to know how to read this matrix/table in a good order. Is it a normal scan (Raster scan) or there is different type of scans like during generating entropy bit stream (Horizontal, Vertical, Diagonal scan)?

I want to know what is the DC and the different AC coefficients. For example, for a trSize=8, m_trCoeff[3][15] is it a High-frequency coefficient? Which is the corresponding x and y coordinates in the 8x8 matrix? Thank you in advance for your help!

Comments (0)

  1. Log in to comment