Home
last modified time | relevance | path

Searched refs:pow (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/samples/drivers/video/capture/src/
Dcheck_test_pattern.h45 r_lin = r_lin > 0.04045 ? pow((r_lin + 0.055) / 1.055, 2.4) : r_lin / 12.92; in rgb888_to_lab()
46 g_lin = g_lin > 0.04045 ? pow((g_lin + 0.055) / 1.055, 2.4) : g_lin / 12.92; in rgb888_to_lab()
47 b_lin = b_lin > 0.04045 ? pow((b_lin + 0.055) / 1.055, 2.4) : b_lin / 12.92; in rgb888_to_lab()
56 x = x > 0.008856 ? pow(x, 1.0 / 3.0) : (7.787 * x) + (16.0 / 116.0); in rgb888_to_lab()
57 y = y > 0.008856 ? pow(y, 1.0 / 3.0) : (7.787 * y) + (16.0 / 116.0); in rgb888_to_lab()
58 z = z > 0.008856 ? pow(z, 1.0 / 3.0) : (7.787 * z) + (16.0 / 116.0); in rgb888_to_lab()
108 return sqrt(pow(lab1.L - lab2.L, 2) + pow(lab1.a - lab2.a, 2) + pow(lab1.b - lab2.b, 2)); in deltaE()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280_decoder.c73 int32_t readq = edata->reading.comp_temp * pow(2, 31 - BME280_TEMP_SHIFT); in bme280_decoder_decode()
74 int32_t convq = BME280_TEMP_CONV * pow(2, 31 - BME280_TEMP_SHIFT); in bme280_decoder_decode()
87 int32_t convq = BME280_PRESS_CONV_KPA * pow(2, 31 - BME280_PRESS_SHIFT); in bme280_decoder_decode()
/Zephyr-latest/drivers/sensor/maxim/max31865/
Dmax31865.c102 temperature = RTD_C[0] + RTD_C[1] * resistance + RTD_C[2] * pow(resistance, 2) - in calculate_temperature()
103 RTD_C[3] * pow(resistance, 3) - RTD_C[4] * pow(resistance, 4) + in calculate_temperature()
104 RTD_C[5] * pow(resistance, 5); in calculate_temperature()
/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h134 #define RING_BUF_ITEM_DECLARE_POW2(name, pow) \ argument
135 RING_BUF_ITEM_DECLARE(name, BIT(pow))
/Zephyr-latest/samples/bluetooth/central_ht/src/
Dmain.c30 static double pow(double x, double y) in pow() function
65 temperature = (double)mantissa * pow(10, exponent); in notify_func()
/Zephyr-latest/drivers/sensor/seeed/grove/
Dlight_sensor.c73 dval = 10000.0 / pow(ldr_val * 15.0, 4.0/3.0); in gls_channel_get()
/Zephyr-latest/include/zephyr/net/
Dgptp.h75 #define GPTP_POW2(exp) pow(2, exp)
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x.c38 data->channel_buf[ch]) / pow(2, 28); in fdc2x1x_raw_to_freq()
41 ((data->channel_buf[ch] / pow(2, 12 + cfg->output_gain)) + in fdc2x1x_raw_to_freq()
42 (cfg->ch_cfg[ch].offset / pow(2, 16))); in fdc2x1x_raw_to_freq()
60 pow((2 * PI * freq), 2)); in fdc2x1x_raw_to_capacitance()
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v1.py274 pkg_len = (log_desc >> 6) & int(math.pow(2, 10) - 1)
275 data_len = (log_desc >> 16) & int(math.pow(2, 12) - 1)
/Zephyr-latest/scripts/coccinelle/
Dsymbols.txt143 pow
/Zephyr-latest/scripts/build/
Dgen_isr_tables_parser_carrays.py121 if nvec > pow(2, 15):
Dgen_isr_tables_parser_local.py164 if nvec > pow(2, 15):
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dsize_calc.py430 unit_predictor = pow(2, shift)