Home
last modified time | relevance | path

Searched refs:outRows (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DPng.cpp241 bool* hasTransparency, int* colorType, png_bytepp outRows) { in analyze_image() argument
265 png_bytep out = outRows[j]; in analyze_image()
399 png_bytep out = outRows[j]; in analyze_image()
434 png_bytepp outRows = (png_bytepp)malloc((int)info->height * sizeof(png_bytep)); in writePng() local
435 if (outRows == (png_bytepp)0) { in writePng()
440 outRows[i] = (png_bytep)malloc(2 * (int)info->width); in writePng()
441 if (outRows[i] == (png_bytep)0) { in writePng()
459 &hasTransparency, &colorType, outRows); in writePng()
568 rows = outRows; in writePng()
580 free(outRows[i]); in writePng()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp879 int *colorType, png_bytepp outRows) in analyze_image() argument
909 png_bytep out = outRows[j]; in analyze_image()
1091 png_bytep out = outRows[j]; in analyze_image()
1119 png_bytep out = outRows[j]; in analyze_image()
1153 png_bytepp outRows = (png_bytepp) malloc((int) imageInfo.height * sizeof(png_bytep)); in write_png() local
1154 if (outRows == (png_bytepp) 0) { in write_png()
1159 outRows[i] = (png_bytep) malloc(2 * (int) imageInfo.width); in write_png()
1160 if (outRows[i] == (png_bytep) 0) { in write_png()
1180 &paletteEntries, &alphaPaletteEntries, &hasTransparency, &color_type, outRows); in write_png()
1294 rows = outRows; in write_png()
[all …]