17 |
#include "../bitstream/vlc_codes.h" |
#include "../bitstream/vlc_codes.h" |
18 |
#include "../dct/fdct.h" |
#include "../dct/fdct.h" |
19 |
#include "motion_inlines.h" |
#include "motion_inlines.h" |
|
#include "../plugins/HVS_base.h" |
|
|
|
|
20 |
|
|
21 |
/* rd = BITS_MULT*bits + LAMBDA*distortion */ |
/* rd = BITS_MULT*bits + LAMBDA*distortion */ |
22 |
#define LAMBDA ( (int)(BITS_MULT*1.0) ) |
#define LAMBDA ( (int)(BITS_MULT*1.0) ) |
514 |
case MODE_BACKWARD: |
case MODE_BACKWARD: |
515 |
rd = b_rd = SearchBF_RD(x, y, MotionFlags, pParam, &best_rd, Data_b); |
rd = b_rd = SearchBF_RD(x, y, MotionFlags, pParam, &best_rd, Data_b); |
516 |
break; |
break; |
517 |
|
default: |
518 |
case MODE_INTERPOLATE: |
case MODE_INTERPOLATE: |
519 |
rd = i_rd = SearchInterpolate_RD(x, y, MotionFlags, pParam, &best_rd, Data_i); |
rd = i_rd = SearchInterpolate_RD(x, y, MotionFlags, pParam, &best_rd, Data_i); |
520 |
break; |
break; |