Home
last modified time | relevance | path

Searched refs:pos_y (Results 1 – 25 of 42) sorted by relevance

12

/external/libkmsxx/py/tests/
Dbig_fb.py108 self.pos_y = self.fbY // 2
132 self.old_pos_y = self.pos_y
135 self.pos_y = int(self.pos_y + (self.dir_y * self.speed_y))
137 if self.pos_y < 0:
138 self.pos_y = 0
141 elif self.pos_y > (self.fbY - self.bar_size):
142 self.pos_y = self.fbY - self.bar_size
154 pos_y = self.pos_y
155 pykms.draw_rect(fb, 0, pos_y, self.fbX, 5, self.color3)
156 pos_y += 5
[all …]
/external/libxcam/cl_kernel/
Dkernel_defog_dcp.cl20 int pos_y = get_global_id (1);
28 …nvert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y * 2)))));
29 …t_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y * 2 + 1)))));
30 …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);
90 int pos_y = g_id_y * 2;
96 …= convert_float8(as_uchar8(convert_ushort4(read_imageui(input_r, sampler, (int2)(pos_x, pos_y)))));
97 …nvert_float8(as_uchar8(convert_ushort4(read_imageui(input_r, sampler, (int2)(pos_x, pos_y + 1)))));
98 …= convert_float8(as_uchar8(convert_ushort4(read_imageui(input_g, sampler, (int2)(pos_x, pos_y)))));
99 …nvert_float8(as_uchar8(convert_ushort4(read_imageui(input_g, sampler, (int2)(pos_x, pos_y + 1)))));
[all …]
Dkernel_bi_filter.cl37 int pos_y = get_global_id (1);
45 …= convert_float8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y)))));
47 …s_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x - 1, pos_y - PATCH_RADIUS + i…
48 …t8(as_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x, pos_y - PATCH_RADIUS + i…
49 …char8(convert_ushort4(read_imageui(input_dark, sampler, (int2)(pos_x - 1, pos_y - PATCH_RADIUS + i…
50 …as_uchar8(convert_ushort4(read_imageui(input_dark, sampler, (int2)(pos_x, pos_y - PATCH_RADIUS + i…
60 …s_uchar8(convert_ushort4(read_imageui(input_y, sampler, (int2)(pos_x + 1, pos_y - PATCH_RADIUS + i…
61 …char8(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)…
Dkernel_min_filter.cl55 int pos_y = group_offset_y + slm_y;
56 … uchar8 data = as_uchar8(convert_ushort4(read_imageui(input, sampler, (int2)(pos_x, pos_y))));
66 int pos_x, pos_y;
82 pos_y = group_start_y + local_y;
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)));
160 int pos_y = group_start_y + local_y;
162 write_imageui(output, (int2)(pos_x, pos_y), convert_uint4(as_ushort4(out_data)));
/external/libxcam/modules/ocl/
Dcl_wire_frame_handler.cpp66 _wire_frames [i].pos_y = (uint32_t)(config->faces [i].pos_y / scaler_factor / 2) * 2; in set_wire_frame_config()
82 if (_wire_frames [i].pos_y > image_height) { in check_wire_frames_validity()
83 … XCAM_LOG_ERROR ("check_wire_frames_validity: invalid pos_y (%d)", _wire_frames [i].pos_y); in check_wire_frames_validity()
90 if (_wire_frames [i].pos_y + _wire_frames [i].height > image_width) { in check_wire_frames_validity()
119 coords [index++] = _wire_frames [i].pos_y + j; in get_border_coordinates()
126 … coords [index++] = _wire_frames [i].pos_y + _wire_frames [i].height - border_size + j; in get_border_coordinates()
133 coords [index++] = _wire_frames [i].pos_y + border_size + j; in get_border_coordinates()
140 coords [index++] = _wire_frames [i].pos_y + border_size + j; in get_border_coordinates()
Dcl_image_360_stitch.cpp489 _img_merge_info[i].left.pos_y = _stitch_info.crop[i].top; in update_image_overlap()
496 _img_merge_info[i].right.pos_y = _stitch_info.crop[i].top; in update_image_overlap()
592 area.pos_y = left_lap.pos_y; in prepare_global_scale_blender_parameters()
598 area.pos_y = right_lap.pos_y; in prepare_global_scale_blender_parameters()
607 out_merge_window.pos_y = 0; in prepare_global_scale_blender_parameters()
646 area.pos_y = left_lap.pos_y; in prepare_local_scale_blender_parameters()
652 area.pos_y = right_lap.pos_y; in prepare_local_scale_blender_parameters()
662 out_merge_window.pos_y = 0; in prepare_local_scale_blender_parameters()
790 stitch_rect.pos_y = xcam_rect.pos_y + xcam_rect.height / 3; in convert_to_stitch_rect()
Dcv_feature_match.cpp58 img = umat (cv::Rect(crop_rect.pos_x, crop_rect.pos_y, crop_rect.width, crop_rect.height)); in get_crop_image()
281 …cv::line (mat, cv::Point(rect.pos_x, rect.pos_y), cv::Point(rect.pos_x + rect.width, rect.pos_y), … in debug_write_image()
282 cv::line (mat, cv::Point(rect.pos_x, rect.pos_y + rect.height), in debug_write_image()
283 cv::Point(rect.pos_x + rect.width, rect.pos_y + rect.height), color, 1); in debug_write_image()
Dcl_wire_frame_handler.h32 uint32_t pos_y; member
/external/libxcam/xcore/interface/
Dstitcher.cpp332 valid_left_img.pos_y = left_img_crop.top; in estimate_overlap()
337 valid_right_img.pos_y = right_img_crop.top; in estimate_overlap()
352 left_img_overlap.pos_y = valid_left_img.pos_y; in estimate_overlap()
358 right_img_overlap.pos_y = valid_right_img.pos_y; in estimate_overlap()
366 out_overlap.pos_y = valid_left_img.pos_y; in estimate_overlap()
372 left_img_seam.pos_y = _crop_info[idx].top; in estimate_overlap()
382 right_img_seam.pos_y = _crop_info[next_idx].top; in estimate_overlap()
414 uint32_t top = XCAM_MAX (left_img_seam.pos_y, right_img_seam.pos_y); in estimate_overlap()
415 uint32_t bottom0 = left_img_seam.pos_y + left_img_seam.height; in estimate_overlap()
416 uint32_t bottom1 = right_img_seam.pos_y + right_img_seam.height; in estimate_overlap()
[all …]
Ddata_types.h35 int32_t pos_x, pos_y; member
38 Rect () : pos_x (0), pos_y (0), width (0), height (0) {} in Rect()
39 … Rect (int32_t x, int32_t y, int32_t w, int32_t h) : pos_x (x), pos_y (y), width (w), height (h) {} in Rect()
Dblender.cpp84 …_input_merge_area[index].pos_y = XCAM_ALIGN_AROUND (_input_merge_area[index].pos_y, get_alignment_… in set_input_merge_area()
/external/libhevc/encoder/
Dihevce_had_satd.c881 WORD32 pos_y = (pos_x_y_4x4 >> 16) & 0xFFFF; in ihevce_had_8x8_using_4_4x4() local
888 ASSERT(pos_y >= 0); in ihevce_had_8x8_using_4_4x4()
891 pi4_4x4_hsad = ppi4_hsad[HAD_4x4] + pos_x + pos_y * num_4x4_in_row; in ihevce_had_8x8_using_4_4x4()
892 pi4_8x8_hsad = ppi4_hsad[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); in ihevce_had_8x8_using_4_4x4()
969 WORD32 pos_y = (pos_x_y_4x4 >> 16) & 0xFFFF; in ihevce_had_8x8_using_4_4x4_r() local
986 ASSERT(pos_y >= 0); in ihevce_had_8x8_using_4_4x4_r()
989 pi4_4x4_hsad = ppi4_hsad[HAD_4x4] + pos_x + pos_y * num_4x4_in_row; in ihevce_had_8x8_using_4_4x4_r()
990 pi4_8x8_hsad = ppi4_hsad[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); in ihevce_had_8x8_using_4_4x4_r()
991 pi4_8x8_tu_split = ppi4_tu_split[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); in ihevce_had_8x8_using_4_4x4_r()
993 ppi4_tu_early_cbf[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); in ihevce_had_8x8_using_4_4x4_r()
[all …]
/external/libxcam/modules/soft/
Dcv_capi_feature_match.cpp50 int offset = info.strides[NV12PlaneYIdx] * crop_rect.pos_y + crop_rect.pos_x; in get_crop_image()
276 …cv::line (mat, cv::Point(rect.pos_x, rect.pos_y), cv::Point(rect.pos_x + rect.width, rect.pos_y), … in debug_write_image()
277 cv::line (mat, cv::Point(rect.pos_x, rect.pos_y + rect.height), in debug_write_image()
278 cv::Point(rect.pos_x + rect.width, rect.pos_y + rect.height), color, 1); in debug_write_image()
Dsoft_stitcher.cpp375 … areas[i].in_area.pos_x, areas[i].in_area.pos_y, areas[i].in_area.width, areas[i].in_area.height, in init_config()
376 …areas[i].out_area.pos_x, areas[i].out_area.pos_y, areas[i].out_area.width, areas[i].out_area.heigh… in init_config()
506 left_ovlap.pos_y = left_ovlap.height / 5; in feature_match()
508 right_ovlap.pos_y = right_ovlap.height / 5; in feature_match()
640 … in_info.offsets[0] + copy_area.in_area.pos_x + copy_area.in_area.pos_y * in_info.strides[0]); in start_copy_task()
643 … in_info.offsets[1] + copy_area.in_area.pos_x + copy_area.in_area.pos_y / 2 * in_info.strides[1]); in start_copy_task()
647 … out_info.offsets[0] + copy_area.out_area.pos_x + copy_area.out_area.pos_y * out_info.strides[0]); in start_copy_task()
650 …out_info.offsets[1] + copy_area.out_area.pos_x + copy_area.out_area.pos_y / 2 * out_info.strides[1… in start_copy_task()
Dsoft_blender.cpp349 XCAM_ASSERT (in_area.pos_y % SOFT_BLENDER_ALIGNMENT_Y == 0); in start_scaler()
352 buf_info.offsets[0] + in_area.pos_x + in_area.pos_y * buf_info.strides[0]); in start_scaler()
355 buf_info.offsets[1] + in_area.pos_x + buf_info.strides[1] * in_area.pos_y / 2); in start_scaler()
514 XCAM_ASSERT (out_area.pos_y % SOFT_BLENDER_ALIGNMENT_Y == 0); in start_reconstruct_task()
517 out_info.offsets[0] + out_area.pos_x + out_area.pos_y * out_info.strides[0]); in start_reconstruct_task()
520 out_info.offsets[1] + out_area.pos_x + out_area.pos_y / 2 * out_info.strides[1]); in start_reconstruct_task()
/external/libhevc/encoder/arm/
Dihevce_hme_utils_neon.c229 S32 pos_y, in hme_get_wt_inp_8x8_neon() argument
241 pos_y = MIN(pos_y, ps_curr_layer->i4_ht - 1); in hme_get_wt_inp_8x8_neon()
247 y_count = MIN(size, (ps_curr_layer->i4_ht - pos_y)); in hme_get_wt_inp_8x8_neon()
251 pu1_src += (pos_x + (pos_y * src_stride)); in hme_get_wt_inp_8x8_neon()
389 S32 pos_y, in hme_get_wt_inp_ctb_neon() argument
403 y_count = MIN(size, (ps_curr_layer->i4_ht - pos_y)); in hme_get_wt_inp_ctb_neon()
407 pu1_src += (pos_x + (pos_y * src_stride)); in hme_get_wt_inp_ctb_neon()
681 pu1_src += (pos_x + (pos_y * src_stride)); in hme_get_wt_inp_ctb_neon()
Dihevce_had_compute_neon.c811 WORD32 pos_y = (pos_x_y_4x4 >> 16) & 0xFFFF; in ihevce_had_8x8_using_4_4x4_r_neon() local
830 assert(pos_y >= 0); in ihevce_had_8x8_using_4_4x4_r_neon()
833 pi4_4x4_hsad = ppi4_hsad[HAD_4x4] + pos_x + pos_y * num_4x4_in_row; in ihevce_had_8x8_using_4_4x4_r_neon()
834 pi4_8x8_hsad = ppi4_hsad[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); in ihevce_had_8x8_using_4_4x4_r_neon()
835 pi4_8x8_tu_split = ppi4_tu_split[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); in ihevce_had_8x8_using_4_4x4_r_neon()
837 ppi4_tu_early_cbf[HAD_8x8] + (pos_x >> 1) + (pos_y >> 1) * (num_4x4_in_row >> 1); in ihevce_had_8x8_using_4_4x4_r_neon()
1017 WORD32 pos_y = (pos_x_y_4x4 >> 16) & 0xFFFF; in ihevce_had_16x16_r_neon() local
1020 assert(pos_y >= 0); in ihevce_had_16x16_r_neon()
1023 pi4_16x16_hsad = ppi4_hsad[HAD_16x16] + (pos_x >> 2) + (pos_y >> 2) * (num_4x4_in_row >> 2); in ihevce_had_16x16_r_neon()
1026 ppi4_tu_split[HAD_16x16] + (pos_x >> 2) + (pos_y >> 2) * (num_4x4_in_row >> 2); in ihevce_had_16x16_r_neon()
[all …]
/external/libxcam/xcore/base/
Dxcam_smart_result.h34 uint32_t pos_y; member
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c45 int pos_y = sf->scale_value_y(orig_pos_y, sf); in calc_subpel_params() local
48 pos_y += SCALE_EXTRA_OFF; in calc_subpel_params()
55 pos_y = clamp(pos_y, top, bottom); in calc_subpel_params()
58 *pre = pre_buf->buf0 + (pos_y >> SCALE_SUBPEL_BITS) * pre_buf->stride + in calc_subpel_params()
61 subpel_params->subpel_y = pos_y & SCALE_SUBPEL_MASK; in calc_subpel_params()
/external/libaom/libaom/aom_dsp/
Dvariance.c324 int pos_y = sf->scale_value_y(orig_pos_y, sf); in aom_upsampled_pred_c() local
327 pos_y += SCALE_EXTRA_OFF; in aom_upsampled_pred_c()
335 pos_y = clamp(pos_y, top, bottom); in aom_upsampled_pred_c()
339 pre_buf->buf0 + (pos_y >> SCALE_SUBPEL_BITS) * pre_buf->stride + in aom_upsampled_pred_c()
344 pos_y & SCALE_SUBPEL_MASK }; in aom_upsampled_pred_c()
916 int pos_y = sf->scale_value_y(orig_pos_y, sf); in aom_highbd_upsampled_pred_c() local
919 pos_y += SCALE_EXTRA_OFF; in aom_highbd_upsampled_pred_c()
927 pos_y = clamp(pos_y, top, bottom); in aom_highbd_upsampled_pred_c()
931 pre_buf->buf0 + (pos_y >> SCALE_SUBPEL_BITS) * pre_buf->stride + in aom_highbd_upsampled_pred_c()
936 pos_y & SCALE_SUBPEL_MASK }; in aom_highbd_upsampled_pred_c()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_sse2.c527 int pos_y = sf->scale_value_y(orig_pos_y, sf); in aom_upsampled_pred_sse2() local
530 pos_y += SCALE_EXTRA_OFF; in aom_upsampled_pred_sse2()
538 pos_y = clamp(pos_y, top, bottom); in aom_upsampled_pred_sse2()
542 pre_buf->buf0 + (pos_y >> SCALE_SUBPEL_BITS) * pre_buf->stride + in aom_upsampled_pred_sse2()
547 pos_y & SCALE_SUBPEL_MASK }; in aom_upsampled_pred_sse2()
Dhighbd_variance_sse2.c658 int pos_y = sf->scale_value_y(orig_pos_y, sf); in aom_highbd_upsampled_pred_sse2() local
661 pos_y += SCALE_EXTRA_OFF; in aom_highbd_upsampled_pred_sse2()
669 pos_y = clamp(pos_y, top, bottom); in aom_highbd_upsampled_pred_sse2()
673 pre_buf->buf0 + (pos_y >> SCALE_SUBPEL_BITS) * pre_buf->stride + in aom_highbd_upsampled_pred_sse2()
677 pos_y & SCALE_SUBPEL_MASK }; in aom_highbd_upsampled_pred_sse2()
/external/freetype/src/psaux/
Dt1decode.c387 decoder->builder.pos_y = ady; in t1operator_seac()
406 decoder->builder.pos_y = 0; in t1operator_seac()
490 y = orig_y = builder->pos_y; in t1_decoder_parse_charstrings()
1230 orig_y = y = builder->pos_y; in t1_decoder_parse_charstrings()
1267 y = ADD_LONG( builder->pos_y, top[1] ); in t1_decoder_parse_charstrings()
Dcffdecode.c334 builder->pos_y = ady; in cff_operator_seac()
360 builder->pos_y = 0; in cff_operator_seac()
540 y = builder->pos_y; in cff_decoder_parse_charstrings()
1973 y = decoder->builder.pos_y; in cff_decoder_parse_charstrings()
1991 y = ADD_LONG( decoder->builder.pos_y, args[1] ); in cff_decoder_parse_charstrings()
2003 y = ADD_LONG( decoder->builder.pos_y, args[1] ); in cff_decoder_parse_charstrings()
/external/freetype/include/freetype/internal/
Dpsaux.h579 FT_Pos* pos_y; member
845 FT_Pos pos_y; member
1126 FT_Pos pos_y; member

12