/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_scale.cpp | 51 if (!scale_data.enable.scale) { in SetHWScaleData() 62 mdp_scale->enable_pxl_ext = scale_data.enable.scale; in SetHWScaleData() 105 mdp_scale_data *scale = reinterpret_cast<mdp_scale_data *>(mdp_scale); in DumpScaleData() local 106 if (scale->enable_pxl_ext) { in DumpScaleData() 107 DLOGV_IF(kTagDriverConfig, "Scale Enable = %d", scale->enable_pxl_ext); in DumpScaleData() 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() [all …]
|
D | hw_scale.h | 42 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 53 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 66 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index,
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_scale.cpp | 51 if (!scale_data.enable.scale) { in SetHWScaleData() 62 mdp_scale->enable_pxl_ext = scale_data.enable.scale; in SetHWScaleData() 105 mdp_scale_data *scale = reinterpret_cast<mdp_scale_data *>(mdp_scale); in DumpScaleData() local 106 if (scale->enable_pxl_ext) { in DumpScaleData() 107 DLOGD_IF(kTagDriverConfig, "Scale Enable = %d", scale->enable_pxl_ext); in DumpScaleData() 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() [all …]
|
D | hw_scale.h | 42 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 53 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 66 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index,
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_scale.cpp | 51 if (!scale_data.enable.scale) { in SetHWScaleData() 62 mdp_scale->enable_pxl_ext = scale_data.enable.scale; in SetHWScaleData() 105 mdp_scale_data *scale = reinterpret_cast<mdp_scale_data *>(mdp_scale); in DumpScaleData() local 106 if (scale->enable_pxl_ext) { in DumpScaleData() 107 DLOGD_IF(kTagDriverConfig, "Scale Enable = %d", scale->enable_pxl_ext); in DumpScaleData() 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() [all …]
|
D | hw_scale.h | 42 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 53 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 66 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index,
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_scale.cpp | 51 if (!scale_data.enable.scale) { in SetHWScaleData() 62 mdp_scale->enable_pxl_ext = scale_data.enable.scale; in SetHWScaleData() 105 mdp_scale_data *scale = reinterpret_cast<mdp_scale_data *>(mdp_scale); in DumpScaleData() local 106 if (scale->enable_pxl_ext) { in DumpScaleData() 107 DLOGV_IF(kTagDriverConfig, "Scale Enable = %d", scale->enable_pxl_ext); in DumpScaleData() 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() [all …]
|
D | hw_scale.h | 42 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 53 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index, 66 virtual void SetHWScaleData(const HWScaleData &scale, uint32_t index,
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_scale.cpp | 51 if (!scale_data.enable.scale) { in SetHWScaleData() 62 mdp_scale->enable_pxl_ext = scale_data.enable.scale; in SetHWScaleData() 105 mdp_scale_data *scale = reinterpret_cast<mdp_scale_data *>(mdp_scale); in DumpScaleData() local 106 if (scale->enable_pxl_ext) { in DumpScaleData() 107 DLOGV_IF(kTagDriverConfig, "Scale Enable = %d", scale->enable_pxl_ext); in DumpScaleData() 110 j, scale->init_phase_x[j], scale->phase_step_x[j], scale->init_phase_y[j], in DumpScaleData() 111 scale->phase_step_y[j], scale->num_ext_pxls_left[j], scale->num_ext_pxls_top[j], in DumpScaleData() 112 scale->num_ext_pxls_right[j], scale->num_ext_pxls_btm[j]); in DumpScaleData() 114 scale->left_ftch[j], scale->top_ftch[j], scale->right_ftch[j], scale->btm_ftch[j], in DumpScaleData() 115 scale->left_rpt[j], scale->top_rpt[j], scale->right_rpt[j], scale->btm_rpt[j], in DumpScaleData() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | format_r11g11b10f.h | 115 const float scale = 1.0 / (1 << 20); in uf11_to_f32() local 116 f32.f = scale * mantissa; in uf11_to_f32() 121 float scale, decimal; in uf11_to_f32() local 124 scale = 1.0f / (1 << -exponent); in uf11_to_f32() 126 scale = (float) (1 << exponent); in uf11_to_f32() 129 f32.f = scale * decimal; in uf11_to_f32() 197 const float scale = 1.0 / (1 << 19); in uf10_to_f32() local 198 f32.f = scale * mantissa; in uf10_to_f32() 203 float scale, decimal; in uf10_to_f32() local 206 scale = 1.0f / (1 << -exponent); in uf10_to_f32() [all …]
|
D | format_rgb9e5.h | 109 union { float f; uint32_t u; } scale; in rgb9e5_to_float3() local 112 scale.u = (exponent + 127) << 23; in rgb9e5_to_float3() 114 retval[0] = ( rgb & 0x1ff) * scale.f; in rgb9e5_to_float3() 115 retval[1] = ((rgb >> 9) & 0x1ff) * scale.f; in rgb9e5_to_float3() 116 retval[2] = ((rgb >> 18) & 0x1ff) * scale.f; in rgb9e5_to_float3()
|
D | format_srgb.h | 98 unsigned tab, bias, scale, t; in util_format_linear_float_to_srgb_8unorm() local 117 scale = tab & 0xffff; in util_format_linear_float_to_srgb_8unorm() 121 return (uint8_t) ((bias + scale*t) >> 16); in util_format_linear_float_to_srgb_8unorm()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | inv_sysfs_utils.c | 194 count = inv_sysfs_read((char*)names->scale, sizeof(str), str); in inv_read_scale() 255 float scale; in inv_read_q16() local 257 count += inv_read_scale(names, &scale); in inv_read_q16() 258 data[0] = (long)(raw[0] * (65536.f / scale)); in inv_read_q16() 259 data[1] = (long)(raw[1] * (65536.f / scale)); in inv_read_q16() 260 data[2] = (long)(raw[2] * (65536.f / scale)); in inv_read_q16() 276 static short scale, offset; in inv_read_temp_q16() local 280 count += inv_read_temp_scale(names, &scale); in inv_read_temp_q16() 285 data[0] = (long)((35 + ((float)(raw - offset) / scale)) * 65536.f); in inv_read_temp_q16()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | inv_sysfs_utils.c | 188 count = inv_sysfs_read((char*)names->scale, sizeof(str), str); in inv_read_scale() 249 float scale; in inv_read_q16() local 251 count += inv_read_scale(names, &scale); in inv_read_q16() 252 data[0] = (long)(raw[0] * (65536.f / scale)); in inv_read_q16() 253 data[1] = (long)(raw[1] * (65536.f / scale)); in inv_read_q16() 254 data[2] = (long)(raw[2] * (65536.f / scale)); in inv_read_q16() 270 static short scale, offset; in inv_read_temp_q16() local 274 count += inv_read_temp_scale(names, &scale); in inv_read_temp_q16() 279 data[0] = (long)((35 + ((float)(raw - offset) / scale)) * 65536.f); in inv_read_temp_q16()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_color_quantize.cpp | 112 float scale = 1.0f / 257.0f; in quantize_rgb() local 114 float r0 = astc::clamp255f(color0.lane<0>() * scale); in quantize_rgb() 115 float g0 = astc::clamp255f(color0.lane<1>() * scale); in quantize_rgb() 116 float b0 = astc::clamp255f(color0.lane<2>() * scale); in quantize_rgb() 118 float r1 = astc::clamp255f(color1.lane<0>() * scale); in quantize_rgb() 119 float g1 = astc::clamp255f(color1.lane<1>() * scale); in quantize_rgb() 120 float b1 = astc::clamp255f(color1.lane<2>() * scale); in quantize_rgb() 173 float scale = 1.0f / 257.0f; in quantize_rgba() local 175 float a0 = astc::clamp255f(color0.lane<3>() * scale); in quantize_rgba() 176 float a1 = astc::clamp255f(color1.lane<3>() * scale); in quantize_rgba() [all …]
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | BasicTests.cpp | 83 .scale = 0.0f, in TEST_P() 93 .scale = 0.0f, in TEST_P() 103 .scale = 0.0f, in TEST_P() 113 .scale = 0.0f, in TEST_P() 123 .scale = 0.0f, in TEST_P() 133 .scale = 0.0f, in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | BasicTests.cpp | 90 .scale = 0.0f, in TEST_P() 100 .scale = 0.0f, in TEST_P() 110 .scale = 0.0f, in TEST_P() 120 .scale = 0.0f, in TEST_P() 130 .scale = 0.0f, in TEST_P() 140 .scale = 0.0f, in TEST_P()
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_yuv.h | 66 const float scale = 255.0f; in util_format_rgb_float_to_yuv() local 68 const int _y = scale * ( (0.257f * _r) + (0.504f * _g) + (0.098f * _b)); in util_format_rgb_float_to_yuv() 69 const int _u = scale * (-(0.148f * _r) - (0.291f * _g) + (0.439f * _b)); in util_format_rgb_float_to_yuv() 70 const int _v = scale * ( (0.439f * _r) - (0.368f * _g) - (0.071f * _b)); in util_format_rgb_float_to_yuv() 88 const float scale = 1.0f / 255.0f; in util_format_yuv_to_rgb_float() local 90 *r = scale * (y_factor * _y + 1.596f * _v); in util_format_yuv_to_rgb_float() 91 *g = scale * (y_factor * _y - 0.391f * _u - 0.813f * _v); in util_format_yuv_to_rgb_float() 92 *b = scale * (y_factor * _y + 2.018f * _u ); in util_format_yuv_to_rgb_float()
|
/hardware/interfaces/audio/aidl/vts/ |
D | VtsHalHapticGeneratorTargetTest.cpp | 138 void addHapticScaleParam(int id, HapticGenerator::VibratorScale scale) { in addHapticScaleParam() argument 140 std::vector<HapticGenerator::HapticScale> hapticScales = {{.id = id, .scale = scale}}; in addHapticScaleParam() 272 for (const auto& scale : scales) { in addHapticScaleParam() local 273 expectMap.insert_or_assign(scale.id, scale.scale); in addHapticScaleParam() 301 for (const auto& scale : scales) { in checkHapticScaleParameter() local 302 auto itor = expectMap.find(scale.id); in checkHapticScaleParameter() 304 ASSERT_EQ(scale.scale, itor->second); in checkHapticScaleParameter() 305 expectMap.erase(scale.id); in checkHapticScaleParameter() 329 .id = MIN_ID, .scale = HapticGenerator::VibratorScale::MUTE}; 331 .id = MIN_ID, .scale = HapticGenerator::VibratorScale::VERY_LOW}; [all …]
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | BasicTests.cpp | 95 .scale = 0.0f, in TEST_P() 104 .scale = 0.0f, in TEST_P() 113 .scale = 0.0f, in TEST_P() 122 .scale = 0.0f, in TEST_P() 131 .scale = 0.0f, in TEST_P() 140 .scale = 0.0f, in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | BasicTests.cpp | 105 .scale = 0.0f, in TEST_P() 115 .scale = 0.0f, in TEST_P() 125 .scale = 0.0f, in TEST_P() 135 .scale = 0.0f, in TEST_P() 145 .scale = 0.0f, in TEST_P() 155 .scale = 0.0f, in TEST_P()
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_scale_drm.h | 53 void SetPlaneScaler(const HWScaleData &scale, SDEScaler *scaler); 56 void SetPlaneScalerV2(const HWScaleData &scale, sde_drm_scaler_v2 *scaler_v2);
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/ |
D | hw_scale_drm.h | 53 void SetPlaneScaler(const HWScaleData &scale, SDEScaler *scaler); 56 void SetPlaneScalerV2(const HWScaleData &scale, sde_drm_scaler_v2 *scaler_v2);
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_scale_drm.h | 53 void SetScaler(const HWScaleData &scale, SDEScaler *scaler); 56 void SetScalerV2(const HWScaleData &scale, sde_drm_scaler_v2 *scaler_v2);
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_scale_drm.h | 53 void SetScaler(const HWScaleData &scale, SDEScaler *scaler); 56 void SetScalerV2(const HWScaleData &scale, sde_drm_scaler_v2 *scaler_v2);
|