Home
last modified time | relevance | path

Searched refs:rowPointer (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ui_lite/frameworks/common/
H A Dimage.cpp288 static inline void FreePngBytep(png_bytep** rowPointer, uint16_t size) in FreePngBytep() argument
290 png_bytep* tmpRowPointer = *rowPointer; in FreePngBytep()
295 UIFree(*rowPointer); in FreePngBytep()
296 *rowPointer = nullptr; in FreePngBytep()
301 png_bytep* rowPointer = static_cast<png_bytep*>(UIMalloc(sizeof(png_bytep) * height)); in MallocPngBytep() local
302 if (rowPointer == nullptr) { in MallocPngBytep()
306 rowPointer[y] = static_cast<png_byte*>(UIMalloc(rowBytes)); in MallocPngBytep()
307 if (rowPointer[y] == nullptr) { in MallocPngBytep()
308 FreePngBytep(&rowPointer, y); in MallocPngBytep()
312 return rowPointer; in MallocPngBytep()
318 png_bytep* rowPointer = nullptr; SetPNGSrc() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/
H A Dimage_loader_common.h189 void VerticalFlipRow(T *rowPointer, uint32_t width, uint32_t channels) in VerticalFlipRow() argument
196 T tempPixel = rowPointer[idx]; in VerticalFlipRow()
197 rowPointer[idx] = rowPointer[ridx]; in VerticalFlipRow()
198 rowPointer[ridx] = tempPixel; in VerticalFlipRow()
/foundation/window/window_manager/snapshot/src/
H A Dsnapshot_utils.cpp259 JSAMPROW rowPointer[1]; in WriteRgb888ToJpeg() local
261 rowPointer[0] = const_cast<uint8_t *>(data + i * jpeg.image_width * RGB888_PIXEL_BYTES); in WriteRgb888ToJpeg()
262 (void)jpeg_write_scanlines(&jpeg, rowPointer, 1); in WriteRgb888ToJpeg()

Completed in 2 milliseconds