Skip to content
  • Urvang Joshi's avatar
    Use integer division for x_step_q4 and y_step_q4 · edb76fe5
    Urvang Joshi authored
    We replace the division by shifts using already calculated 'x_scale_fp'
    and 'y_scale_fp'.
    
    That way, hardware can do it on-the-fly instead using a set of
    programmable registers.
    
    BUG=aomedia:343
    
    Change-Id: I99d93dec5327e835ce288212ab75b8a75a8fe520
    edb76fe5