Home
last modified time | relevance | path

Searched refs:pv_max (Results 1 – 3 of 3) sorted by relevance

/external/opencore/codecs_v2/utilities/colorconvert/src/
Dccrgb24toyuv420.cpp90 #define pv_max(a, b) ((a) >= (b) ? (a) : (b)) in Init() macro
95 iY_Table[i] = (uint8) pv_max(pv_min(255, (int32)(0.7152 * i + 16 + 0.5)), 0); in Init()
99 pTable[i] = (uint8) pv_max(pv_min(255, (int32)(0.386 * i + 128 + 0.5)), 0); in Init()
104 pTable[i] = (uint8) pv_max(pv_min(255, (int32)(0.454 * i + 128 + 0.5)), 0); in Init()
Dccrgb16toyuv420.cpp89 #define pv_max(a, b) ((a) >= (b) ? (a) : (b)) in Init() macro
94 iY_Table[i] = (uint8) pv_max(pv_min(255, (int32)(0.7152 * i + 16 + 0.5)), 0); in Init()
98 pTable[i] = (uint8) pv_max(pv_min(255, (int32)(0.386 * i + 128 + 0.5)), 0); in Init()
103 pTable[i] = (uint8) pv_max(pv_min(255, (int32)(0.454 * i + 128 + 0.5)), 0); in Init()
Dccrgb12toyuv420.cpp89 #define pv_max(a, b) ((a) >= (b) ? (a) : (b)) in Init() macro
94 iY_Table[i] = (uint8) pv_max(pv_min(255, (int32)(0.7152 * i + 16 + 0.5)), 0); in Init()
98 pTable[i] = (uint8) pv_max(pv_min(255, (int32)(0.386 * i + 128 + 0.5)), 0); in Init()
103 pTable[i] = (uint8) pv_max(pv_min(255, (int32)(0.454 * i + 128 + 0.5)), 0); in Init()