Complexity calculating of Rate Control
In x264 Rate Control methods, it will do a half-resolultion motion estimation to calculate the SATD as the complexity. And I want to transplant the RC methods except the ME part. So I am confused with the complexity calculating part.
Could anyone give me some advice to get the complexity of the current frame without too much time?
At first, I get a method to use the previous frame SATD as the complexity of current frame. But how can I determine the complexity of the first frame? Also, for some sequences, the SATDs between the contiguous frames have too much difference. How to sovle this problem?
Thanks.
|