Searched refs:MapImage (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_pixelmap.cpp | 211 static uint8_t* MapImage(int32_t file, size_t size, int32_t flags); 255 uint8_t* ImageSource::MapImage(int32_t file, size_t size, int32_t flags) in MapImage() function in OHOS::Media::ImageSource 307 auto image = MapImage(file, context.size, PROT_READ | PROT_WRITE); in UnmarshalFromSharedMemory() 309 image = MapImage(file, context.size, PROT_READ); in UnmarshalFromSharedMemory() 439 … if (auto image = MapImage(*reinterpret_cast<const int32_t*>(map.GetFd()), size, PROT_READ)) { in OnClientMarshalling()
|