Searched refs:map_ptr (Results 1 – 5 of 5) sorted by relevance
/external/libxcam/modules/ocl/ |
D | cl_geo_map_handler.cpp | 128 float *map_ptr = NULL; in set_map_data() local 134 XCamReturn ret = _geo_map->enqueue_map ((void *&)map_ptr, 0, size); in set_map_data() 145 map_ptr [start] = data [idx].x; in set_map_data() 146 map_ptr [start + 1] = data [idx].y; in set_map_data() 149 _geo_map->enqueue_unmap ((void *&)map_ptr); in set_map_data() 203 float *map_ptr = NULL; in normalize_geo_map() local 210 ret = _geo_map->enqueue_map ((void *&)map_ptr, 0, size); in normalize_geo_map() 217 map_ptr [idx] /= image_w; in normalize_geo_map() 218 map_ptr [idx + 1] /= image_h; in normalize_geo_map() 221 _geo_map->enqueue_unmap ((void *&)map_ptr); in normalize_geo_map()
|
D | cl_fisheye_handler.cpp | 390 float *map_ptr = NULL; in generate_fisheye_table() local 395 …XCamReturn ret = _geo_table->enqueue_map ((void *&)map_ptr, origin, region, &row_pitch, &slice_pit… in generate_fisheye_table() 400 … map_ptr[row * row_pitch / 4 + col * 4] = map_table[row * table_width + col].x / fisheye_width; in generate_fisheye_table() 401 …map_ptr[row * row_pitch / 4 + col * 4 + 1] = map_table[row * table_width + col].y / fisheye_height; in generate_fisheye_table() 404 _geo_table->enqueue_unmap ((void *&)map_ptr); in generate_fisheye_table()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 225 void *map_ptr; /* where it is currently mapped */ member 890 if (tdb->map_ptr) { in tdb_write() 891 memcpy(off + (char *)tdb->map_ptr, buf, len); in tdb_write() 920 if (tdb->map_ptr) { in tdb_read() 921 memcpy(buf, off + (char *)tdb->map_ptr, len); in tdb_read() 949 if (tdb->map_ptr) { in tdb_next_hash_chain() 951 if (0 != *(u32 *)(TDB_HASH_TOP(h) + (unsigned char *)tdb->map_ptr)) { in tdb_next_hash_chain() 973 if (tdb->map_ptr) { in tdb_munmap() 974 int ret = munmap(tdb->map_ptr, tdb->real_map_size); in tdb_munmap() 980 tdb->map_ptr = NULL; in tdb_munmap() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 666 LLVMValueRef map_ptr, in fetch_instanced() argument 701 map_ptr, in fetch_instanced() 724 LLVMValueRef map_ptr, in fetch_vector() argument 772 fetch_type, FALSE, map_ptr, offset, in fetch_vector() 1540 LLVMValueRef map_ptr[PIPE_MAX_ATTRIBS]; in draw_llvm_generate() local 1709 map_ptr[j] = draw_jit_dvbuffer_map(gallivm, vbuffer_ptr); in draw_llvm_generate() 1765 map_ptr[j] = LLVMBuildGEP(builder, map_ptr[j], &buf_offset, 1, ""); in draw_llvm_generate() 1766 LLVMBuildStore(builder, map_ptr[j], temp_ptr); in draw_llvm_generate() 1769 map_ptr[j] = LLVMBuildLoad(builder, temp_ptr, "map_ptr"); in draw_llvm_generate() 1871 vb_stride[j], map_ptr[j], in draw_llvm_generate() [all …]
|
/external/v8/samples/ |
D | process.cc | 368 Local<External> map_ptr = External::New(GetIsolate(), obj); in WrapMap() local 371 result->SetInternalField(0, map_ptr); in WrapMap()
|