Home
last modified time | relevance | path

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

/packages/services/Car/evs/app/
DRenderPixelCopy.cpp82 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()
[all …]
/packages/apps/Messaging/jni/
DGifTranscoder.cpp144 std::vector<GifByteType> srcBuffer(gifIn->SWidth * gifIn->SHeight); in resizeBoxFilter() local
200 srcBuffer.resize(gifIn->Image.Width * gifIn->Image.Height); in resizeBoxFilter()
201 if (readImage(gifIn, srcBuffer.data()) == false) { in resizeBoxFilter()
208 srcBuffer.data(), in resizeBoxFilter()