Skip to content
  • Jingning Han's avatar
    Refactor rd_pick_partition for parameter control · 01a37177
    Jingning Han authored
    This commit changes the partition search order of superblocks from
    {SPLIT, NONE, HORZ, VERT} to {NONE, SPLIT, HORZ, VERT} for
    consistency with that of sub8x8 partition search. It enable the use
    of early termination in partition search for all block sizes.
    
    For ped_area_1080p 50 frames coded at 4000 kbps, it makes the runtime
    goes down from 844305ms -> 818003ms (3% speed-up) at speed 0.
    
    This will further move towards making the in-search partition types
    configurable, hence unifying various speed-up approaches.
    
    Some speed 1 and 2 features are turned off during the refactoring
    process, including:
    disable_split_var_thresh
    using_small_partition_info
    
    Stricter constraints are applied to use_square_partition_only for
    right/bottom boundary blocks. Will bring back/refine these features
    subsequently. At this point, it makes derf set at speed 1 about
    0.45% higher in compression performance, and 9% down in run-time.
    
    Change-Id: I3db9f9d1d1a0d6cbe2e50e49bd9eda1cf705f37c
    01a37177