Skip to content
  • Jingning Han's avatar
    Optimize operation flow in sub8x8 rd loop · 409e77f2
    Jingning Han authored
    Stack the rate-distortion statistics in the sub8x8 rd loop. This allows
    the encoder to skip the forward transform, quantization, and coeff cost
    estimation, in the sub8x8 rd optimization search, if the motion
    vector(s) are of integer pixel value, and have been tested in the
    previous prediction filter type rd loops of the same block.
    
    This gives about 2% speed-up for bus_cif at 2000 kpbs, for speed 0.
    Its efficacy depends how frequently the motion search will select an
    integer motion vector.
    
    Change-Id: Iee15d4283ad4adea05522c1d40b198b127e6dd97
    409e77f2