diff options
author | qctecmdr <qctecmdr@localhost> | 2020-07-29 18:29:40 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-07-29 18:29:40 -0700 |
commit | 1f045a97c1dd885cf713f73fe9ac060df18941c1 (patch) | |
tree | 405f714b0bacbffd9c16c66fa7f23aee98f216e5 | |
parent | 4064803dc475116bb327c9ec6c8340d6b0221740 (diff) | |
parent | ebb3b0d39ce304b699ed0f8493ead143fbb04b6e (diff) |
Merge "gralloc: Remove default color space in AllocateBuffer()"
-rw-r--r-- | gralloc/gr_buf_mgr.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gralloc/gr_buf_mgr.cpp b/gralloc/gr_buf_mgr.cpp index cb8c0b4c..f0b46395 100644 --- a/gralloc/gr_buf_mgr.cpp +++ b/gralloc/gr_buf_mgr.cpp @@ -988,11 +988,6 @@ Error BufferManager::AllocateBuffer(const BufferDescriptor &descriptor, buffer_h hnd->base_metadata = 0; hnd->layer_count = layer_count; - // set default csc as 709, but for video(yuv) its 601L - - ColorSpace_t colorSpace = (buffer_type == BUFFER_TYPE_VIDEO) ? ITU_R_601 : ITU_R_709; - setMetaDataAndUnmap(hnd, UPDATE_COLOR_SPACE, reinterpret_cast<void *>(&colorSpace)); - bool use_adreno_for_size = CanUseAdrenoForSize(buffer_type, usage); if (use_adreno_for_size) { setMetaDataAndUnmap(hnd, SET_GRAPHICS_METADATA, reinterpret_cast<void *>(&graphics_metadata)); |