Home
last modified time | relevance | path

Searched refs:image_index (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/image/
Dgenerate_box_proposals_op.cu.cc58 CUDA_AXIS_KERNEL_LOOP(image_index, config.virtual_thread_count.y, Y) { in GeneratePreNMSUprightBoxesKernel()
65 d_sorted_scores_keys[image_index * image_stride + ibox]; in GeneratePreNMSUprightBoxesKernel()
89 int deltas_idx = box_conv_index + image_index * image_stride; in GeneratePreNMSUprightBoxesKernel()
115 const float img_height = d_img_info_vec[5 * image_index + 0]; in GeneratePreNMSUprightBoxesKernel()
116 const float img_width = d_img_info_vec[5 * image_index + 1]; in GeneratePreNMSUprightBoxesKernel()
118 min_size * d_img_info_vec[5 * image_index + 2]; in GeneratePreNMSUprightBoxesKernel()
136 const int out_index = image_index * prenms_nboxes + ibox; in GeneratePreNMSUprightBoxesKernel()
471 for (int image_index = 0; image_index < num_images; ++image_index) { in Compute() local
478 &d_boxes[image_index * nboxes_generated * box_dim]; in Compute()
481 &d_sorted_scores[image_index * image_stride * num_anchors]; in Compute()
[all …]
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c823 x11_get_wsi_image(struct wsi_swapchain *wsi_chain, uint32_t image_index) in x11_get_wsi_image() argument
826 return &chain->images[image_index].base; in x11_get_wsi_image()
911 uint32_t *image_index, uint64_t timeout) in x11_acquire_next_image_poll_x11() argument
921 *image_index = i; in x11_acquire_next_image_poll_x11()
978 uint32_t image_index; in x11_acquire_next_image_from_queue() local
980 &image_index, timeout); in x11_acquire_next_image_from_queue()
991 assert(image_index < chain->base.image_count); in x11_acquire_next_image_from_queue()
992 xshmfence_await(chain->images[image_index].shm_fence); in x11_acquire_next_image_from_queue()
994 *image_index_out = image_index; in x11_acquire_next_image_from_queue()
1000 x11_present_to_x11_dri3(struct x11_swapchain *chain, uint32_t image_index, in x11_present_to_x11_dri3() argument
[all …]
Dwsi_common_private.h66 uint32_t image_index);
69 uint32_t *image_index);
71 uint32_t image_index,
Dwsi_common.c566 uint32_t image_index = pPresentInfo->pImageIndices[i]; in wsi_common_queue_present() local
569 if (swapchain->fences[image_index] == VK_NULL_HANDLE) { in wsi_common_queue_present()
577 &swapchain->fences[image_index]); in wsi_common_queue_present()
582 wsi->WaitForFences(device, 1, &swapchain->fences[image_index], in wsi_common_queue_present()
588 wsi->ResetFences(device, 1, &swapchain->fences[image_index]); in wsi_common_queue_present()
594 swapchain->get_wsi_image(swapchain, image_index); in wsi_common_queue_present()
641 result = wsi->QueueSubmit(queue, 1, &submit_info, swapchain->fences[image_index]); in wsi_common_queue_present()
650 result = swapchain->queue_present(swapchain, image_index, region); in wsi_common_queue_present()
655 VkDeviceMemory mem = swapchain->get_wsi_image(swapchain, image_index)->memory; in wsi_common_queue_present()
Dwsi_common_wayland.c763 uint32_t image_index) in wsi_wl_swapchain_get_wsi_image() argument
766 return &chain->images[image_index].base; in wsi_wl_swapchain_get_wsi_image()
772 uint32_t *image_index) in wsi_wl_swapchain_acquire_next_image() argument
795 *image_index = i; in wsi_wl_swapchain_acquire_next_image()
861 uint32_t image_index, in wsi_wl_swapchain_queue_present() argument
875 assert(image_index < chain->base.image_count); in wsi_wl_swapchain_queue_present()
876 wl_surface_attach(chain->surface, chain->images[image_index].buffer, 0, 0); in wsi_wl_swapchain_queue_present()
897 chain->images[image_index].busy = true; in wsi_wl_swapchain_queue_present()
Dwsi_common_display.c1112 uint32_t image_index) in wsi_display_get_wsi_image() argument
1117 return &chain->images[image_index].base; in wsi_display_get_wsi_image()
1274 uint32_t *image_index) in wsi_display_acquire_next_image() argument
1294 *image_index = i; in wsi_display_acquire_next_image()
1755 uint32_t image_index, in wsi_display_queue_present() argument
1761 struct wsi_display_image *image = &chain->images[image_index]; in wsi_display_queue_present()
1769 wsi_display_debug("present %d\n", image_index); in wsi_display_queue_present()
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dimage_classification_stage.cc173 for (int image_index = 0; image_index < image_labels->size(); in FilterDenyListedImages() local
174 image_index++) { in FilterDenyListedImages()
176 denylist_ids[denylist_index] == image_index) { in FilterDenyListedImages()
180 filtered_images.push_back((*image_labels)[image_index]); in FilterDenyListedImages()
/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_encoded_image_packer.cc25 ByteWriter<uint16_t>::WriteBigEndian(buffer + offset, header.image_index); in PackHeader()
50 header.image_index = ByteReader<uint16_t>::ReadBigEndian(buffer + offset); in UnpackHeader()
141 : image_index(picture_index), in MultiplexImage()
152 header.image_index = multiplex_image.image_index; in PackAndRelease()
253 MultiplexImage multiplex_image(header.image_index, header.component_count, in Unpack()
Dmultiplex_encoded_image_packer.h33 uint16_t image_index; member
91 uint16_t image_index; member
/external/image_io/includes/image_io/jpeg/
Djpeg_segment_info.h25 JpegSegmentInfo(size_t image_index, const DataRange& data_range, in JpegSegmentInfo() argument
27 : image_index_(image_index), data_range_(data_range), type_(type) {} in JpegSegmentInfo()
Djpeg_info.h32 JpegSegmentInfo GetSegmentInfo(size_t image_index, in GetSegmentInfo() argument
35 if (segment_info.GetImageIndex() == image_index && in GetSegmentInfo()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_wsi.h62 uint32_t *image_index);
65 uint32_t image_index);
Dlvp_descriptor_set.c82 set_layout->binding[b].stage[stage].image_index = -1; in lvp_CreateDescriptorSetLayout()
122 set_layout->binding[b].stage[s].image_index = set_layout->stage[s].image_count; in lvp_CreateDescriptorSetLayout()
Dlvp_lower_vulkan_resource.c225 value += binding->stage[shader->info.stage].image_index; in lvp_lower_pipeline_layout()
Dlvp_private.h423 int16_t image_index; member
/external/webp/tests/fuzzer/
Dfuzz_utils.h160 const size_t image_index = Extract(kNbImages - 1, data, size, bit_pos); in ExtractSourcePicture() local
161 const uint8_t* const image_data = kImagesData[image_index]; in ExtractSourcePicture()
162 pic->width = kImagesWidth[image_index]; in ExtractSourcePicture()
163 pic->height = kImagesHeight[image_index]; in ExtractSourcePicture()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c420 unsigned image_index = params->image_index; in draw_llvm_image_soa_emit_op() local
421 assert(image_index < PIPE_MAX_SHADER_IMAGES); in draw_llvm_image_soa_emit_op()
427 lp_build_const_int32(gallivm, image_index), ""); in draw_llvm_image_soa_emit_op()
439 lp_build_img_op_soa(&image->dynamic_state.static_state[image_index].image_state, in draw_llvm_image_soa_emit_op()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c472 unsigned image_index = params->image_index; in lp_llvm_image_soa_emit_op() local
473 assert(image_index < PIPE_MAX_SHADER_IMAGES); in lp_llvm_image_soa_emit_op()
479 lp_build_const_int32(gallivm, image_index), ""); in lp_llvm_image_soa_emit_op()
491 lp_build_img_op_soa(&image->dynamic_state.static_state[image_index].image_state, in lp_llvm_image_soa_emit_op()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_diagnostics.cc227 for (uint32_t image_index = 0; image_index < _dyld_image_count(); in FindDsoVersion() local
228 ++image_index) { in FindDsoVersion()
229 const string path(_dyld_get_image_name(image_index)); in FindDsoVersion()
/external/webrtc/modules/video_coding/codecs/multiplex/test/
Dmultiplex_adapter_unittest.cc266 EXPECT_EQ(0, unpacked_frame.image_index); in TEST_P()
285 EXPECT_EQ(0, unpacked_frame.image_index); in TEST_P()
309 EXPECT_EQ(i, unpacked_frame.image_index); in TEST_P()
/external/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1157 unsigned image_index) in render_swapchain_display() argument
1171 render_pass_info.framebuffer = data->framebuffers[image_index]; in render_swapchain_display()
1192 imb.image = data->images[image_index]; in render_swapchain_display()
1337 imb.image = data->images[image_index]; in render_swapchain_display()
1946 uint32_t image_index = pPresentInfo->pImageIndices[i]; in overlay_QueuePresentKHR() local
1952 image_index); in overlay_QueuePresentKHR()
1957 present_info.pImageIndices = &image_index; in overlay_QueuePresentKHR()
1970 uint32_t image_index = pPresentInfo->pImageIndices[i]; in overlay_QueuePresentKHR() local
1975 present_info.pImageIndices = &image_index; in overlay_QueuePresentKHR()
1981 image_index); in overlay_QueuePresentKHR()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c802 int image_index; in update_uniforms_shader_info() local
804 image_index = state->next_bindless_image_index; in update_uniforms_shader_info()
821 image_index = state->next_image_index; in update_uniforms_shader_info()
829 for (unsigned i = image_index; in update_uniforms_shader_info()
836 uniform->opaque[stage].index = image_index; in update_uniforms_shader_info()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c4163 … params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4165 … params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4167 params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4169 params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4171 params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4173 params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4177 params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4179 params->context_ptr, params->image_index, NULL); in lp_build_img_op_soa()
4382 switch_info->params.image_index = idx; in lp_build_image_op_array_case()
Dlp_bld_sample.h142 unsigned image_index; member
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c1888 unsigned image_index = nir_src_as_uint(instr->src[0]); in ntq_emit_image_size() local
1894 vir_uniform(c, QUNIFORM_IMAGE_WIDTH, image_index)); in ntq_emit_image_size()
1901 image_index)); in ntq_emit_image_size()
1909 image_index)); in ntq_emit_image_size()

12