Searched refs:pow (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/samples/drivers/video/capture/src/ |
D | check_test_pattern.h | 45 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/ |
D | bme280_decoder.c | 73 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/ |
D | max31865.c | 102 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/ |
D | ring_buffer.h | 134 #define RING_BUF_ITEM_DECLARE_POW2(name, pow) \ argument 135 RING_BUF_ITEM_DECLARE(name, BIT(pow))
|
/Zephyr-latest/samples/bluetooth/central_ht/src/ |
D | main.c | 30 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/ |
D | light_sensor.c | 73 dval = 10000.0 / pow(ldr_val * 15.0, 4.0/3.0); in gls_channel_get()
|
/Zephyr-latest/include/zephyr/net/ |
D | gptp.h | 75 #define GPTP_POW2(exp) pow(2, exp)
|
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/ |
D | fdc2x1x.c | 38 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/ |
D | log_parser_v1.py | 274 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/ |
D | symbols.txt | 143 pow
|
/Zephyr-latest/scripts/build/ |
D | gen_isr_tables_parser_carrays.py | 121 if nvec > pow(2, 15):
|
D | gen_isr_tables_parser_local.py | 164 if nvec > pow(2, 15):
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | size_calc.py | 430 unit_predictor = pow(2, shift)
|