Lines Matching refs:addr
50 auto addr = static_cast<uint8_t *>(buffer->GetVirAddr());
51 if (!DoDraw(addr, buffer->GetWidth(), buffer->GetHeight(), imagePath)) {
81 auto addr = static_cast<uint8_t *>(buffer->GetVirAddr());
82 if (!DoDraw(addr, buffer->GetWidth(), buffer->GetHeight(), pixelMap)) {
112 auto addr = static_cast<uint8_t *>(buffer->GetVirAddr());
113 if (!DoDraw(addr, buffer->GetWidth(), buffer->GetHeight(), color)) {
198 bool SurfaceDraw::DoDraw(uint8_t* addr, uint32_t width, uint32_t height, const std::string& imagePath)
209 errno_t ret = memcpy_s(addr, addrSize, bitmap.GetPixels(), addrSize);
217 bool SurfaceDraw::DoDraw(uint8_t* addr, uint32_t width, uint32_t height, std::shared_ptr<Media::PixelMap> pixelMap)
239 errno_t ret = memcpy_s(addr, addrSize, bitmap.GetPixels(), addrSize);
247 bool SurfaceDraw::DoDraw(uint8_t* addr, uint32_t width, uint32_t height, uint32_t color)
258 errno_t ret = memcpy_s(addr, addrSize, bitmap.GetPixels(), addrSize);
344 auto addr = static_cast<uint8_t *>(buffer->GetVirAddr());
345 errno_t ret = memcpy_s(addr, bufferSize, bitmapAddr, bufferSize);
392 auto addr = static_cast<uint8_t *>(buffer->GetVirAddr());
409 errno_t ret = memcpy_s(addr, addrSize, fullbitmap.GetPixels(), addrSize);