Home
last modified time | relevance | path

Searched refs:image_id (Results 1 – 25 of 53) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dcoco_op.cc80 std::string image_id = image_ids_[row_id]; in LoadTensorRow() local
82 auto itr = coordinate_map_.find(image_id); in LoadTensorRow()
84 RETURN_STATUS_UNEXPECTED("Invalid data, image_id: " + image_id + in LoadTensorRow()
88 std::string kImageFile = image_folder_path_ + std::string("/") + image_id; in LoadTensorRow()
115 RETURN_IF_NOT_OK(LoadDetectionTensorRow(row_id, image_id, image, coordinate, trow)); in LoadTensorRow()
117 RETURN_IF_NOT_OK(LoadSimpleTensorRow(row_id, image_id, image, coordinate, trow)); in LoadTensorRow()
119 RETURN_IF_NOT_OK(LoadMixTensorRow(row_id, image_id, image, coordinate, trow)); in LoadTensorRow()
127 Status CocoOp::LoadDetectionTensorRow(row_id_type row_id, const std::string &image_id, std::shared_… in LoadDetectionTensorRow() argument
132 auto itr_item = simple_item_map_.find(image_id); in LoadDetectionTensorRow()
134 RETURN_STATUS_UNEXPECTED("Invalid data, image_id: " + image_id + in LoadDetectionTensorRow()
[all …]
Dcoco_op.h197 …Status LoadDetectionTensorRow(row_id_type row_id, const std::string &image_id, std::shared_ptr<Ten…
207 …Status LoadSimpleTensorRow(row_id_type row_id, const std::string &image_id, std::shared_ptr<Tensor…
217 …Status LoadMixTensorRow(row_id_type row_id, const std::string &image_id, std::shared_ptr<Tensor> i…
266 const int32_t &image_id);
Dvoc_op.cc78 std::string image_id = image_ids_[row_id]; in LoadTensorRow() local
81 folder_path_ + std::string(kJPEGImagesFolder) + image_id + std::string(kImageExtension); in LoadTensorRow()
85 …folder_path_ + std::string(kSegmentationClassFolder) + image_id + std::string(kSegmentationExtensi… in LoadTensorRow()
94 folder_path_ + std::string(kAnnotationsFolder) + image_id + std::string(kAnnotationExtension); in LoadTensorRow()
105 RETURN_IF_NOT_OK(Tensor::CreateScalar(image_id, &filename)); in LoadTensorRow()
/third_party/mindspore/tests/ut/data/dataset/testCOCO/annotations/
Dinvalid.json1image_id": 391895, "bbox": [10,10,10,10], "area": 100, "id": 10000}, {"segmentation": [[20.0,22.0,…
/third_party/flutter/skia/third_party/externals/sdl/src/loadso/haiku/
DSDL_sysloadso.c37 image_id library_id = load_add_on(sofile); in SDL_LoadObject()
50 image_id library_id = (image_id) handle; in SDL_LoadFunction()
62 image_id library_id; in SDL_UnloadObject()
64 library_id = (image_id) handle; in SDL_UnloadObject()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_util.cpp64 if (compiler.has_decoration(s.image_id, spv::DecorationDescriptorSet)) in inherit_combined_sampler_bindings()
66 uint32_t set = compiler.get_decoration(s.image_id, spv::DecorationDescriptorSet); in inherit_combined_sampler_bindings()
70 if (compiler.has_decoration(s.image_id, spv::DecorationBinding)) in inherit_combined_sampler_bindings()
72 uint32_t binding = compiler.get_decoration(s.image_id, spv::DecorationBinding); in inherit_combined_sampler_bindings()
Dspirv_cross.cpp2442 VariableID image_id = param.global_image ? param.image_id : VariableID(args[param.image_id]); in end_function_scope() local
2445 auto *i = compiler.maybe_get_backing_variable(image_id); in end_function_scope()
2448 image_id = i->self; in end_function_scope()
2452 register_combined_image_sampler(caller, 0, image_id, sampler_id, param.depth); in end_function_scope()
2461 … VariableID image_id, VariableID sampler_id, in register_combined_image_sampler() argument
2468 0u, image_id, sampler_id, true, true, depth, in register_combined_image_sampler()
2472 … [image_id](const SPIRFunction::Parameter &p) { return p.id == image_id; }); in register_combined_image_sampler()
2479 param.image_id = uint32_t(texture_itr - begin(caller.arguments)); in register_combined_image_sampler()
2493 return param.image_id == p.image_id && param.sampler_id == p.sampler_id && in register_combined_image_sampler()
2503 auto &base = compiler.expression_type(image_id); in register_combined_image_sampler()
[all …]
/third_party/cef/tests/cefclient/browser/
Dimage_cache.cc144 CefRefPtr<CefImage> ImageCache::GetCachedImage(const std::string& image_id) { in GetCachedImage() argument
146 DCHECK(!image_id.empty()); in GetCachedImage()
148 ImageMap::const_iterator it = image_map_.find(image_id); in GetCachedImage()
271 CefRefPtr<CefImage> ImageCache::CreateImage(const std::string& image_id, in CreateImage() argument
289 LOG(ERROR) << "Failed to create image " << image_id << " for PNG@" in CreateImage()
296 LOG(ERROR) << "Failed to create image " << image_id << " for JPG@" in CreateImage()
Dimage_cache.h83 CefRefPtr<CefImage> GetCachedImage(const std::string& image_id);
117 static CefRefPtr<CefImage> CreateImage(const std::string& image_id,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_bindless_check_pass.h120 uint32_t GenDebugReadInit(uint32_t image_id, uint32_t index_id,
128 uint32_t image_id; member
151 uint32_t CloneOriginalImage(uint32_t image_id, InstructionBuilder* builder);
/third_party/spirv-tools/source/opt/
Dinst_bindless_check_pass.h120 uint32_t GenDebugReadInit(uint32_t image_id, uint32_t index_id,
128 uint32_t image_id; member
151 uint32_t CloneOriginalImage(uint32_t image_id, InstructionBuilder* builder);
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinst_bindless_check_pass.h120 uint32_t GenDebugReadInit(uint32_t image_id, uint32_t index_id,
128 uint32_t image_id; member
151 uint32_t CloneOriginalImage(uint32_t image_id, InstructionBuilder* builder);
Dinst_bindless_check_pass.cpp264 ref->image_id = GetImageId(ref_inst); in AnalyzeDescriptorReference()
265 if (ref->image_id == 0) return false; in AnalyzeDescriptorReference()
267 uint32_t desc_load_id = ref->image_id; in AnalyzeDescriptorReference()
728 Instruction* image_inst = get_def_use_mgr()->GetDef(ref.image_id); in GenTexBuffCheckCode()
760 builder.AddUnaryOp(GetUintId(), SpvOpImageQuerySize, ref.image_id); in GenTexBuffCheckCode()
/third_party/mesa3d/src/hgl/
DGLRendererRoster.h23 image_id image;
40 status_t AddRenderer(InstantiateRenderer entry, image_id image,
DGLRendererRoster.cpp178 image_id image, const entry_ref* ref, ino_t node) in AddRenderer()
209 image_id image = load_add_on(path.Path()); in CreateRenderer()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkallocator_libva.c202 msdk_mids[i].image.image_id = VA_INVALID_ID; in gst_msdk_frame_alloc()
237 msdk_mids[i].image.image_id = VA_INVALID_ID; in gst_msdk_frame_alloc()
293 if (mem->image.image_id != VA_INVALID_ID && in gst_msdk_frame_free()
294 vaDestroyImage (dpy, mem->image.image_id) == VA_STATUS_SUCCESS) { in gst_msdk_frame_free()
295 mem_id->image.image_id = VA_INVALID_ID; in gst_msdk_frame_free()
353 if (vaDestroyImage (dpy, mem_id->image.image_id) == VA_STATUS_SUCCESS) { in gst_msdk_frame_lock()
354 mem_id->image.image_id = VA_INVALID_ID; in gst_msdk_frame_lock()
493 va_status = vaDestroyImage (dpy, mem_id->image.image_id); in gst_msdk_frame_unlock()
496 mem_id->image.image_id = VA_INVALID_ID; in gst_msdk_frame_unlock()
734 if (msdk_mid->image.image_id != VA_INVALID_ID in gst_msdk_replace_mfx_memid()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dvasurfaceimage.c131 va_destroy_image (GstVaDisplay * display, VAImageID image_id) in va_destroy_image() argument
137 status = vaDestroyImage (dpy, image_id); in va_destroy_image()
195 image->image_id); in va_get_image()
263 status = vaPutImage (dpy, surface, image->image_id, 0, 0, image->width, in va_put_image()
279 if (image->image_id != VA_INVALID_ID) in va_ensure_image()
Dgstvasurfacecopy.c132 VAImage image = {.image_id = VA_INVALID_ID, }; in gst_va_surface_copy()
154 va_destroy_image (self->display, image.image_id); in gst_va_surface_copy()
Dvasurfaceimage.h59 VAImageID image_id);
Dgstvaallocator.c1010 mem->image.image_id = VA_INVALID_ID; in _clean_mem()
1047 VAImage image = {.image_id = VA_INVALID_ID, }; in _update_image_info()
1068 va_destroy_image (va_allocator->display, image.image_id); in _update_image_info()
1070 image.image_id = VA_INVALID_ID; /* reset it */ in _update_image_info()
1082 va_destroy_image (va_allocator->display, image.image_id); in _update_image_info()
1173 va_destroy_image (display, mem->image.image_id); in _va_map_unlocked()
1206 if (mem->image.image_id != VA_INVALID_ID) { in _va_unmap_unlocked()
1216 ret &= va_destroy_image (display, mem->image.image_id); in _va_unmap_unlocked()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_rescale_op.py38 def get_rescaled(image_id): argument
48 if num_iter == image_id:
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp111 compiler.get_decoration(combined.image_id, spv::DecorationDescriptorSet); in ShaderModule()
113 compiler.get_decoration(combined.image_id, spv::DecorationBinding); in ShaderModule()
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlmodule.c414 rc = unload_add_on((image_id) handle); in xmlModulePlatformClose()
433 rc = get_image_symbol((image_id) handle, name, B_SYMBOL_TYPE_ANY, symbol); in xmlModulePlatformSymbol()
/third_party/libxml2/
Dxmlmodule.c385 rc = unload_add_on((image_id) handle); in xmlModulePlatformClose()
404 rc = get_image_symbol((image_id) handle, name, B_SYMBOL_TYPE_ANY, symbol); in xmlModulePlatformSymbol()
/third_party/ffmpeg/libavutil/
Dhwcontext_vaapi.c642 vaDestroyImage(hwctx->display, test_image.image_id); in vaapi_frames_init()
741 vas = vaPutImage(hwctx->display, surface_id, map->image.image_id, in vaapi_unmap_frame()
750 vas = vaDestroyImage(hwctx->display, map->image.image_id); in vaapi_unmap_frame()
796 map->image.image_id = VA_INVALID_ID; in vaapi_map_frame()
843 hwfc->width, hwfc->height, map->image.image_id); in vaapi_map_frame()
887 if (map->image.image_id != VA_INVALID_ID) in vaapi_map_frame()
888 vaDestroyImage(hwctx->display, map->image.image_id); in vaapi_map_frame()
1259 vas = vaDestroyImage(hwctx->display, mapping->image.image_id); in vaapi_unmap_to_drm_abh()
1383 vaDestroyImage(hwctx->display, mapping->image.image_id); in vaapi_map_to_drm_abh()

123