Searched defs:ycbcr (Results 1 - 6 of 6) sorted by relevance
/frameworks/native/libs/gui/ |
H A D | CpuConsumer.cpp | 118 android_ycbcr ycbcr = android_ycbcr(); local 127 &ycbcr, 133 &ycbcr); 136 bufferPointer = ycbcr.y; 188 nativeBuffer->stride = (ycbcr.y != NULL) ? 189 static_cast<uint32_t>(ycbcr.ystride) : 199 nativeBuffer->dataCb = reinterpret_cast<uint8_t*>(ycbcr.cb); 200 nativeBuffer->dataCr = reinterpret_cast<uint8_t*>(ycbcr.cr); 201 nativeBuffer->chromaStride = static_cast<uint32_t>(ycbcr.cstride); 202 nativeBuffer->chromaStep = static_cast<uint32_t>(ycbcr [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 89 const Rect& bounds, android_ycbcr *ycbcr) 91 return lockAsyncYCbCr(handle, usage, bounds, ycbcr, -1); 152 uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) 160 ycbcr->y = layout.y; 161 ycbcr->cb = layout.cb; 162 ycbcr->cr = layout.cr; 163 ycbcr->ystride = static_cast<size_t>(layout.yStride); 164 ycbcr->cstride = static_cast<size_t>(layout.cStride); 165 ycbcr->chroma_step = static_cast<size_t>(layout.chromaStep); 88 lockYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr) argument 151 lockAsyncYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
|
H A D | GraphicBuffer.cpp | 242 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, android_ycbcr* ycbcr) argument 245 status_t res = lockYCbCr(inUsage, lockBounds, ycbcr); 250 android_ycbcr* ycbcr) 259 status_t res = getBufferMapper().lockYCbCr(handle, inUsage, rect, ycbcr); 297 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, android_ycbcr* ycbcr, argument 301 status_t res = lockAsyncYCbCr(inUsage, lockBounds, ycbcr, fenceFd); 306 android_ycbcr* ycbcr, int fenceFd) 316 ycbcr, fenceFd); 249 lockYCbCr(uint32_t inUsage, const Rect& rect, android_ycbcr* ycbcr) argument 305 lockAsyncYCbCr(uint32_t inUsage, const Rect& rect, android_ycbcr* ycbcr, int fenceFd) argument
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoEncoderOMXComponent.cpp | 390 struct android_ycbcr *ycbcr, int32_t width, int32_t height) { 391 const uint8_t *src = (const uint8_t *)ycbcr->y; 392 const uint8_t *srcU = (const uint8_t *)ycbcr->cb; 393 const uint8_t *srcV = (const uint8_t *)ycbcr->cr; 400 src += ycbcr->ystride; 402 if (ycbcr->cstride == ycbcr->ystride >> 1 && ycbcr->chroma_step == 1) { 407 srcU += ycbcr->cstride; 410 srcV += ycbcr 388 ConvertFlexYUVToPlanar( uint8_t *dst, size_t dstStride, size_t dstVStride, struct android_ycbcr *ycbcr, int32_t width, int32_t height) argument 597 struct android_ycbcr ycbcr; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 86 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) { argument 87 size_t cStep = ycbcr->chroma_step; 88 size_t cStride = ycbcr->cstride; 89 size_t yStride = ycbcr->ystride; 92 rgbToYuv420(rgbBuf, width, height, reinterpret_cast<uint8_t*>(ycbcr->y), 93 reinterpret_cast<uint8_t*>(ycbcr->cr), reinterpret_cast<uint8_t*>(ycbcr->cb), 292 android_ycbcr ycbcr = android_ycbcr(); local 295 err = buf->lockYCbCr(GRALLOC_USAGE_SW_WRITE_OFTEN, &ycbcr); 297 ALOGE("%s: Failed to lock ycbcr buffe [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 869 android_ycbcr ycbcr = android_ycbcr(); local 874 res = buffer->lockAsyncYCbCr(inUsage, rect, &ycbcr, fenceFd); 875 pData = ycbcr.y; 894 (ycbcr.y != NULL) ? static_cast<uint32_t>(ycbcr.ystride) : buffer->getStride(); 896 outputImage->dataCb = reinterpret_cast<uint8_t*>(ycbcr.cb); 897 outputImage->dataCr = reinterpret_cast<uint8_t*>(ycbcr.cr); 898 outputImage->chromaStride = static_cast<uint32_t>(ycbcr.cstride); 899 outputImage->chromaStep = static_cast<uint32_t>(ycbcr.chroma_step);
|
Completed in 297 milliseconds