Lines Matching defs:ref
97 int part_width, int list, int ref,
119 match_count = (diagonal_ref == ref) + (top_ref == ref) + (left_ref == ref);
125 if (left_ref == ref) {
128 } else if (top_ref == ref) {
150 A[0], A[1], ref, *mx, *my, sl->mb_x, sl->mb_y, n, list);
161 int n, int list, int ref,
171 if (top_ref == ref) {
183 if (left_ref == ref) {
191 pred_motion(h, sl, n, 4, list, ref, mx, my);
202 int n, int list, int ref,
212 if (left_ref == ref) {
226 if (diagonal_ref == ref) {
234 pred_motion(h, sl, n, 2, list, ref, mx, my);
261 int8_t *ref = h->cur_pic.ref_index[0];
275 left_ref = ref[4 * sl->left_mb_xy[LTOP] + 1 + (sl->left_block[0] & ~1)];
288 top_ref = ref[4 * sl->top_mb_xy + 2];
304 diagonal_ref = ref[4 * sl->topright_mb_xy + 2];
312 diagonal_ref = ref[4 * sl->topleft_mb_xy + 1 +
610 int8_t *ref = h->cur_pic.ref_index[list];
621 ref_cache[1 - 1 * 8] = ref[4 * top_xy + 2];
623 ref_cache[3 - 1 * 8] = ref[4 * top_xy + 3];
640 ref_cache[cache_idx] = ref[b8_xy + (left_block[0 + i * 2] & ~1)];
641 ref_cache[cache_idx + 8] = ref[b8_xy + (left_block[1 + i * 2] & ~1)];
655 ref_cache[-1] = ref[b8_xy + (left_block[0] & ~1)];
666 ref_cache[4 - 1 * 8] = ref[4 * topright_xy + 2];
678 ref_cache[-1 - 1 * 8] = ref[b8_xy];