/frameworks/av/media/libstagefright/omx/ |
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->cstride 544 struct android_ycbcr ycbcr; local [all...] |
/hardware/qcom/display/msm8084/libgralloc/ |
alloc_controller.cpp | 558 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) 562 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 573 ycbcr->y = (void*)hnd->base; 574 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 575 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 576 ycbcr->ystride = ystride; 577 ycbcr->cstride = cstride; 578 ycbcr->chroma_step = 2; 588 ycbcr->y = (void*)hnd->base [all...] |
gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
gr.h | 72 int getYUVPlaneInfo(private_handle_t* pHnd, struct android_ycbcr* ycbcr);
|
/hardware/qcom/display/msm8226/libgralloc/ |
alloc_controller.cpp | 555 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) 559 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 570 ycbcr->y = (void*)hnd->base; 571 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 572 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 573 ycbcr->ystride = ystride; 574 ycbcr->cstride = cstride; 575 ycbcr->chroma_step = 2; 584 ycbcr->y = (void*)hnd->base [all...] |
gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/frameworks/native/libs/gui/ |
CpuConsumer.cpp | 125 android_ycbcr ycbcr = android_ycbcr(); local 134 &ycbcr, 140 &ycbcr); 143 bufferPointer = ycbcr.y; 149 CC_LOGE("Unable to lock YCbCr buffer for CPU reading: %s (%d)", 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 [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
mapper.cpp | 249 struct android_ycbcr *ycbcr) 260 ycbcr->y = (void*)hnd->base; 261 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); 262 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); 263 ycbcr->ystride = ystride; 264 ycbcr->cstride = ystride; 265 ycbcr->chroma_step = 2; 266 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 271 ycbcr->y = (void*)hnd->base [all...] |
gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/frameworks/rs/ |
rsGrallocConsumer.cpp | 96 android_ycbcr ycbcr = android_ycbcr(); local 103 &ycbcr); 106 ALOGE("Unable to lock YCbCr buffer for CPU reading: %s (%d)", 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 [all...] |
/hardware/qcom/display/msm8974/libgralloc/ |
mapper.cpp | 250 struct android_ycbcr *ycbcr) 256 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 262 ycbcr->y = (void*)hnd->base; 263 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); 264 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); 265 ycbcr->ystride = ystride; 266 ycbcr->cstride = ystride; 267 ycbcr->chroma_step = 2; 271 ycbcr->y = (void*)hnd->base [all...] |
gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/frameworks/native/include/ui/ |
GraphicBufferMapper.h | 49 int usage, const Rect& bounds, android_ycbcr *ycbcr); 57 int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd);
|
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);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_vertex_buffers.c | 221 buffer->ycbcr[i].resource = pipe_buffer_create 228 if (!buffer->ycbcr[i].resource) 253 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); 272 buf.buffer = buffer->ycbcr[component].resource; 301 buffer->ycbcr[i].vertex_stream = pipe_buffer_map 304 buffer->ycbcr[i].resource, 306 &buffer->ycbcr[i].transfer 328 return buffer->ycbcr[component].vertex_stream; 356 pipe_buffer_unmap(pipe, buffer->ycbcr[i].transfer); 372 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL) [all...] |
vl_vertex_buffers.h | 99 } ycbcr[VL_NUM_COMPONENTS]; member in struct:vl_vertex_buffer
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_vertex_buffers.c | 221 buffer->ycbcr[i].resource = pipe_buffer_create 228 if (!buffer->ycbcr[i].resource) 253 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); 272 buf.buffer = buffer->ycbcr[component].resource; 301 buffer->ycbcr[i].vertex_stream = pipe_buffer_map 304 buffer->ycbcr[i].resource, 306 &buffer->ycbcr[i].transfer 328 return buffer->ycbcr[component].vertex_stream; 356 pipe_buffer_unmap(pipe, buffer->ycbcr[i].transfer); 372 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL) [all...] |
vl_vertex_buffers.h | 99 } ycbcr[VL_NUM_COMPONENTS]; member in struct:vl_vertex_buffer
|
/frameworks/native/libs/ui/ |
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);
|
GraphicBuffer.cpp | 185 status_t GraphicBuffer::lockYCbCr(uint32_t usage, android_ycbcr *ycbcr) 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) 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) 248 status_t res = getBufferMapper().lockAsyncYCbCr(handle, usage, rect, ycbcr, fenceFd);
|
/hardware/libhardware/include/hardware/ |
gralloc.h | 46 * Add support for flexible YCbCr format with (*lock_ycbcr)() method. 237 * difference that it fills a struct ycbcr with a description of the buffer 241 * the buffer layout cannot be represented with the ycbcr struct), it 258 struct android_ycbcr *ycbcr); 303 struct android_ycbcr *ycbcr, int fenceFd);
|
/device/generic/goldfish/opengl/system/gralloc/ |
gralloc.cpp | 785 android_ycbcr *ycbcr) 787 // Not supporting fallback module for YCbCr 792 if (!ycbcr) { 793 ALOGE("gralloc_lock_ycbcr got NULL ycbcr struct"); 860 ycbcr->y = cpu_addr + yOffset; 861 ycbcr->cb = cpu_addr + uOffset; 862 ycbcr->cr = cpu_addr + vOffset; 863 ycbcr->ystride = yStride; 864 ycbcr->cstride = cStride; 865 ycbcr->chroma_step = cStep [all...] |
/frameworks/av/media/libstagefright/include/ |
SoftVideoEncoderOMXComponent.h | 55 struct android_ycbcr *ycbcr, int32_t width, int32_t height);
|
/frameworks/base/core/jni/ |
android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 85 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) { 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 buffer, error %s (%d).", __FUNCTION__ [all...] |
/external/chromium_org/third_party/hwcplus/include/hardware/ |
gralloc.h | 46 * Add support for flexible YCbCr format with (*lock_ycbcr)() method. 230 * difference that it fills a struct ycbcr with a description of the buffer 242 struct android_ycbcr *ycbcr);
|