55 |
{ 0, 1, 0, 0 }; |
{ 0, 1, 0, 0 }; |
56 |
|
|
57 |
const int xvid_me_lambda_vec16[32] = |
const int xvid_me_lambda_vec16[32] = |
58 |
{ 0 ,(int)(0.5 * NEIGH_TEND_16X16 + 0.5), |
{ 0 ,(int)(1.0 * NEIGH_TEND_16X16 + 0.5), |
59 |
(int)(1.0*NEIGH_TEND_16X16 + 0.5), (int)(1.5*NEIGH_TEND_16X16 + 0.5), |
(int)(2.0*NEIGH_TEND_16X16 + 0.5), (int)(3.0*NEIGH_TEND_16X16 + 0.5), |
60 |
(int)(2.0*NEIGH_TEND_16X16 + 0.5), (int)(2.5*NEIGH_TEND_16X16 + 0.5), |
(int)(4.0*NEIGH_TEND_16X16 + 0.5), (int)(5.0*NEIGH_TEND_16X16 + 0.5), |
61 |
(int)(5.0*NEIGH_TEND_16X16 + 0.5), (int)(7.0*NEIGH_TEND_16X16 + 0.5), |
(int)(6.0*NEIGH_TEND_16X16 + 0.5), (int)(7.0*NEIGH_TEND_16X16 + 0.5), |
62 |
(int)(8.0*NEIGH_TEND_16X16 + 0.5), (int)(9.0*NEIGH_TEND_16X16 + 0.5), |
(int)(8.0*NEIGH_TEND_16X16 + 0.5), (int)(9.0*NEIGH_TEND_16X16 + 0.5), |
63 |
(int)(10.0*NEIGH_TEND_16X16 + 0.5), (int)(11.0*NEIGH_TEND_16X16 + 0.5), |
(int)(10.0*NEIGH_TEND_16X16 + 0.5), (int)(11.0*NEIGH_TEND_16X16 + 0.5), |
64 |
(int)(12.0*NEIGH_TEND_16X16 + 0.5), (int)(13.0*NEIGH_TEND_16X16 + 0.5), |
(int)(12.0*NEIGH_TEND_16X16 + 0.5), (int)(13.0*NEIGH_TEND_16X16 + 0.5), |
389 |
|
|
390 |
int xo = 2*data->currentMV[0].x, yo = 2*data->currentMV[0].y; |
int xo = 2*data->currentMV[0].x, yo = 2*data->currentMV[0].y; |
391 |
|
|
392 |
data->currentQMV[0].x = v_best.x = xo; |
data->currentQMV[0].x = v_best.x = v_best2.x = xo; |
393 |
data->currentQMV[0].y = v_best.y = yo; |
data->currentQMV[0].y = v_best.y = v_best2.y = yo; |
394 |
|
|
395 |
data->qpel_precision = 1; |
data->qpel_precision = 1; |
396 |
|
|