Home
last modified time | relevance | path

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

/packages/services/Car/surround_view/app/
DSurroundViewServiceCallback.cpp243 AHardwareBuffer_Desc* pDesc = in convertBufferDesc() local
245 pDesc->width = src.width; in convertBufferDesc()
246 pDesc->height = src.height; in convertBufferDesc()
247 pDesc->layers = 1; in convertBufferDesc()
248 pDesc->format = src.format; in convertBufferDesc()
249 pDesc->usage = static_cast<uint64_t>(src.usage); in convertBufferDesc()
250 pDesc->stride = src.stride; in convertBufferDesc()
261 const AHardwareBuffer_Desc* pDesc = in attachRenderTarget() local
265 if (pDesc->format != HAL_PIXEL_FORMAT_RGBA_8888) { in attachRenderTarget()
274 pDesc->width, in attachRenderTarget()
[all …]
/packages/services/Car/evs/sampleDriver/
DbufferCopy.cpp74 const AHardwareBuffer_Desc* pDesc = in fillNV21FromNV21() local
76 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromNV21()
77 const unsigned sizeY = strideLum * pDesc->height; in fillNV21FromNV21()
79 const unsigned sizeColor = strideColor * pDesc->height/2; in fillNV21FromNV21()
105 const AHardwareBuffer_Desc* pDesc = in fillNV21FromYUYV() local
107 const unsigned strideLum = align<16>(pDesc->width); in fillNV21FromYUYV()
108 const unsigned sizeY = strideLum * pDesc->height; in fillNV21FromYUYV()
118 for (unsigned cellRow = 0; cellRow < pDesc->height/2; cellRow++) { in fillNV21FromYUYV()
125 for (unsigned cellCol = 0; cellCol < pDesc->width/2; cellCol++) { in fillNV21FromYUYV()
151 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.cpp486 const AHardwareBuffer_Desc* pDesc = in importExternalBuffers() local
492 pDesc->width, in importExternalBuffers()
493 pDesc->height, in importExternalBuffers()
495 pDesc->format, in importExternalBuffers()
496 pDesc->usage, in importExternalBuffers()
497 pDesc->stride, in importExternalBuffers()
735 AHardwareBuffer_Desc* pDesc = in forwardFrame() local
737 pDesc->width = mVideo.getWidth(); in forwardFrame()
738 pDesc->height = mVideo.getHeight(); in forwardFrame()
739 pDesc->layers = 1; in forwardFrame()
[all …]
/packages/services/Car/surround_view/service-impl/
DSurroundView2dSession.cpp153 AHardwareBuffer_Desc* pDesc = in copyFromBufferToPointers() local
158 buffer.buffer.nativeHandle, GraphicBuffer::CLONE_HANDLE, pDesc->width, in copyFromBufferToPointers()
159 pDesc->height, pDesc->format, pDesc->layers, in copyFromBufferToPointers()
160 GRALLOC_USAGE_HW_TEXTURE, pDesc->stride); in copyFromBufferToPointers()
170 << " width: " << pDesc->width in copyFromBufferToPointers()
171 << " height: " << pDesc->height in copyFromBufferToPointers()
172 << " format: " << pDesc->format in copyFromBufferToPointers()
173 << " stride: " << pDesc->stride; in copyFromBufferToPointers()
190 int stride = pDesc->stride; in copyFromBufferToPointers()
198 for (int i=0; i<pDesc->width; i++) in copyFromBufferToPointers()
[all …]
DSurroundView3dSession.cpp156 AHardwareBuffer_Desc* pDesc = in copyFromBufferToPointers() local
161 buffer.buffer.nativeHandle, GraphicBuffer::CLONE_HANDLE, pDesc->width, in copyFromBufferToPointers()
162 pDesc->height, pDesc->format, pDesc->layers, in copyFromBufferToPointers()
163 GRALLOC_USAGE_HW_TEXTURE, pDesc->stride); in copyFromBufferToPointers()
173 << " width: " << pDesc->width in copyFromBufferToPointers()
174 << " height: " << pDesc->height in copyFromBufferToPointers()
175 << " format: " << pDesc->format in copyFromBufferToPointers()
176 << " stride: " << pDesc->stride; in copyFromBufferToPointers()
193 int stride = pDesc->stride; in copyFromBufferToPointers()
201 for (int i = 0; i < pDesc->width; i++) in copyFromBufferToPointers()
[all …]
/packages/services/Car/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/evs/manager/1.1/
DVirtualCamera.cpp143 const AHardwareBuffer_Desc* pDesc = in deliverFrame() local
145 frame_1_0.width = pDesc->width; in deliverFrame()
146 frame_1_0.height = pDesc->height; in deliverFrame()
147 frame_1_0.format = pDesc->format; in deliverFrame()
148 frame_1_0.usage = pDesc->usage; in deliverFrame()
149 frame_1_0.stride = pDesc->stride; in deliverFrame()