Home | History | Annotate | Download | only in interface

Lines Matching refs:pos_x

41             current.in_area.pos_x + current.in_area.width == next.in_area.pos_x &&
42 current.out_area.pos_x + current.out_area.width == next.out_area.pos_x)
45 merged.in_area.pos_x = current.in_area.pos_x;
47 merged.out_area.pos_x = current.out_area.pos_x;
59 XCAM_ASSERT (area.out_area.pos_x >= 0 && area.out_area.pos_x < (int32_t)round_width);
61 if (area.out_area.pos_x + area.out_area.width > (int32_t)round_width) {
63 split_a.out_area.width = round_width - area.out_area.pos_x;
67 split_b.in_area.pos_x = area.in_area.pos_x + split_a.in_area.width;
69 split_b.out_area.pos_x = 0;
71 XCAM_ASSERT (split_b.out_area.width == area.out_area.pos_x + area.out_area.width - (int32_t)round_width);
330 valid_left_img.pos_x = left_center.slice_center_x;
331 valid_left_img.width = left.width - left_img_crop.right - valid_left_img.pos_x;
336 valid_right_img.pos_x = right_center.slice_center_x - valid_right_img.width;
350 left_img_overlap.pos_x = valid_left_img.pos_x + valid_left_img.width - overlap_width;
354 XCAM_ASSERT (left_img_overlap.pos_x >= (int32_t)left_center.slice_center_x && left_img_overlap.pos_x < (int32_t)left.width);
356 right_img_overlap.pos_x = valid_right_img.pos_x;
360 XCAM_ASSERT (right_img_overlap.pos_x >= (int32_t)right_img_crop.left && right_img_overlap.pos_x < (int32_t)right_center.slice_center_x);
363 out_overlap.pos_x = left_center.out_center_x + valid_left_img.width - overlap_width;
370 left_img_seam.pos_x =
377 XCAM_ASSERT (left_img_seam.pos_x < left.width - _crop_info[idx].right);
378 if (left_img_seam.pos_x + left_img_seam.width > left.width - _crop_info[idx].right)
381 right_img_seam.pos_x = 0;
387 XCAM_ASSERT (right_img_seam.pos_x + right_img_seam.width > _crop_info[next_idx].left);
389 right_img_seam.pos_x = _crop_info[next_idx].left;
391 left_img_seam.pos_x += _crop_info[next_idx].left;
396 left_img_seam.pos_x = XCAM_ALIGN_DOWN (left_img_seam.pos_x, _alignment_x);
397 right_img_seam.pos_x = XCAM_ALIGN_DOWN (right_img_seam.pos_x, _alignment_x);
402 if (left_img_seam.pos_x + seam_width > left.width)
403 seam_width = left.width - left_img_seam.pos_x;
404 if (right_img_seam.pos_x + seam_width > right.width)
405 seam_width = right.width - right_img_seam.pos_x;
454 left.in_area.pos_x = mark_left.slice_center_x;
455 left.in_area.width = overlap.left.pos_x - left.in_area.pos_x;
461 left.out_area.pos_x = mark_left.out_center_x;
475 right.in_area.pos_x = _overlap_info[i].right.pos_x + _overlap_info[i].right.width;
476 right.in_area.width = (int32_t)mark_right.slice_center_x - right.in_area.pos_x;
486 right.out_area.pos_x = out_right_center_x - right.out_area.width;