Skip to content
  • Jingning Han's avatar
    Refactor choose_partitioning computing scheme · 377d2f02
    Jingning Han authored
    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
    377d2f02