[x265] [PATCH 1 of 8] adding monochrome i400 support
mahesh at multicorewareinc.com
mahesh at multicorewareinc.com
Mon Dec 14 20:30:07 CET 2015
# HG changeset patch
# User Mahesh Pittala <mahesh at multicorewareinc.com>
# Date 1450015985 -19800
# Sun Dec 13 19:43:05 2015 +0530
# Node ID abda2f6740e1ab967b1a5464ffd22ad48ec90897
# Parent e951ab673b1c3d41ef86bc623f20ecc768d3f5c5
adding monochrome i400 support
diff -r e951ab673b1c -r abda2f6740e1 source/common/param.cpp
--- a/source/common/param.cpp Fri Dec 11 07:33:41 2015 +0530
+++ b/source/common/param.cpp Sun Dec 13 19:43:05 2015 +0530
@@ -1082,8 +1082,8 @@
CHECK(param->sourceWidth < (int)param->maxCUSize || param->sourceHeight < (int)param->maxCUSize,
"Picture size must be at least one CTU");
- CHECK(param->internalCsp < X265_CSP_I420 || X265_CSP_I444 < param->internalCsp,
- "Color space must be i420, i422, or i444");
+ CHECK(param->internalCsp < X265_CSP_I400 || X265_CSP_I444 < param->internalCsp,
+ "Color space must be i400, i420, i422 or i444");
CHECK(param->sourceWidth & !!CHROMA_H_SHIFT(param->internalCsp),
"Picture width must be an integer multiple of the specified chroma subsampling");
CHECK(param->sourceHeight & !!CHROMA_V_SHIFT(param->internalCsp),
More information about the x265-devel
mailing list