Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp83 static void readDataFromStream(png_structp readPtr, png_bytep data, in readDataFromStream() argument
86 reinterpret_cast<std::istream*>(png_get_io_ptr(readPtr)); in readDataFromStream()
88 png_error(readPtr, strerror(errno)); in readDataFromStream()
101 static void logWarning(png_structp readPtr, png_const_charp warningMessage) { in logWarning() argument
103 reinterpret_cast<IDiagnostics*>(png_get_error_ptr(readPtr)); in logWarning()
107 static bool readPng(IDiagnostics* diag, png_structp readPtr, png_infop infoPtr, in readPng() argument
109 if (setjmp(png_jmpbuf(readPtr))) { in readPng()
114 png_set_sig_bytes(readPtr, kPngSignatureSize); in readPng()
115 png_read_info(readPtr, infoPtr); in readPng()
118 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, in readPng()
[all …]
/frameworks/av/cmds/screenrecord/
DFrameOutput.cpp199 const uint8_t* readPtr = buf; in reduceRgbaToRgb() local
201 *buf++ = *readPtr++; in reduceRgbaToRgb()
202 *buf++ = *readPtr++; in reduceRgbaToRgb()
203 *buf++ = *readPtr++; in reduceRgbaToRgb()
204 readPtr++; in reduceRgbaToRgb()