Revision d4c5d2ad 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:
227 226
        return s->lambda>>FF_LAMBDA_SHIFT;
228 227
    case FF_CMP_DCT:
229 228
        return (3*s->lambda)>>(FF_LAMBDA_SHIFT+1);
......
232 231
    case FF_CMP_RD:
233 232
    case FF_CMP_PSNR:
234 233
    case FF_CMP_SSE:
234
    case FF_CMP_NSSE:
235 235
        return s->lambda2>>FF_LAMBDA_SHIFT;
236 236
    case FF_CMP_BIT:
237 237
        return 1;

Also available in: Unified diff