Revision e6a2ac34 libavcodec/motion_est.c

View differences:

libavcodec/motion_est.c
223 223
    switch(type&0xFF){
224 224
    default:
225 225
    case FF_CMP_SAD:
226
    case FF_CMP_NSSE:
226 227
        return s->lambda>>FF_LAMBDA_SHIFT;
227 228
    case FF_CMP_DCT:
228 229
        return (3*s->lambda)>>(FF_LAMBDA_SHIFT+1);

Also available in: Unified diff