I'm very new to the field of HEVC codec. I'm using the HM reference code version 10.1. My task is to make block size up to 128x128. So, what I tried was in the configuration file I set the parameters MaxCUWidth
, MaxCUHeight
as 128 and 128 respectively.
This ensures that the max CU size is limited to 128 x 128. However, the code crashes with the errors:
Error: Minimum CU width must be greater than minimum transform size
Error: Minimum CU Height must be greater than minimum transform size
My problem is I'm not able to figure out where & how the code needs to be changed so that it does not effect other parameters. Any Kind of help regarding the same will be really valuable to me.
The minimum CU width/height is derived from the MaxCUWidth
/MaxCUHeight
and the MaxPartitionDepth
parameters. MaxPartitionDepth
proscribes, how often a CTU can be splitted. So if you also increase MaxPartitionDepth
by 1, it should work.
Alternatively, you can increase the parameter QuadtreeTULog2MinSize
by 1, in order to increase the minimum transform size, but i would recommend the first approach, as this only increases the CTU size, without changing the rest of the configuration.