Searched refs:UNSIGHED_CHAR_MAX (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | format_helper.h | 26 #define UNSIGHED_CHAR_MAX 255 macro 53 return Clip(y, 0, UNSIGHED_CHAR_MAX); in RGBToY() 59 return Clip(u, 0, UNSIGHED_CHAR_MAX); in RGBToU() 65 return Clip(v, 0, UNSIGHED_CHAR_MAX); in RGBToV() 71 return Clip(r, 0, UNSIGHED_CHAR_MAX); in YuvToR() 77 return Clip(g, 0, UNSIGHED_CHAR_MAX); in YuvToG() 83 return Clip(b, 0, UNSIGHED_CHAR_MAX); in YuvToB()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 73 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyRGBA8888() 76 lut[idx] = (unsigned char)(current * UNSIGHED_CHAR_MAX); in OnApplyRGBA8888() 122 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV21() 125 lut[idx] = (unsigned char)(current * UNSIGHED_CHAR_MAX); in OnApplyYUVNV21() 182 float current = CommonUtils::Clip(1.f - (float)(i) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV12() 185 lut[i] = (unsigned char)(current * UNSIGHED_CHAR_MAX); in OnApplyYUVNV12()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 63 float current = (float)idx / UNSIGHED_CHAR_MAX; in OnApplyRGBA8888() 66 lut[idx] = (unsigned char)(current * UNSIGHED_CHAR_MAX); in OnApplyRGBA8888() 111 float current = (float)(i) / UNSIGHED_CHAR_MAX; in OnApplyYUVNV21() 114 lut[i] = (unsigned char)(current * UNSIGHED_CHAR_MAX); in OnApplyYUVNV21() 169 float current = (float)(idx) / UNSIGHED_CHAR_MAX; in OnApplyYUVNV12() 172 lut[idx] = (unsigned char)(current * UNSIGHED_CHAR_MAX); in OnApplyYUVNV12()
|
/foundation/multimedia/image_effect/frameworks/native/utils/format/ |
H A D | format_helper.cpp | 260 dstRGBA[dstIndex + A] = UNSIGHED_CHAR_MAX; in ConvertNV12ToRGBA() 291 dstRGBA[dstIndex + A] = UNSIGHED_CHAR_MAX; in ConvertNV21ToRGBA()
|
Completed in 3 milliseconds