/external/libxcam/xcore/interface/ |
blender.cpp | 48 _merge_window.pos_x = XCAM_ALIGN_AROUND (_merge_window.pos_x, alignmend_x); 53 _merge_window.pos_x, _merge_window.width, _out_width); 64 _input_valid_area[index].pos_x = XCAM_ALIGN_DOWN (_input_valid_area[index].pos_x, alignmend_x); 69 index, _input_valid_area[index].pos_x, _input_valid_area[index].width); 83 _input_merge_area[index].pos_x = XCAM_ALIGN_AROUND (_input_merge_area[index].pos_x, get_alignment_x ()); 88 index, _input_merge_area[index].pos_x, _input_merge_area[index].width); 98 out_window.pos_x = blend_width - width1 [all...] |
feature_match.cpp | 124 int last_overlap_width = stitch1.pos_x + stitch1.width + (dst_width - (stitch0.pos_x + stitch0.width)); 125 // int final_overlap_width = stitch1.pos_x + stitch1.width + (dst_width - (stitch0.pos_x - x_offset + stitch0.width)); 126 if ((stitch0.pos_x - x_offset + stitch0.width) > dst_width) 127 x_offset = dst_width - (stitch0.pos_x + stitch0.width); 134 stitch1.pos_x = XCAM_ALIGN_AROUND (center - _config.sitch_min_width / 2, 8); 136 stitch0.pos_x = dst_width - final_overlap_width + stitch1.pos_x;
|
stitcher.cpp | 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) [all...] |
data_types.h | 35 int32_t pos_x, pos_y; member in struct:XCam::Rect 38 Rect () : pos_x (0), pos_y (0), width (0), height (0) {} 39 Rect (int32_t x, int32_t y, int32_t w, int32_t h) : pos_x (x), pos_y (y), width (w), height (h) {}
|
blender.h | 63 return _merge_window.pos_x || _merge_window.width;
|
/external/libxcam/cl_kernel/ |
kernel_defog_dcp.cl | 19 int pos_x = get_global_id (0); 28 y[0] = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y * 2))))); 29 y[1] = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y * 2 + 1))))); 30 float8 uv = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_uv, sampler, (int2)(pos_x, pos_y))))) - 128.0f; 48 pos = (int2)(pos_x, 2 * pos_y + i); 89 int pos_x = g_id_x; 96 in_r[0] = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_r, sampler, (int2)(pos_x, pos_y))))); 97 in_r[1] = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_r, sampler, (int2)(pos_x, pos_y + 1))))); 98 in_g[0] = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_g, sampler, (int2)(pos_x, pos_y))))); 99 in_g[1] = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_g, sampler, (int2)(pos_x, pos_y + 1))))) [all...] |
kernel_bi_filter.cl | 36 int pos_x = get_global_id (0); 45 float8 center_y = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y))))); 47 y1 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x - 1, pos_y - PATCH_RADIUS + i))))); 48 y2 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y - PATCH_RADIUS + i))))); 49 dark1 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_dark, sampler, (int2)(pos_x - 1, pos_y - PATCH_RADIUS + i))))); 50 dark2 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_dark, sampler, (int2)(pos_x, pos_y - PATCH_RADIUS + i))))); 60 y1 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x + 1, pos_y - PATCH_RADIUS + i))))); 61 dark1 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input_dark, sampler, (int2)(pos_x + 1, pos_y - PATCH_RADIUS + i))))); 72 write_imageui(output_dark, (int2)(pos_x, pos_y), convert_uint4(as_ushort4(convert_uchar8(out_data))));
|
kernel_min_filter.cl | 54 int pos_x = group_offset_x + slm_x; 56 uchar8 data = as_uchar8(convert_ushort4(read_imageui(input, sampler, (int2)(pos_x, pos_y)))); 66 int pos_x, pos_y; 81 pos_x = group_start_x + local_x; 84 write_imageui(output, (int2)(pos_x, pos_y), convert_uint4(as_ushort4(min_val_1))); 85 write_imageui(output, (int2)(pos_x, pos_y + 1), convert_uint4(as_ushort4(min_val_2))); 159 int pos_x = group_start_x + local_x; 162 write_imageui(output, (int2)(pos_x, pos_y), convert_uint4(as_ushort4(out_data)));
|
/external/libxcam/xcore/base/ |
xcam_smart_result.h | 33 uint32_t pos_x; member in struct:_XCamFaceInfo
|
/external/libxcam/modules/ocl/ |
cl_wire_frame_handler.cpp | 65 _wire_frames [i].pos_x = (uint32_t)(config->faces [i].pos_x / scaler_factor / 2) * 2; 78 if (_wire_frames [i].pos_x > image_width) { 79 XCAM_LOG_ERROR ("check_wire_frames_validity: invalid pos_x (%d)", _wire_frames [i].pos_x); 86 if (_wire_frames [i].pos_x + _wire_frames [i].width > image_width) { 118 coords [index++] = _wire_frames [i].pos_x + k; 125 coords [index++] = _wire_frames [i].pos_x + k; 132 coords [index++] = _wire_frames [i].pos_x + k; 139 coords [index++] = _wire_frames [i].pos_x + _wire_frames [i].width - border_size + k [all...] |
cl_image_360_stitch.cpp | 488 _img_merge_info[i].left.pos_x = _stitch_info.crop[i].left; 494 _img_merge_info[i].right.pos_x = _fisheye[i].width - _stitch_info.crop[i].right 584 prev_pos = left_lap.pos_x; 585 left_lap.pos_x = XCAM_ALIGN_AROUND (left_lap.pos_x, XCAM_CL_BLENDER_ALIGNMENT_X); 587 right_lap.pos_x += left_lap.pos_x - prev_pos; 588 right_lap.pos_x = XCAM_ALIGN_AROUND (right_lap.pos_x, XCAM_CL_BLENDER_ALIGNMENT_X); 594 area.pos_x = left_img_mid [all...] |
cv_feature_match.cpp | 58 img = umat (cv::Rect(crop_rect.pos_x, crop_rect.pos_y, crop_rect.width, crop_rect.height)); 214 "FeatureMatch(idx:%d): stiching area: left_area(pos_x:%d, width:%d), right_area(pos_x:%d, width:%d)", 215 _fm_idx, crop_left.pos_x, crop_left.width, crop_right.pos_x, crop_right.width); 278 cv::putText (mat, frame_str, cv::Point(rect.pos_x, 30), cv::FONT_HERSHEY_COMPLEX, 0.8f, color, 2, 8, false); 279 cv::putText (mat, fm_idx_str, cv::Point(rect.pos_x, 70), cv::FONT_HERSHEY_COMPLEX, 0.8f, color, 2, 8, false); 281 cv::line (mat, cv::Point(rect.pos_x, rect.pos_y), cv::Point(rect.pos_x + rect.width, rect.pos_y), color, 1); 282 cv::line (mat, cv::Point(rect.pos_x, rect.pos_y + rect.height) [all...] |
cl_wire_frame_handler.h | 31 uint32_t pos_x; member in struct:XCam::_CLWireFrame
|
cl_blender.cpp | 160 area.pos_x = merge_window.pos_x; 162 area.pos_x = 0;
|
/external/libxcam/modules/soft/ |
cv_capi_feature_match.cpp | 50 int offset = info.strides[NV12PlaneYIdx] * crop_rect.pos_y + crop_rect.pos_x; 221 "FeatureMatch(idx:%d): stiching area: left_area(pos_x:%d, width:%d), right_area(pos_x:%d, width:%d)", 222 _fm_idx, crop_left.pos_x, crop_left.width, crop_right.pos_x, crop_right.width); 273 cv::putText (mat, frame_str, cv::Point(rect.pos_x, 30), cv::FONT_HERSHEY_COMPLEX, 0.8f, color, 2, 8, false); 274 cv::putText (mat, fm_idx_str, cv::Point(rect.pos_x, 70), cv::FONT_HERSHEY_COMPLEX, 0.8f, color, 2, 8, false); 276 cv::line (mat, cv::Point(rect.pos_x, rect.pos_y), cv::Point(rect.pos_x + rect.width, rect.pos_y), color, 1); 277 cv::line (mat, cv::Point(rect.pos_x, rect.pos_y + rect.height) [all...] |
soft_stitcher.cpp | 375 areas[i].in_area.pos_x, areas[i].in_area.pos_y, areas[i].in_area.width, areas[i].in_area.height, 376 areas[i].out_area.pos_x, areas[i].out_area.pos_y, areas[i].out_area.width, areas[i].out_area.height); 519 float feature_center_x = (float)left_ovlap.pos_x + (left_ovlap.width / 2.0f); 528 feature_center_x = (float)right_ovlap.pos_x + (right_ovlap.width / 2.0f); 640 in_info.offsets[0] + copy_area.in_area.pos_x + copy_area.in_area.pos_y * in_info.strides[0]); 643 in_info.offsets[1] + copy_area.in_area.pos_x + copy_area.in_area.pos_y / 2 * in_info.strides[1]); 647 out_info.offsets[0] + copy_area.out_area.pos_x + copy_area.out_area.pos_y * out_info.strides[0]); 650 out_info.offsets[1] + copy_area.out_area.pos_x + copy_area.out_area.pos_y / 2 * out_info.strides[1]);
|
/external/libhevc/encoder/ |
ihevce_had_satd.c | 880 WORD32 pos_x = pos_x_y_4x4 & 0xFFFF; local 887 ASSERT(pos_x >= 0); 891 pi4_4x4_hsad = ppi4_hsad[HAD_4x4] + pos_x + pos_y * num_4x4_in_row; 892 pi4_8x8_hsad = ppi4_hsad[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); 968 WORD32 pos_x = pos_x_y_4x4 & 0xFFFF; local 985 ASSERT(pos_x >= 0); 989 pi4_4x4_hsad = ppi4_hsad[HAD_4x4] + pos_x + pos_y * num_4x4_in_row; 990 pi4_8x8_hsad = ppi4_hsad[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); 991 pi4_8x8_tu_split = ppi4_tu_split[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); 993 ppi4_tu_early_cbf[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1) 1249 WORD32 pos_x = pos_x_y_4x4 & 0xFFFF; local 1543 WORD32 pos_x = pos_x_y_4x4 & 0xFFFF; local [all...] |
/external/libhevc/encoder/arm/ |
ihevce_hme_utils_neon.c | 228 S32 pos_x, 240 pos_x = MIN(pos_x, ps_curr_layer->i4_wd - 1); 246 x_count = MIN(size, (ps_curr_layer->i4_wd - pos_x)); 251 pu1_src += (pos_x + (pos_y * src_stride)); 388 S32 pos_x, 402 x_count = MIN(size, (ps_curr_layer->i4_wd - pos_x)); 407 pu1_src += (pos_x + (pos_y * src_stride)); 681 pu1_src += (pos_x + (pos_y * src_stride)); [all...] |
ihevce_had_compute_neon.c | 810 WORD32 pos_x = pos_x_y_4x4 & 0xFFFF; local 829 assert(pos_x >= 0); 833 pi4_4x4_hsad = ppi4_hsad[HAD_4x4] + pos_x + pos_y * num_4x4_in_row; 834 pi4_8x8_hsad = ppi4_hsad[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); 835 pi4_8x8_tu_split = ppi4_tu_split[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); 837 ppi4_tu_early_cbf[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); 1016 WORD32 pos_x = pos_x_y_4x4 & 0xFFFF; local 1019 assert(pos_x >= 0); 1023 pi4_16x16_hsad = ppi4_hsad[HAD_16x16] + (pos_x >> 2) + (pos_y >> 2) * (num_4x4_in_row >> 2); 1026 ppi4_tu_split[HAD_16x16] + (pos_x >> 2) + (pos_y >> 2) * (num_4x4_in_row >> 2) [all...] |
/bionic/libc/kernel/uapi/linux/ |
omapfb.h | 114 __u32 pos_x; member in struct:omapfb_plane_info
|
/external/kernel-headers/original/uapi/linux/ |
omapfb.h | 138 __u32 pos_x; member in struct:omapfb_plane_info
|
/external/skia/experimental/pvg/ |
draw_msg.proto | 241 repeated float pos_x = 2; // must match counts with glyphs
|
/external/skqp/experimental/pvg/ |
draw_msg.proto | 241 repeated float pos_x = 2; // must match counts with glyphs
|
/external/libaom/libaom/aom_dsp/x86/ |
variance_sse2.c | 528 int pos_x = sf->scale_value_x(orig_pos_x, sf); local 529 pos_x += SCALE_EXTRA_OFF; 539 pos_x = clamp(pos_x, left, right); 543 (pos_x >> SCALE_SUBPEL_BITS); 546 pos_x & SCALE_SUBPEL_MASK, [all...] |
/external/libaom/libaom/av1/encoder/ |
reconinter_enc.c | 46 int pos_x = sf->scale_value_x(orig_pos_x, sf); local 47 pos_x += SCALE_EXTRA_OFF; 56 pos_x = clamp(pos_x, left, right); 59 (pos_x >> SCALE_SUBPEL_BITS); 60 subpel_params->subpel_x = pos_x & SCALE_SUBPEL_MASK;
|