Home
last modified time | relevance | path

Searched refs:XCAM_ALIGN_DOWN (Results 1 – 10 of 10) sorted by relevance

/external/libxcam/modules/ocl/
Dcl_utils.cpp213 …u00 = stitch_mem[stitch_info.offsets[1] + y0 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x0, 2… in interpolate_pixel_value()
214 …u01 = stitch_mem[stitch_info.offsets[1] + y1 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x0, 2… in interpolate_pixel_value()
215 …u10 = stitch_mem[stitch_info.offsets[1] + y0 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x1, 2… in interpolate_pixel_value()
216 …u11 = stitch_mem[stitch_info.offsets[1] + y1 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x1, 2… in interpolate_pixel_value()
218 …v00 = stitch_mem[stitch_info.offsets[1] + y0 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x0, 2… in interpolate_pixel_value()
219 …v01 = stitch_mem[stitch_info.offsets[1] + y1 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x0, 2… in interpolate_pixel_value()
220 …v10 = stitch_mem[stitch_info.offsets[1] + y0 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x1, 2… in interpolate_pixel_value()
221 …v11 = stitch_mem[stitch_info.offsets[1] + y1 / 2 * stitch_info.strides[1] + XCAM_ALIGN_DOWN (x1, 2… in interpolate_pixel_value()
244 …specific_view_info.offsets[1] + row / 2 * specific_view_info.strides[1] + XCAM_ALIGN_DOWN (col, 2); in map_to_specific_view()
Dcl_geo_map_handler.cpp250 uint32_t input_image_w = XCAM_ALIGN_DOWN (in_info.width, 2); in prepare_parameters()
251 uint32_t input_image_h = XCAM_ALIGN_DOWN (in_info.height, 2); in prepare_parameters()
270 cl_desc.width = XCAM_ALIGN_DOWN (out_info.width, 4) / 8; //CL_RGBA * CL_UNSIGNED_INT16 = 8 in prepare_parameters()
271 cl_desc.height = XCAM_ALIGN_DOWN (out_info.height, 2); in prepare_parameters()
Dcl_fisheye_handler.cpp236 uint32_t input_image_w = XCAM_ALIGN_DOWN (in_info.width, 2); in prepare_parameters()
237 uint32_t input_image_h = XCAM_ALIGN_DOWN (in_info.height, 2); in prepare_parameters()
261 cl_desc.width = XCAM_ALIGN_DOWN (out_info.width, 8) / 8; //CL_RGBA * CL_UNSIGNED_INT16 = 8 in prepare_parameters()
262 cl_desc.height = XCAM_ALIGN_DOWN (out_info.height, 2); in prepare_parameters()
271 cl_desc.width = XCAM_ALIGN_DOWN (out_info.width, 4) / 4; //CL_RGBA * CL_UNSIGNED_INT8 = 4 in prepare_parameters()
272 cl_desc.height = XCAM_ALIGN_DOWN (out_info.height, 2); in prepare_parameters()
Dcl_image_360_stitch.cpp580 int left_img_mid = XCAM_ALIGN_DOWN (in0_info.width / 2, XCAM_CL_BLENDER_ALIGNMENT_X); in prepare_global_scale_blender_parameters()
581 int right_img_mid = XCAM_ALIGN_DOWN (in1_info.width / 2, XCAM_CL_BLENDER_ALIGNMENT_X); in prepare_global_scale_blender_parameters()
632 int left_img_mid = XCAM_ALIGN_DOWN (in0_info.width / 2, XCAM_CL_BLENDER_ALIGNMENT_X); in prepare_local_scale_blender_parameters()
633 int right_img_mid = XCAM_ALIGN_DOWN (in1_info.width / 2, XCAM_CL_BLENDER_ALIGNMENT_X); in prepare_local_scale_blender_parameters()
634 …int cur_start_pos = XCAM_ALIGN_DOWN (out_info.width / _fisheye_num * idx, XCAM_CL_BLENDER_ALIGNMEN… in prepare_local_scale_blender_parameters()
635 …int merge_std_width = XCAM_ALIGN_DOWN (out_info.width / _fisheye_num, XCAM_CL_BLENDER_ALIGNMENT_X); in prepare_local_scale_blender_parameters()
Dcl_image_warp_handler.cpp82 cl_desc_out.width = XCAM_ALIGN_DOWN (video_info_out.width >> info_index, 8) / 8; in prepare_arguments()
Dcl_kernel.cpp90 aligned_len = XCAM_ALIGN_DOWN (len, 8); in get_string_key_id()
Dcl_pyramid_blender.cpp658 _seam_pos_valid_width = XCAM_ALIGN_DOWN (_seam_width / 2, XCAM_CL_BLENDER_ALIGNMENT_X); in init_seam_buffers()
/external/libxcam/xcore/interface/
Dstitcher.cpp396 left_img_seam.pos_x = XCAM_ALIGN_DOWN (left_img_seam.pos_x, _alignment_x); in estimate_overlap()
397 right_img_seam.pos_x = XCAM_ALIGN_DOWN (right_img_seam.pos_x, _alignment_x); in estimate_overlap()
411 left_img_seam.width = right_img_seam.width = XCAM_ALIGN_DOWN (seam_width, _alignment_x); in estimate_overlap()
420 left_img_seam.height = right_img_seam.height = XCAM_ALIGN_DOWN (bottom - top, _alignment_y); in estimate_overlap()
Dblender.cpp64 _input_valid_area[index].pos_x = XCAM_ALIGN_DOWN (_input_valid_area[index].pos_x, alignmend_x); in set_input_valid_area()
/external/libxcam/xcore/base/
Dxcam_defs.h113 #define XCAM_ALIGN_DOWN(value, align) ((value)&(~((align)-1))) macro