Lines Matching refs:col

35     return ((mvcost[0][(mv->as_mv.row - ref->as_mv.row) >> 1] + mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1]) * Weight) >> 7;
43 mvcost[1][(mv->as_mv.col - ref->as_mv.col) >> 1])
54 mvsadcost[1][(mv->as_mv.col - ref->as_mv.col)])
67 x->ss[search_site_count].mv.col = 0;
76 x->ss[search_site_count].mv.col = 0;
82 x->ss[search_site_count].mv.col = 0;
88 x->ss[search_site_count].mv.col = -Len;
94 x->ss[search_site_count].mv.col = Len;
114 x->ss[search_site_count].mv.col = 0;
123 x->ss[search_site_count].mv.col = 0;
129 x->ss[search_site_count].mv.col = 0;
135 x->ss[search_site_count].mv.col = -Len;
141 x->ss[search_site_count].mv.col = Len;
147 x->ss[search_site_count].mv.col = -Len;
153 x->ss[search_site_count].mv.col = Len;
159 x->ss[search_site_count].mv.col = -Len;
165 x->ss[search_site_count].mv.col = Len;
212 int rr = ref_mv->as_mv.row >> 1, rc = ref_mv->as_mv.col >> 1;
213 int br = bestmv->as_mv.row * 4, bc = bestmv->as_mv.col * 4;
224 (ref_mv->as_mv.col >> 1) - ((1 << mvlong_width) - 1));
226 (ref_mv->as_mv.col >> 1) + ((1 << mvlong_width) - 1));
240 unsigned char *y_0 = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + bestmv->as_mv.col;
247 buf_c1 = ((bestmv->as_mv.col - 3) < x->mv_col_min)?(bestmv->as_mv.col - x->mv_col_min):3;
254 unsigned char *y = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + bestmv->as_mv.col;
258 offset = (bestmv->as_mv.row) * y_stride + bestmv->as_mv.col;
262 bestmv->as_mv.col *= 8;
345 bestmv->as_mv.col = bc * 2;
347 if ((abs(bestmv->as_mv.col - ref_mv->as_mv.col) > (MAX_FULL_PEL_VAL<<3)) ||
382 unsigned char *y_0 = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + bestmv->as_mv.col;
390 unsigned char *y = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + bestmv->as_mv.col;
396 bestmv->as_mv.col <<= 3;
406 this_mv.as_mv.col = ((startmv.as_mv.col - 8) | 4);
418 this_mv.as_mv.col += 8;
431 this_mv.as_mv.col = startmv.as_mv.col;
464 this_mv.as_mv.col = (this_mv.as_mv.col - 8) | 4;
469 this_mv.as_mv.col += 4;
474 this_mv.as_mv.col = (this_mv.as_mv.col - 8) | 4;
480 this_mv.as_mv.col += 4;
501 if (bestmv->as_mv.col < startmv.as_mv.col)
511 if (startmv.as_mv.col & 7)
513 this_mv.as_mv.col = startmv.as_mv.col - 2;
514 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
518 this_mv.as_mv.col = (startmv.as_mv.col - 8) | 6;
532 this_mv.as_mv.col += 4;
533 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
545 this_mv.as_mv.col = startmv.as_mv.col;
550 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
555 thismse = vfp->svf(y - y_stride, y_stride, this_mv.as_mv.col & 7, 6, z, b->src_stride, &sse);
569 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
594 if (startmv.as_mv.col & 7)
596 this_mv.as_mv.col -= 2;
597 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
601 this_mv.as_mv.col = (startmv.as_mv.col - 8) | 6;
609 if (startmv.as_mv.col & 7)
611 this_mv.as_mv.col -= 2;
612 thismse = vfp->svf(y - y_stride, y_stride, this_mv.as_mv.col & 7, 6, z, b->src_stride, &sse);
616 this_mv.as_mv.col = (startmv.as_mv.col - 8) | 6;
623 this_mv.as_mv.col += 2;
628 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
633 thismse = vfp->svf(y - y_stride, y_stride, this_mv.as_mv.col & 7, 6, z, b->src_stride, &sse);
640 if (startmv.as_mv.col & 7)
642 this_mv.as_mv.col -= 2;
643 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
647 this_mv.as_mv.col = (startmv.as_mv.col - 8) | 6;
653 this_mv.as_mv.col += 2;
655 thismse = vfp->svf(y, y_stride, this_mv.as_mv.col & 7, this_mv.as_mv.row & 7, z, b->src_stride, &sse);
693 unsigned char *y_0 = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + bestmv->as_mv.col;
701 unsigned char *y = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + bestmv->as_mv.col;
707 bestmv->as_mv.col *= 8;
717 this_mv.as_mv.col = ((startmv.as_mv.col - 8) | 4);
729 this_mv.as_mv.col += 8;
742 this_mv.as_mv.col = startmv.as_mv.col;
774 this_mv.as_mv.col = (this_mv.as_mv.col - 8) | 4;
779 this_mv.as_mv.col += 4;
784 this_mv.as_mv.col = (this_mv.as_mv.col - 8) | 4;
790 this_mv.as_mv.col += 4;
820 if (this_mv.as_mv.col < x->mv_col_min) continue;\
821 if (this_mv.as_mv.col > x->mv_col_max) continue;\
888 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
895 bc = ref_mv->as_mv.col;
901 this_mv.as_mv.col = bc;
925 this_mv.as_mv.col = bc + hex[i].col;
926 this_offset = base_offset + (this_mv.as_mv.row * in_what_stride) + this_mv.as_mv.col;
935 this_mv.as_mv.col = bc + hex[i].col;
937 this_offset = base_offset + (this_mv.as_mv.row * in_what_stride) + this_mv.as_mv.col;
948 bc += hex[best_site].col;
962 this_mv.as_mv.col = bc + next_chkpts[k][i].col;
963 this_offset = base_offset + (this_mv.as_mv.row * (in_what_stride)) + this_mv.as_mv.col;
972 this_mv.as_mv.col = bc + next_chkpts[k][i].col;
974 this_offset = base_offset + (this_mv.as_mv.row * (in_what_stride)) + this_mv.as_mv.col;
985 bc += next_chkpts[k][best_site].col;
1004 this_mv.as_mv.col = bc + neighbors[i].col;
1005 this_offset = base_offset + (this_mv.as_mv.row * (in_what_stride)) + this_mv.as_mv.col;
1014 this_mv.as_mv.col = bc + neighbors[i].col;
1016 this_offset = base_offset + (this_mv.as_mv.row * (in_what_stride)) + this_mv.as_mv.col;
1027 bc += neighbors[best_site].col;
1032 best_mv->as_mv.col = bc;
1087 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
1091 ref_col = ref_mv->as_mv.col;
1094 best_mv->as_mv.col = ref_col;
1119 this_col_offset = best_mv->as_mv.col + ss[i].mv.col;
1131 this_mv.as_mv.col = this_col_offset;
1149 best_mv->as_mv.col += ss[best_site].mv.col;
1158 this_mv.as_mv.col = best_mv->as_mv.col << 3;
1211 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
1215 ref_col = ref_mv->as_mv.col;
1218 best_mv->as_mv.col = ref_col;
1247 all_in &= ((best_mv->as_mv.col + ss[i+2].mv.col) > x->mv_col_min);
1248 all_in &= ((best_mv->as_mv.col + ss[i+3].mv.col) < x->mv_col_max);
1268 this_mv.as_mv.col = best_mv->as_mv.col + ss[i].mv.col;
1287 this_col_offset = best_mv->as_mv.col + ss[i].mv.col;
1298 this_mv.as_mv.col = this_col_offset;
1316 best_mv->as_mv.col += ss[best_site].mv.col;
1325 this_mv.as_mv.col = best_mv->as_mv.col * 8;
1353 int ref_col = ref_mv->as_mv.col;
1366 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
1373 best_mv->as_mv.col = ref_col;
1404 this_mv.as_mv.col = c;
1412 best_mv->as_mv.col = c;
1421 this_mv.as_mv.col = best_mv->as_mv.col << 3;
1449 int ref_col = ref_mv->as_mv.col;
1464 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
1471 best_mv->as_mv.col = ref_col;
1511 this_mv.as_mv.col = c;
1519 best_mv->as_mv.col = c;
1535 this_mv.as_mv.col = c;
1543 best_mv->as_mv.col = c;
1555 this_mv.as_mv.col = best_mv->as_mv.col << 3;
1583 int ref_col = ref_mv->as_mv.col;
1599 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
1606 best_mv->as_mv.col = ref_col;
1646 this_mv.as_mv.col = c;
1654 best_mv->as_mv.col = c;
1676 this_mv.as_mv.col = c;
1684 best_mv->as_mv.col = c;
1700 this_mv.as_mv.col = c;
1708 best_mv->as_mv.col = c;
1719 this_mv.as_mv.col = best_mv->as_mv.col * 8;
1740 (ref_mv->as_mv.row * pre_stride) + ref_mv->as_mv.col);
1752 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
1765 this_col_offset = ref_mv->as_mv.col + neighbors[j].col;
1770 check_here = (neighbors[j].row)*in_what_stride + neighbors[j].col + best_address;
1776 this_mv.as_mv.col = this_col_offset;
1793 ref_mv->as_mv.col += neighbors[best_site].col;
1794 best_address += (neighbors[best_site].row)*in_what_stride + neighbors[best_site].col;
1799 this_mv.as_mv.col = ref_mv->as_mv.col << 3;
1820 (ref_mv->as_mv.row * pre_stride) + ref_mv->as_mv.col);
1832 fcenter_mv.as_mv.col = center_mv->as_mv.col >> 3;
1845 all_in &= ((ref_mv->as_mv.col - 1) > x->mv_col_min);
1846 all_in &= ((ref_mv->as_mv.col + 1) < x->mv_col_max);
1864 this_mv.as_mv.col = ref_mv->as_mv.col + neighbors[j].col;
1880 this_col_offset = ref_mv->as_mv.col + neighbors[j].col;
1885 check_here = (neighbors[j].row)*in_what_stride + neighbors[j].col + best_address;
1891 this_mv.as_mv.col = this_col_offset;
1909 ref_mv->as_mv.col += neighbors[best_site].col;
1910 best_address += (neighbors[best_site].row)*in_what_stride + neighbors[best_site].col;
1915 this_mv.as_mv.col = ref_mv->as_mv.col * 8;