Searched refs:pv_min (Results 1 – 3 of 3) sorted by relevance
/external/opencore/codecs_v2/utilities/colorconvert/src/ |
D | ccrgb24toyuv420.cpp | 91 #define pv_min(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()
|
D | ccrgb16toyuv420.cpp | 90 #define pv_min(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()
|
D | ccrgb12toyuv420.cpp | 90 #define pv_min(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()
|