Home
last modified time | relevance | path

Searched refs:pDesc (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/cpp/evs/sampleDriver/
DbufferCopy.cpp47 const AHardwareBuffer_Desc* pDesc = in fillNV21FromNV21() local
49 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromNV21()
50 const unsigned sizeY = strideLum * pDesc->height; in fillNV21FromNV21()
52 const unsigned sizeColor = strideColor * pDesc->height/2; in fillNV21FromNV21()
78 const AHardwareBuffer_Desc* pDesc = in fillNV21FromYUYV() local
80 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromYUYV()
81 const unsigned sizeY = strideLum * pDesc->height; in fillNV21FromYUYV()
91 for (unsigned cellRow = 0; cellRow < pDesc->height/2; cellRow++) { in fillNV21FromYUYV()
98 for (unsigned cellCol = 0; cellCol < pDesc->width/2; cellCol++) { in fillNV21FromYUYV()
124 const AHardwareBuffer_Desc* pDesc = in fillRGBAFromYUYV() local
[all …]
DGlWrapper.cpp358 AHardwareBuffer_Desc* pDesc = in updateImageTexture() local
360 pDesc->width = buffer.width; in updateImageTexture()
361 pDesc->height = buffer.height; in updateImageTexture()
362 pDesc->layers = 1; in updateImageTexture()
363 pDesc->format = buffer.format; in updateImageTexture()
364 pDesc->usage = buffer.usage; in updateImageTexture()
365 pDesc->stride = buffer.stride; in updateImageTexture()
379 const AHardwareBuffer_Desc* pDesc = in updateImageTexture() local
382 pDesc->width, in updateImageTexture()
383 pDesc->height, in updateImageTexture()
[all …]
DEvsV4lCamera.cpp490 const AHardwareBuffer_Desc* pDesc = in importExternalBuffers() local
496 pDesc->width, in importExternalBuffers()
497 pDesc->height, in importExternalBuffers()
499 pDesc->format, in importExternalBuffers()
500 pDesc->usage, in importExternalBuffers()
501 pDesc->stride, in importExternalBuffers()
763 AHardwareBuffer_Desc* pDesc = in forwardFrame() local
765 pDesc->width = mVideo.getWidth(); in forwardFrame()
766 pDesc->height = mVideo.getHeight(); in forwardFrame()
767 pDesc->layers = 1; in forwardFrame()
[all …]
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp58 const AHardwareBuffer_Desc* pDesc = in fillRGBAFromYUYV() local
60 unsigned width = pDesc->width; in fillRGBAFromYUYV()
64 unsigned dstStridePixels = pDesc->stride; in fillRGBAFromYUYV()
71 const unsigned numRows = std::min(srcHeight, pDesc->height); in fillRGBAFromYUYV()
100 const AHardwareBuffer_Desc* pDesc = in fillBufferCopy() local
105 const unsigned dstStride = pDesc->stride * bytesPerPixel; in fillBufferCopy()
109 const unsigned numRows = std::min(srcHeight, pDesc->height); in fillBufferCopy()
482 const AHardwareBuffer_Desc* pDesc = in importExternalBuffers() local
488 pDesc->width, in importExternalBuffers()
489 pDesc->height, in importExternalBuffers()
[all …]
/packages/services/Car/cpp/evs/apps/default/
DRenderBase.cpp142 const AHardwareBuffer_Desc* pDesc = in attachRenderTarget() local
145 if (pDesc->format != HAL_PIXEL_FORMAT_RGBA_8888) { in attachRenderTarget()
153 pDesc->width, in attachRenderTarget()
154 pDesc->height, in attachRenderTarget()
155 pDesc->format, in attachRenderTarget()
156 pDesc->layers, in attachRenderTarget()
158 pDesc->stride); in attachRenderTarget()
197 sWidth = pDesc->width; in attachRenderTarget()
198 sHeight = pDesc->height; in attachRenderTarget()
DFormatConvert.cpp175 AHardwareBuffer_Desc* pDesc = in convertBufferDesc() local
177 pDesc->width = src.width; in convertBufferDesc()
178 pDesc->height = src.height; in convertBufferDesc()
179 pDesc->layers = 1; in convertBufferDesc()
180 pDesc->format = src.format; in convertBufferDesc()
181 pDesc->usage = static_cast<uint64_t>(src.usage); in convertBufferDesc()
182 pDesc->stride = src.stride; in convertBufferDesc()
DStreamHandler.cpp65 AHardwareBuffer_Desc* pDesc = in StreamHandler() local
67 pDesc->width = width; in StreamHandler()
68 pDesc->height = height; in StreamHandler()
69 pDesc->layers = 1; in StreamHandler()
70 pDesc->format = format; in StreamHandler()
71 pDesc->usage = GRALLOC_USAGE_HW_TEXTURE | in StreamHandler()
74 pDesc->stride = pixelsPerLine; in StreamHandler()
DVideoTex.cpp89 const AHardwareBuffer_Desc* pDesc = in refresh() local
93 pDesc->width, in refresh()
94 pDesc->height, in refresh()
95 pDesc->format, in refresh()
98 pDesc->stride); in refresh()
/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp154 const AHardwareBuffer_Desc* pDesc = in deliverFrame() local
156 frame_1_0.width = pDesc->width; in deliverFrame()
157 frame_1_0.height = pDesc->height; in deliverFrame()
158 frame_1_0.format = pDesc->format; in deliverFrame()
159 frame_1_0.usage = pDesc->usage; in deliverFrame()
160 frame_1_0.stride = pDesc->stride; in deliverFrame()