• Gabriel Marin's avatar
    Add a vector form of routine vp9_model_rd_from_var_lapndz · 976ddb61
    Gabriel Marin authored
    Add routine vp9_model_rd_from_var_lapndz_vec and call it from model_rd_for_sb
    to model the rate and distortion for MAX_MB_PLANE Laplacian sources in
    parallel. The caller ensures that all sources have non-zero variance.
    
    Measured a 18% to 25% reduction in retired instructions, and 17% to 24%
    reduction in instruction execution cost with different compilers for the
    Laplacian modeling.
    
    No change in behavior.
    
    TEST=Verified that encoded files match bit for bit, with and without this
    change.
    BUG=b/33678225
    
    Change-Id: I6b76947f21c659a349adb896e13e99f6e3f951e6
    976ddb61