View Full Version : Test vector for HEVC CABAC
prokul
6th October 2016, 13:40
I'm working on hardware implementation of HEVC CABAC encoder. But I still remain inapprehensive on how to test it.
From the paper that I've read, standard test sequences or test vector extracted from HEVC test model(HM) is usually used to test the implementation. The problem is that I'm a beginner to C++ and HM seems way too complex.
How can I extract the input and output of CABAC encoder from HM? Or are there any available test vectors for instant use?
x265_Project
10th October 2016, 17:28
I'm working on hardware implementation of HEVC CABAC encoder. But I still remain inapprehensive on how to test it.
From the paper that I've read, standard test sequences or test vector extracted from HEVC test model(HM) is usually used to test the implementation. The problem is that I'm a beginner to C++ and HM seems way too complex.
How can I extract the input and output of CABAC encoder from HM? Or are there any available test vectors for instant use?
The CABAC binary entropy encoder in the HM is found in \source\Lib\TLibEncoder\TEncBinCoderCABAC.cpp
prokul
17th October 2016, 16:41
I do acknowledge this file. However I don't see the binarization part and also don't know which function of class TEncBinCABAC will generate the bitstream and format of the output.
Could you help me with this?
x265_Project
17th October 2016, 20:53
I do acknowledge this file. However I don't see the binarization part and also don't know which function of class TEncBinCABAC will generate the bitstream and format of the output.
Could you help me with this?
In order to have any chance of accomplishing your goal, you will need to improve your C++ skills, in order to understand how the HM works. Not only with respect to CABAC encoding but for the entire HEVC encoding process. It won't be possible to develop a new implementation if you can't understand the HEVC specifications and the reference encoder completely.
prokul
18th October 2016, 04:10
I did read research papers, books and H265 recommendation, so I think I mostly know how the CABAC encoder works.
The only deal with HM is that I should use HM to test my hardware model.
Can there be a shortcut of this?
I really need to work on this ASAP.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.