/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoEncoderOMXComponent.cpp | 354 struct android_ycbcr *ycbcr, int32_t width, int32_t height) { 355 const uint8_t *src = (const uint8_t *)ycbcr->y; 356 const uint8_t *srcU = (const uint8_t *)ycbcr->cb; 357 const uint8_t *srcV = (const uint8_t *)ycbcr->cr; 364 src += ycbcr->ystride; 366 if (ycbcr->cstride == ycbcr->ystride >> 1 && ycbcr->chroma_step == 1) { 371 srcU += ycbcr->cstride; 374 srcV += ycbcr 352 ConvertFlexYUVToPlanar( uint8_t *dst, size_t dstStride, size_t dstVStride, struct android_ycbcr *ycbcr, int32_t width, int32_t height) argument 544 struct android_ycbcr ycbcr; local [all...] |
/frameworks/native/libs/gui/ |
H A D | CpuConsumer.cpp | 125 android_ycbcr ycbcr = android_ycbcr(); local 134 &ycbcr, 140 &ycbcr); 143 bufferPointer = ycbcr.y; 195 nativeBuffer->stride = (ycbcr.y != NULL) ? 196 ycbcr.ystride : 205 nativeBuffer->dataCb = reinterpret_cast<uint8_t*>(ycbcr.cb); 206 nativeBuffer->dataCr = reinterpret_cast<uint8_t*>(ycbcr.cr); 207 nativeBuffer->chromaStride = ycbcr.cstride; 208 nativeBuffer->chromaStep = ycbcr [all...] |
/frameworks/rs/ |
H A D | rsGrallocConsumer.cpp | 96 android_ycbcr ycbcr = android_ycbcr(); local 103 &ycbcr); 110 bufferPointer = ycbcr.y; 150 mAlloc->mHal.drvState.lod[1].mallocPtr = ycbcr.cb; 151 mAlloc->mHal.drvState.lod[2].mallocPtr = ycbcr.cr; 153 mAlloc->mHal.drvState.lod[0].stride = ycbcr.ystride; 154 mAlloc->mHal.drvState.lod[1].stride = ycbcr.cstride; 155 mAlloc->mHal.drvState.lod[2].stride = ycbcr.cstride; 158 mAlloc->mHal.drvState.yuv.step = ycbcr.chroma_step;
|
/frameworks/native/include/ui/ |
H A D | GraphicBufferMapper.h | 49 int usage, const Rect& bounds, android_ycbcr *ycbcr); 57 int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd);
|
H A D | GraphicBuffer.h | 100 status_t lockYCbCr(uint32_t usage, android_ycbcr *ycbcr); 101 status_t lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr); 105 status_t lockAsyncYCbCr(uint32_t usage, android_ycbcr *ycbcr, int fenceFd); 106 status_t lockAsyncYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr, int fenceFd);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 90 int usage, const Rect& bounds, android_ycbcr *ycbcr) 101 ycbcr); 141 int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) 150 ycbcr, fenceFd); 156 ycbcr); 89 lockYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr) argument 140 lockAsyncYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
|
H A D | GraphicBuffer.cpp | 185 status_t GraphicBuffer::lockYCbCr(uint32_t usage, android_ycbcr *ycbcr) argument 188 status_t res = lockYCbCr(usage, lockBounds, ycbcr); 193 android_ycbcr *ycbcr) 202 status_t res = getBufferMapper().lockYCbCr(handle, usage, rect, ycbcr); 232 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t usage, android_ycbcr *ycbcr, int fenceFd) argument 235 status_t res = lockAsyncYCbCr(usage, lockBounds, ycbcr, fenceFd); 239 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr, int fenceFd) argument 248 status_t res = getBufferMapper().lockAsyncYCbCr(handle, usage, rect, ycbcr, fenceFd); 192 lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr) argument
|
/frameworks/av/media/libstagefright/include/ |
H A D | SoftVideoEncoderOMXComponent.h | 55 struct android_ycbcr *ycbcr, int32_t width, int32_t height);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 85 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) { argument 86 size_t cStep = ycbcr->chroma_step; 87 size_t cStride = ycbcr->cstride; 88 size_t yStride = ycbcr->ystride; 91 rgbToYuv420(rgbBuf, width, height, reinterpret_cast<uint8_t*>(ycbcr->y), 92 reinterpret_cast<uint8_t*>(ycbcr->cr), reinterpret_cast<uint8_t*>(ycbcr->cb), 303 android_ycbcr ycbcr = android_ycbcr(); local 306 err = buf->lockYCbCr(GRALLOC_USAGE_SW_WRITE_OFTEN, &ycbcr); 308 ALOGE("%s: Failed to lock ycbcr buffe [all...] |