From: Heeyong Song Date: Thu, 14 Apr 2022 10:03:34 +0000 (+0900) Subject: Add CHROMINANCE pixel format X-Git-Tag: submit/tizen/20220420.085640^2~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c0a343bb91c756aa8c994f80cc12ca5f4ac78af;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Add CHROMINANCE pixel format Change-Id: I4ec7df3e842a957007dd224ab8a78e3bcd5bd228 --- diff --git a/dali-toolkit/devel-api/utility/npatch-utilities.cpp b/dali-toolkit/devel-api/utility/npatch-utilities.cpp index 78a626806a..aead2a51d4 100644 --- a/dali-toolkit/devel-api/utility/npatch-utilities.cpp +++ b/dali-toolkit/devel-api/utility/npatch-utilities.cpp @@ -1,5 +1,5 @@ /* -* Copyright (c) 2021 Samsung Electronics Co., Ltd. +* Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -176,6 +176,8 @@ void GetRedOffsetAndMask(Dali::Pixel::Format pixelFormat, int32_t& byteOffset, i case Dali::Pixel::DEPTH_FLOAT: case Dali::Pixel::DEPTH_STENCIL: case Dali::Pixel::R11G11B10F: + case Dali::Pixel::CHROMINANCE_U: + case Dali::Pixel::CHROMINANCE_V: { DALI_LOG_ERROR("Pixel format not compatible.\n"); byteOffset = 0;