Lines Matching refs:srcBuffer
82 const BufferDesc& srcBuffer = mStreamHandler->getNewFrame(); in drawFrame() local
86 srcBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in drawFrame()
87 srcBuffer.width, srcBuffer.height, srcBuffer.format, 1, srcBuffer.usage, in drawFrame()
88 srcBuffer.stride); in drawFrame()
97 srcBuffer.width); in drawFrame()
99 srcBuffer.height); in drawFrame()
101 if (srcBuffer.format == HAL_PIXEL_FORMAT_YCRCB_420_SP) { // 420SP == NV21 in drawFrame()
105 } else if (srcBuffer.format == HAL_PIXEL_FORMAT_YV12) { // YUV_420P == YV12 in drawFrame()
109 } else if (srcBuffer.format == HAL_PIXEL_FORMAT_YCBCR_422_I) { // YUYV in drawFrame()
111 srcPixels, srcBuffer.stride, in drawFrame()
113 } else if (srcBuffer.format == tgtBuffer.format) { // 32bit RGBA in drawFrame()
115 srcPixels, srcBuffer.stride, in drawFrame()
120 mStreamHandler->doneWithFrame(srcBuffer); in drawFrame()