Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2018-05-09 05:24:58 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2018-05-09 05:24:58 +0300
commit80844fdfc04e5711bd3b1e1453c09551ee8897c7 (patch)
treed0fee4643e9f6bd6cdfdad969565325d12404ff9 /source/blender/compositor
parente0a436fcff04b81f832288b2a984782ee5074b54 (diff)
Color: Combine/Separate YCbCrA node default to rec. 709
This commit is part of T54798 Differential Revision: https://developer.blender.org/D3183
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/operations/COM_ConvertOperation.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertOperation.cpp b/source/blender/compositor/operations/COM_ConvertOperation.cpp
index 327015c1139..8e79931d6f0 100644
--- a/source/blender/compositor/operations/COM_ConvertOperation.cpp
+++ b/source/blender/compositor/operations/COM_ConvertOperation.cpp
@@ -164,15 +164,15 @@ ConvertRGBToYCCOperation::ConvertRGBToYCCOperation() : ConvertBaseOperation()
void ConvertRGBToYCCOperation::setMode(int mode)
{
switch (mode) {
- case 1:
- this->m_mode = BLI_YCC_ITU_BT709;
+ case 0:
+ this->m_mode = BLI_YCC_ITU_BT601;
break;
case 2:
this->m_mode = BLI_YCC_JFIF_0_255;
break;
- case 0:
+ case 1:
default:
- this->m_mode = BLI_YCC_ITU_BT601;
+ this->m_mode = BLI_YCC_ITU_BT709;
break;
}
}
@@ -202,15 +202,15 @@ ConvertYCCToRGBOperation::ConvertYCCToRGBOperation() : ConvertBaseOperation()
void ConvertYCCToRGBOperation::setMode(int mode)
{
switch (mode) {
- case 1:
- this->m_mode = BLI_YCC_ITU_BT709;
+ case 0:
+ this->m_mode = BLI_YCC_ITU_BT601;
break;
case 2:
this->m_mode = BLI_YCC_JFIF_0_255;
break;
- case 0:
+ case 1:
default:
- this->m_mode = BLI_YCC_ITU_BT601;
+ this->m_mode = BLI_YCC_ITU_BT709;
break;
}
}