Home
last modified time | relevance | path

Searched refs:vals (Results 1 – 11 of 11) sorted by relevance

/hardware/qcom/sm8150/thermal/
Dthermal.c81 int vals, cpu_num, online; in get_cpu_usages() local
113 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, in get_cpu_usages()
120 if (vals != 5 || size == cpus) { in get_cpu_usages()
121 if (vals != 5) { in get_cpu_usages()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_color_quantize.cpp1328 float vals[4]; in quantize_hdr_rgbo() local
1329 vals[0] = color_bak.lane<0>(); in quantize_hdr_rgbo()
1330 vals[1] = color_bak.lane<1>(); in quantize_hdr_rgbo()
1331 vals[2] = color_bak.lane<2>(); in quantize_hdr_rgbo()
1332 vals[3] = color_bak.lane<3>(); in quantize_hdr_rgbo()
1339 vals[i] = astc::clamp(vals[i], 0.0f, 65020.0f); in quantize_hdr_rgbo()
1340 ivals[i] = astc::flt2int_rtn(vals[i] * (1.0f / 512.0f)); in quantize_hdr_rgbo()
1344 float rgb_errorsum = (cvals[0] - vals[0]) + (cvals[1] - vals[1]) + (cvals[2] - vals[2]); in quantize_hdr_rgbo()
1345 vals[3] += rgb_errorsum * (1.0f / 3.0f); in quantize_hdr_rgbo()
1347 vals[3] = astc::clamp(vals[3], 0.0f, 65020.0f); in quantize_hdr_rgbo()
[all …]
Dastcenc_vecmathlib_neon_4.h603 alignas(16) int vals[4]; in gatheri() local
604 vals[0] = base[idx[0]]; in gatheri()
605 vals[1] = base[idx[1]]; in gatheri()
606 vals[2] = base[idx[2]]; in gatheri()
607 vals[3] = base[idx[3]]; in gatheri()
608 return vint4(vals); in gatheri()
816 alignas(16) float vals[4]; in gatherf() local
817 vals[0] = base[idx[0]]; in gatherf()
818 vals[1] = base[idx[1]]; in gatherf()
819 vals[2] = base[idx[2]]; in gatherf()
[all …]
Dastcenc_symbolic_physical.cpp270 int vals = 2 * (scb.color_formats[i] >> 2) + 2; in symbolic_to_physical() local
271 assert(vals <= 8); in symbolic_to_physical()
272 for (int j = 0; j < vals; j++) in symbolic_to_physical()
276 valuecount_to_encode += vals; in symbolic_to_physical()
513 int vals = 2 * (color_formats[i] >> 2) + 2; in physical_to_symbolic() local
514 for (int j = 0; j < vals; j++) in physical_to_symbolic()
518 valuecount_to_decode += vals; in physical_to_symbolic()
/hardware/libhardware/modules/thermal/
Dthermal.c87 int vals, cpu_num, online; in get_cpu_usages() local
110 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, in get_cpu_usages()
117 if (vals != 5) { in get_cpu_usages()
/hardware/interfaces/automotive/evs/1.1/default/
DConfigManagerUtil.cpp119 float* ConfigManagerUtil::convertFloatArray(const char* sz, const char* vals, size_t& count, in convertFloatArray() argument
122 string value_string(vals); in convertFloatArray()
DConfigManagerUtil.h44 static float* convertFloatArray(const char* sz, const char* vals, size_t& count,
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DConfigManagerUtil.h48 static float* convertFloatArray(const char* sz, const char* vals, size_t& count,
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DConfigManagerUtil.cpp122 float* ConfigManagerUtil::convertFloatArray(const char* sz, const char* vals, size_t& count, in convertFloatArray() argument
125 std::string value_string(vals); in convertFloatArray()
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstc.comp282 void decode_ldr_for_mode(const uint[40] vals, uint start_idx, uint mode, out uvec4 c1,
284 int v0 = int(vals[start_idx + 0]);
285 int v1 = int(vals[start_idx + 1]);
286 int v2 = int(vals[start_idx + 2]);
287 int v3 = int(vals[start_idx + 3]);
288 int v4 = int(vals[start_idx + 4]);
289 int v5 = int(vals[start_idx + 5]);
290 int v6 = int(vals[start_idx + 6]);
291 int v7 = int(vals[start_idx + 7]);
/hardware/google/aemu/base/
DOptional_unittest.cpp393 Track(std::initializer_list<int*> vals) : mVal(**vals.begin()) { in TEST()