Lines Matching refs:width
40 void OnScreenshotEnd(uint8_t* virAddr, uint32_t width, uint32_t height,
44 (format != IMAGE_PIXEL_FORMAT_ARGB8888)) || (width == 0) || (height == 0)) {
50 header.width = width;
68 uint32_t row = MAX_MALLOC_SIZE / width;
70 uint32_t size = row * width * sizeof(uint32_t);
79 WriteBlockToFile(fd, argb8888Addr, virAddr, row, width, format, stride);
83 WriteBlockToFile(fd, argb8888Addr, virAddr, height, width, format, stride);
103 uint32_t width, ImagePixelFormat format, uint32_t stride) const
109 for (uint32_t i = 0; i < width; ++i) {
113 if (memcpy_s(buffer, width * DEFAULT_COLOR_SIZE, startAddr, width * DEFAULT_COLOR_SIZE) != EOK) {
118 buffer += width;
121 uint32_t blockSize = row * width * sizeof(uint32_t);