Searched refs:kMaxChannelValue (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/tools/android/test/jni/ |
D | yuv2rgb.cc | 28 static const int kMaxChannelValue = 262143; variable 46 nR = MIN(kMaxChannelValue, MAX(0, nR)); in YUV2RGB() 47 nG = MIN(kMaxChannelValue, MAX(0, nG)); in YUV2RGB() 48 nB = MIN(kMaxChannelValue, MAX(0, nB)); in YUV2RGB() 178 nR = MIN(kMaxChannelValue, MAX(0, nR)); in ConvertYUV420SPToRGB565() 179 nG = MIN(kMaxChannelValue, MAX(0, nG)); in ConvertYUV420SPToRGB565() 180 nB = MIN(kMaxChannelValue, MAX(0, nB)); in ConvertYUV420SPToRGB565()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 96 static final int kMaxChannelValue = 262143; field in ImageUtils 153 r = r > kMaxChannelValue ? kMaxChannelValue : (r < 0 ? 0 : r); in YUV2RGB() 154 g = g > kMaxChannelValue ? kMaxChannelValue : (g < 0 ? 0 : g); in YUV2RGB() 155 b = b > kMaxChannelValue ? kMaxChannelValue : (b < 0 ? 0 : b); in YUV2RGB()
|