Remove clamp

This commit is contained in:
jfmcarreira committed 2016-04-28 17:42:27 +01:00
1 parent 61ffbbe1f2
commit af214bc28d
1 file changed
-2
-2
View File
@@ -35,8 +35,6 @@
namespace plaYUVer
{
#define CLAMP_RANGE(X, MIN, MAX ) X < MIN ? MIN : X > MAX ? MAX : X
#define CLAMP_YUV2RGB(X) X = X < 0 ? 0 : X > 255 ? 255 : X;
#define YUV2RGB( iY, iU, iV, iR, iG, iB ) \
iR = iY + ( ( 1436 * ( iV - 128) ) >> 10 ); \