Lines Matching refs:pSrcDesc
269 const HardwareBufferDescription* pSrcDesc = in copyBufferContents() local
275 const unsigned width = std::min(pTgtDesc->width, pSrcDesc->width); in copyBufferContents()
276 const unsigned height = std::min(pTgtDesc->height, pSrcDesc->height); in copyBufferContents()
288 source, android::GraphicBuffer::CLONE_HANDLE, pSrcDesc->width, pSrcDesc->height, in copyBufferContents()
289 static_cast<android::PixelFormat>(pSrcDesc->format), pSrcDesc->layers, in copyBufferContents()
290 static_cast<uint64_t>(pSrcDesc->usage), pSrcDesc->stride); in copyBufferContents()
303 if (static_cast<android_pixel_format_t>(pSrcDesc->format) == in copyBufferContents()
306 } else if (static_cast<android_pixel_format_t>(pSrcDesc->format) == in copyBufferContents()
309 } else if (static_cast<android_pixel_format_t>(pSrcDesc->format) == in copyBufferContents()
311 Utils::copyYUYVtoRGB32(width, height, srcPixels, pSrcDesc->stride, tgtPixels, in copyBufferContents()
313 } else if (pSrcDesc->format == pTgtDesc->format) { // 32bit RGBA in copyBufferContents()
314 Utils::copyMatchedInterleavedFormats(width, height, srcPixels, pSrcDesc->stride, in copyBufferContents()
323 if (static_cast<android_pixel_format_t>(pSrcDesc->format) == in copyBufferContents()
326 } else if (static_cast<android_pixel_format_t>(pSrcDesc->format) == in copyBufferContents()
329 } else if (static_cast<android_pixel_format_t>(pSrcDesc->format) == in copyBufferContents()
331 Utils::copyYUYVtoBGR32(width, height, srcPixels, pSrcDesc->stride, tgtPixels, in copyBufferContents()
333 } else if (pSrcDesc->format == pTgtDesc->format) { // 32bit RGBA in copyBufferContents()
334 Utils::copyMatchedInterleavedFormats(width, height, srcPixels, pSrcDesc->stride, in copyBufferContents()