Skip to content
  • Jingning Han's avatar
    Skip some mode SAD calculation in non-RD mode · 24c7ee78
    Jingning Han authored
    This commit checks if the motion vector associated with the current
    mode has been computed in previous mode tests. If possible, skip the
    redundant reference block generation and SAD calculation in the
    non-RD mode decision process.
    
    For test sequence pedestrian_area 1080p, the runtime goes from
    24261 ms to 23770 ms. This does not change compression performance.
    The speed-up is mostly around places with consistent motion.
    
    Change-Id: I97be63c6a2d07c57be26b3c600fbda3803adddda
    24c7ee78