File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ float c_YUV2RGBCoeffs_420[5] =
71
71
1.5959997177f
72
72
};
73
73
74
- static __constant float CV_8U_MAX = 255.0f ;
75
- static __constant float CV_8U_HALF = 128.0f ;
76
- static __constant float BT601_BLACK_RANGE = 16.0f ;
77
- static __constant float CV_8U_SCALE = 1.0f / 255.0f ;
78
- static __constant float d1 = BT601_BLACK_RANGE / CV_8U_MAX ;
79
- static __constant float d2 = CV_8U_HALF / CV_8U_MAX ;
74
+ static const __constant float CV_8U_MAX = 255.0f ;
75
+ static const __constant float CV_8U_HALF = 128.0f ;
76
+ static const __constant float BT601_BLACK_RANGE = 16.0f ;
77
+ static const __constant float CV_8U_SCALE = 1.0f / 255.0f ;
78
+ static const __constant float d1 = BT601_BLACK_RANGE / CV_8U_MAX ;
79
+ static const __constant float d2 = CV_8U_HALF / CV_8U_MAX ;
80
80
81
81
#define NCHANNELS 3
82
82
You can’t perform that action at this time.
0 commit comments