Home
last modified time | relevance | path

Searched refs:out_info (Results 1 – 23 of 23) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-buffer.hh114 hb_glyph_info_t *out_info; member
184 hb_glyph_info_t &prev () { return out_info[out_len ? out_len - 1 : 0]; } in prev()
185 hb_glyph_info_t prev () const { return out_info[out_len ? out_len - 1 : 0]; } in prev()
187 bool has_separate_output () const { return info != out_info; } in has_separate_output()
217 if (unlikely (out_info != info || out_len != idx)) { in replace_glyph()
219 out_info[out_len] = info[idx]; in replace_glyph()
221 out_info[out_len].codepoint = glyph_index; in replace_glyph()
234 out_info[out_len] = idx < len ? info[idx] : out_info[out_len - 1]; in output_glyph()
235 out_info[out_len].codepoint = glyph_index; in output_glyph()
239 return out_info[out_len - 1]; in output_glyph()
[all …]
Dhb-buffer.cc126 bool separate_out = out_info != info; in enlarge()
151 out_info = separate_out ? (hb_glyph_info_t *) pos : info; in enlarge()
164 if (out_info == info && in make_room_for()
169 out_info = (hb_glyph_info_t *) pos; in make_room_for()
170 memcpy (out_info, info, out_len * sizeof (out_info[0])); in make_room_for()
206 out_info = info; in get_scratch_buffer()
250 out_info = info; in clear()
299 out_info = info; in remove_output()
312 out_info = info; in clear_output()
325 out_info = info; in clear_positions()
[all …]
Dhb-ot-shape-complex-thai.cc335 …_hb_glyph_info_set_general_category (&buffer->out_info[end - 2], HB_UNICODE_GENERAL_CATEGORY_NON_S… in preprocess_text_thai()
339 while (start > 0 && IS_TONE_MARK (buffer->out_info[start - 1].codepoint)) in preprocess_text_thai()
346 hb_glyph_info_t t = buffer->out_info[end - 2]; in preprocess_text_thai()
347 memmove (buffer->out_info + start + 1, in preprocess_text_thai()
348 buffer->out_info + start, in preprocess_text_thai()
349 sizeof (buffer->out_info[0]) * (end - start - 2)); in preprocess_text_thai()
350 buffer->out_info[start] = t; in preprocess_text_thai()
Dhb-ot-shape-normalize.cc442 buffer->out_info[starter].codepoint, in _hb_ot_shape_normalize()
455 buffer->out_info[starter].codepoint = composed; in _hb_ot_shape_normalize()
456 buffer->out_info[starter].glyph_index() = glyph; in _hb_ot_shape_normalize()
457 _hb_glyph_info_set_unicode_props (&buffer->out_info[starter], buffer); in _hb_ot_shape_normalize()
Dhb-ot-shape-complex-hangul.cc208 hb_glyph_info_t *info = buffer->out_info; in preprocess_text_hangul()
362 hb_glyph_info_t *info = buffer->out_info; in preprocess_text_hangul()
Dhb-ot-layout-gsubgpos.hh405 const hb_glyph_info_t &info = c->buffer->out_info[idx]; in prev()
849 const hb_glyph_info_t *out = buffer->out_info; in match_input()
/external/libxcam/xcore/
Ddrm_bo_buffer.cpp215 VideoBufferInfo out_info; in fixate_video_info() local
216 out_info.init (info.format, info.width, info.height, info.aligned_width, info.aligned_height); in fixate_video_info()
219 _swap_offsets[SwappedBuffer::SwapYOffset0] = out_info.offsets[0]; in fixate_video_info()
220 _swap_offsets[SwappedBuffer::SwapYOffset1] = out_info.size; in fixate_video_info()
221 out_info.size += out_info.strides[0] * out_info.aligned_height; in fixate_video_info()
225 _swap_offsets[SwappedBuffer::SwapUVOffset0] = out_info.offsets[1]; in fixate_video_info()
226 _swap_offsets[SwappedBuffer::SwapUVOffset1] = out_info.size; in fixate_video_info()
227 out_info.size += out_info.strides[1] * (out_info.aligned_height + 1) / 2; in fixate_video_info()
230 if(!init_swap_order (out_info)) { in fixate_video_info()
235 info = out_info; in fixate_video_info()
Dswapped_buffer.cpp89 VideoBufferInfo out_info; in swap_clone() local
92 swap_new_buffer_info (cur_info, flags, out_info), in swap_clone()
103 SmartPtr<SwappedBuffer> out = create_new_swap_buffer (out_info, data); in swap_clone()
/external/tensorflow/tensorflow/core/graph/
Dcontrol_flow.cc121 ControlFlowInfo* out_info = &(*info)[out_id]; in BuildControlFlowInfo() local
122 const Node* out_parent = out_info->parent_frame; in BuildControlFlowInfo()
147 out_info->frame = out; in BuildControlFlowInfo()
148 out_info->parent_frame = frame; in BuildControlFlowInfo()
150 GetNodeAttr(out->attrs(), "frame_name", &out_info->frame_name)); in BuildControlFlowInfo()
151 if (out_info->frame_name.empty()) { in BuildControlFlowInfo()
159 if (out_info->frame_name != frame_name) { in BuildControlFlowInfo()
165 " is in frame '", out_info->frame_name, "'."); in BuildControlFlowInfo()
168 out_info->frame = frame; in BuildControlFlowInfo()
169 out_info->parent_frame = parent; in BuildControlFlowInfo()
[all …]
/external/libxcam/modules/ocl/
Dcl_geo_map_handler.cpp248 const VideoBufferInfo &out_info = output->get_video_info (); in prepare_parameters() local
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()
272 cl_desc.row_pitch = out_info.strides[NV12PlaneYIdx]; in prepare_parameters()
273 …_output[NV12PlaneYIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12PlaneY… in prepare_parameters()
275 cl_desc.row_pitch = out_info.strides[NV12PlaneUVIdx]; in prepare_parameters()
276 …_output[NV12PlaneUVIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12Plane… in prepare_parameters()
292 uint_x = out_info.width / (float)_map_width; in prepare_parameters()
293 uint_y = out_info.height / (float)_map_height; in prepare_parameters()
Dcl_fisheye_handler.cpp234 const VideoBufferInfo &out_info = output->get_video_info (); in prepare_parameters() local
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()
263 cl_desc.row_pitch = out_info.strides[NV12PlaneYIdx]; in prepare_parameters()
264 …_output[NV12PlaneYIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12PlaneY… in prepare_parameters()
266 cl_desc.row_pitch = out_info.strides[NV12PlaneUVIdx]; in prepare_parameters()
267 …_output[NV12PlaneUVIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12Plane… 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()
273 cl_desc.row_pitch = out_info.strides[NV12PlaneYIdx]; in prepare_parameters()
[all …]
Dcl_image_360_stitch.cpp403 const VideoBufferInfo &out_info = output->get_video_info (); in calc_fisheye_initial_info() local
406 uint32_t fisheye_width_sum = out_info.width; in calc_fisheye_initial_info()
412 … _fisheye[0].height = out_info.height + _stitch_info.crop[0].top + _stitch_info.crop[0].bottom; in calc_fisheye_initial_info()
432 … _fisheye[0].height = out_info.height + _stitch_info.crop[0].top + _stitch_info.crop[0].bottom; in calc_fisheye_initial_info()
437 _fisheye[0].width = view_angle[0] / 360.0f * out_info.width; in calc_fisheye_initial_info()
441 _fisheye[1].width = view_angle[1] / 360.0f * out_info.width; in calc_fisheye_initial_info()
445 _fisheye[2].width = view_angle[2] / 360.0f * out_info.width; in calc_fisheye_initial_info()
449 _fisheye[3].width = view_angle[3] / 360.0f * out_info.width; in calc_fisheye_initial_info()
474 … _stitch_info.merge_width[i] = XCAM_ALIGN_UP((uint32_t)(20.0f / 360.0f * out_info.width), 32); in calc_fisheye_initial_info()
572 const VideoBufferInfo &out_info = output->get_video_info (); in prepare_global_scale_blender_parameters() local
[all …]
Dcl_blender.cpp130 const VideoBufferInfo &out_info = output->get_video_info (); in prepare_parameters() local
149 …e_window (get_input_valid_area(0).width, get_input_valid_area(1).width, out_info.width, merge_wind… in prepare_parameters()
154 merge_window.height = out_info.height; in prepare_parameters()
Dcl_tonemapping_handler.cpp193 const CLImageDesc out_info = image_out->get_image_desc (); in prepare_parameters() local
195 work_size.global[0] = out_info.width; in prepare_parameters()
196 work_size.global[1] = out_info.height / 4; in prepare_parameters()
Dcl_video_buffer.cpp119 VideoBufferInfo out_info; in fixate_video_info() local
120 out_info.init (info.format, info.width, info.height, info.aligned_width, info.aligned_height); in fixate_video_info()
Dcl_newtonemapping_handler.cpp365 const CLImageDesc out_info = image_out->get_image_desc (); in prepare_parameters() local
367 work_size.global[0] = out_info.width; in prepare_parameters()
368 work_size.global[1] = out_info.height / 4; in prepare_parameters()
Dcl_tnr_handler.cpp412 const CLImageDesc out_info = image_out->get_image_desc (); in prepare_parameters() local
413 work_size.global[0] = out_info.width; in prepare_parameters()
414 work_size.global[1] = out_info.height; in prepare_parameters()
Dcl_pyramid_blender.cpp319 const VideoBufferInfo &out_info = output->get_video_info (); in bind_buf_to_layer0() local
346 cl_desc.width = out_info.width / 8; in bind_buf_to_layer0()
347 cl_desc.height = out_info.height / divider_vert[i_plane]; in bind_buf_to_layer0()
348 cl_desc.row_pitch = out_info.strides[i_plane]; in bind_buf_to_layer0()
351 …this->scale_image[i_plane] = convert_to_climage (context, output, cl_desc, out_info.offsets[i_plan… in bind_buf_to_layer0()
364 convert_to_climage (context, output, cl_desc, out_info.offsets[i_plane]); in bind_buf_to_layer0()
/external/libxcam/modules/soft/
Dsoft_blender.cpp508 const VideoBufferInfo &out_info = out_buf->get_video_info (); in start_reconstruct_task() local
510 out_area.width = out_info.width; in start_reconstruct_task()
511 out_area.height = out_info.height; in start_reconstruct_task()
516 out_buf, out_area.width, out_area.height, out_info.strides[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()
519 out_buf, out_area.width / 2, out_area.height / 2, out_info.strides[1], 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()
667 VideoBufferInfo out_info; in configure_resource() local
674 out_info.init ( in configure_resource()
677 set_out_video_info (out_info); in configure_resource()
Dsoft_geo_mapper.cpp102 VideoBufferInfo out_info; in configure_resource() local
103 out_info.init ( in configure_resource()
107 set_out_video_info (out_info); in configure_resource()
Dsoft_stitcher.cpp635 const VideoBufferInfo &out_info = out_buf->get_video_info (); in start_copy_task() local
646 out_buf, copy_area.out_area.width, copy_area.out_area.height, out_info.strides[0], in start_copy_task()
647out_info.offsets[0] + copy_area.out_area.pos_x + copy_area.out_area.pos_y * out_info.strides[0]); in start_copy_task()
649 out_buf, copy_area.out_area.width / 2, copy_area.out_area.height / 2, out_info.strides[0], in start_copy_task()
650out_info.offsets[1] + copy_area.out_area.pos_x + copy_area.out_area.pos_y / 2 * out_info.strides[1… in start_copy_task()
911 VideoBufferInfo out_info; in configure_resource() local
918 out_info.init ( in configure_resource()
922 set_out_video_info (out_info); in configure_resource()
/external/libxcam/wrapper/gstreamer/
Dgstxcamfilter.cpp708 GstVideoInfo in_info, out_info; in gst_xcam_filter_set_caps() local
711 !gst_video_info_from_caps (&out_info, outcaps)) { in gst_xcam_filter_set_caps()
719 GST_VIDEO_INFO_FORMAT (&out_info) == GST_VIDEO_FORMAT_NV12, in gst_xcam_filter_set_caps()
723 xcamfilter->gst_src_video_info = out_info; in gst_xcam_filter_set_caps()
739 …GST_VIDEO_INFO_WIDTH (&out_info), GST_VIDEO_INFO_HEIGHT (&out_info), (uint32_t) xcamfilter->stitch… in gst_xcam_filter_set_caps()
741 GST_VIDEO_INFO_WIDTH (&out_info), GST_VIDEO_INFO_HEIGHT (&out_info)); in gst_xcam_filter_set_caps()
/external/libxcam/tests/
Dtest-soft-image.cpp683 VideoBufferInfo in_info, out_info; in main() local
685 out_info.init (V4L2_PIX_FMT_NV12, output_width, output_height); in main()
710 merge_window.width = out_info.width; in main()
711 merge_window.height = out_info.height; in main()