Add CHROMINANCE pixel format 37/273837/1
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 14 Apr 2022 10:03:34 +0000 (19:03 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 14 Apr 2022 10:03:34 +0000 (19:03 +0900)
Change-Id: I4ec7df3e842a957007dd224ab8a78e3bcd5bd228

dali-toolkit/devel-api/utility/npatch-utilities.cpp

index 78a6268..aead2a5 100644 (file)
@@ -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;