Searched refs:rowPointers (Results 1 – 4 of 4) sorted by relevance
/aosp_15_r20/packages/services/Car/cpp/evs/apps/default/src/ |
D | TexWrapper.cpp | 140 png_byte** rowPointers = (png_byte**)malloc(height * sizeof(png_byte*)); in createTextureFromPng() local 141 if (rowPointers == NULL) { in createTextureFromPng() 149 rowPointers[r] = buffer + r * stride; in createTextureFromPng() 153 png_read_image(pngControl, rowPointers); in createTextureFromPng() 174 free(rowPointers); in createTextureFromPng()
|
/aosp_15_r20/packages/services/Car/cpp/evs/support_library/ |
D | TexWrapper.cpp | 144 png_byte** rowPointers = (png_byte**)malloc(height * sizeof(png_byte*)); in createTextureFromPng() local 145 if (rowPointers == NULL) { in createTextureFromPng() 153 rowPointers[r] = buffer + r * stride; in createTextureFromPng() 157 png_read_image(pngControl, rowPointers); in createTextureFromPng() 178 free(rowPointers); in createTextureFromPng()
|
/aosp_15_r20/external/deqp/framework/qphelper/ |
H A D | qpTestLog.c | 750 static bool writeCompressedPNG(png_structp png, png_infop info, png_byte **rowPointers, int width, … in writeCompressedPNG() argument 759 png_write_image(png, rowPointers); in writeCompressedPNG() 774 png_byte **rowPointers = DE_NULL; in compressImagePNG() local 782 rowPointers = (png_byte **)deMalloc((size_t)height * sizeof(png_byte *)); in compressImagePNG() 783 if (!rowPointers) in compressImagePNG() 787 rowPointers[ndx] = (png_byte *)((const uint8_t *)data + ndx * rowStride); in compressImagePNG() 797 compressOk = writeCompressedPNG(png, info, rowPointers, width, height, in compressImagePNG() 810 deFree(rowPointers); in compressImagePNG()
|
/aosp_15_r20/external/deqp/framework/common/ |
H A D | tcuImageIO.cpp | 192 std::vector<png_bytep> rowPointers(src.getHeight()); in savePNG() local 194 rowPointers[y] = (uint8_t *)src.getDataPtr() + y * src.getRowPitch(); in savePNG() 196 png_write_image(pngPtr, &rowPointers[0]); in savePNG()
|