commit | 377d2f027a60fac5d83a4c9de9767ac90997d1fa | [log] [tgz] |
---|---|---|
author | Jingning Han <jingning@google.com> | Thu Dec 11 09:29:36 2014 -0800 |
committer | Jingning Han <jingning@google.com> | Thu Dec 11 09:33:40 2014 -0800 |
tree | e5d08dbcc468dba56e1c0600cbf4f1920300836c | |
parent | 0cac834b5a3ed300f338e30c57652bdb5fe1530e [diff] |
Refactor choose_partitioning computing scheme This commit refactors the choose_partitioning function. It removes redundant memset calls and makes the encoder to calculate variance value per block only when it is needed. It reduces the average runtime cost of choose_partitioning by 60%. Overall it reduces speed -6 runtime by 2-5%. Change-Id: I951922c50d901d0fff77a3bafc45992179bacef9