[x265] Can we use binary search for q in clipQscale

Ximing Cheng chengximing1989 at gmail.com
Fri Oct 9 11:24:14 CEST 2015


In RateControl::clipQscale(Frame* curFrame, RateControlEntry* rce, double q)

for (int iterations = 0; iterations < 1000 && loopTerminate != 3;
iterations++)

to find a valid q which makes the buffer at least 50% filled but no more
than 80% fulled, the code use a iteration for at most 1000 times.

Is it suitable here to use binary search for q to reduce the iterations?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20151009/97776a75/attachment.html>


More information about the x265-devel mailing list