gralloc: Set default CSC to 601_FR
As per the recommendation from the systems team set the default CSC in metadata as 601FR Change-Id: If307d3fc1612e0358cfe033117d1b6872d4d1765 CRs-fixed: 1010566
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
57c19c792f
commit
f2a6466da5
@@ -136,11 +136,6 @@ int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage,
|
||||
flags |= private_handle_t::PRIV_FLAGS_CPU_RENDERED;
|
||||
}
|
||||
|
||||
ColorSpace_t colorSpace = ITU_R_601;
|
||||
if (usage & GRALLOC_USAGE_HW_CAMERA_MASK) {
|
||||
colorSpace = ITU_R_601_FR;
|
||||
}
|
||||
|
||||
if (usage & (GRALLOC_USAGE_HW_VIDEO_ENCODER |
|
||||
GRALLOC_USAGE_HW_CAMERA_WRITE |
|
||||
GRALLOC_USAGE_HW_RENDER |
|
||||
@@ -165,6 +160,7 @@ int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage,
|
||||
hnd->offset = data.offset;
|
||||
hnd->base = (uint64_t)(data.base) + data.offset;
|
||||
hnd->gpuaddr = 0;
|
||||
ColorSpace_t colorSpace = ITU_R_601_FR;
|
||||
setMetaData(hnd, UPDATE_COLOR_SPACE, (void*) &colorSpace);
|
||||
|
||||
*pHandle = hnd;
|
||||
|
||||
Reference in New Issue
Block a user