Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 25 of 116) sorted by relevance

12345

/hardware/google/gfxstream/guest/mesa/src/util/
Dblend.h41 util_blendfactor_is_inverted(enum pipe_blendfactor factor) in util_blendfactor_is_inverted() argument
44 return (factor & PIPE_BLENDFACTOR_INVERT_BIT); in util_blendfactor_is_inverted()
48 util_blendfactor_without_invert(enum pipe_blendfactor factor) in util_blendfactor_without_invert() argument
51 return (enum pipe_blendfactor)(factor & ~PIPE_BLENDFACTOR_INVERT_BIT); in util_blendfactor_without_invert()
88 util_blend_dst_alpha_to_one(enum pipe_blendfactor factor) in util_blend_dst_alpha_to_one() argument
90 switch (factor) { in util_blend_dst_alpha_to_one()
96 return factor; in util_blend_dst_alpha_to_one()
Dbitpack_helpers.h124 const float factor = (1 << fract_bits); in util_bitpack_sfixed() local
128 const float min = u_intN_min(total_bits) / factor; in util_bitpack_sfixed()
129 const float max = u_intN_max(total_bits) / factor; in util_bitpack_sfixed()
133 const int64_t int_val = llroundf(v * factor); in util_bitpack_sfixed()
145 const float factor = (1 << fract_bits); in util_bitpack_sfixed_clamp() local
148 const float min = u_intN_min(total_bits) / factor; in util_bitpack_sfixed_clamp()
149 const float max = u_intN_max(total_bits) / factor; in util_bitpack_sfixed_clamp()
151 const int64_t int_val = llroundf(CLAMP(v, min, max) * factor); in util_bitpack_sfixed_clamp()
171 const float factor = (1 << fract_bits); in util_bitpack_ufixed() local
176 const float max = u_uintN_max(total_bits) / factor; in util_bitpack_ufixed()
[all …]
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h59 inline T1 FloorToMultipleOf(const T1 &value, const T2 &factor) { in FloorToMultipleOf() argument
60 return (T1)(value & (~(factor - 1))); in FloorToMultipleOf()
64 inline T1 CeilToMultipleOf(const T1 &value, const T2 &factor) { in CeilToMultipleOf() argument
65 return (T1)((value + (factor - 1)) & (~(factor - 1))); in CeilToMultipleOf()
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dconstants.h61 inline T1 FloorToMultipleOf(const T1 &value, const T2 &factor) { in FloorToMultipleOf() argument
62 return (T1)(value & (~(factor - 1))); in FloorToMultipleOf()
66 inline T1 CeilToMultipleOf(const T1 &value, const T2 &factor) { in CeilToMultipleOf() argument
67 return (T1)((value + (factor - 1)) & (~(factor - 1))); in CeilToMultipleOf()
/hardware/qcom/display/msm8998/sdm/include/utils/
Dconstants.h61 inline T1 FloorToMultipleOf(const T1 &value, const T2 &factor) { in FloorToMultipleOf() argument
62 return (T1)(value & (~(factor - 1))); in FloorToMultipleOf()
66 inline T1 CeilToMultipleOf(const T1 &value, const T2 &factor) { in CeilToMultipleOf() argument
67 return (T1)((value + (factor - 1)) & (~(factor - 1))); in CeilToMultipleOf()
/hardware/qcom/display/msm8909/sdm/include/utils/
Dconstants.h61 inline T1 FloorToMultipleOf(const T1 &value, const T2 &factor) { in FloorToMultipleOf() argument
62 return (T1)(value & (~(factor - 1))); in FloorToMultipleOf()
66 inline T1 CeilToMultipleOf(const T1 &value, const T2 &factor) { in CeilToMultipleOf() argument
67 return (T1)((value + (factor - 1)) & (~(factor - 1))); in CeilToMultipleOf()
/hardware/qcom/sm8150/display/sdm/include/utils/
Dconstants.h65 inline T1 FloorToMultipleOf(const T1 &value, const T2 &factor) { in FloorToMultipleOf() argument
66 return (T1)(value & (~(factor - 1))); in FloorToMultipleOf()
70 inline T1 CeilToMultipleOf(const T1 &value, const T2 &factor) { in CeilToMultipleOf() argument
71 return (T1)((value + (factor - 1)) & (~(factor - 1))); in CeilToMultipleOf()
/hardware/qcom/sm7250/display/sdm/include/utils/
Dconstants.h66 inline T1 FloorToMultipleOf(const T1 &value, const T2 &factor) { in FloorToMultipleOf() argument
67 return (T1)(value & (~(factor - 1))); in FloorToMultipleOf()
71 inline T1 CeilToMultipleOf(const T1 &value, const T2 &factor) { in CeilToMultipleOf() argument
72 return (T1)((value + (factor - 1)) & (~(factor - 1))); in CeilToMultipleOf()
/hardware/interfaces/health/utils/libhealthtest/include/health-test/
DTestUtils.h69 inline AssertionResult IsValueSimilar(int32_t dividend, int32_t divisor, double factor) { in IsValueSimilar() argument
71 if (difference > factor * abs(divisor)) { in IsValueSimilar()
73 << " are not similar (factor = " << factor << ")"; in IsValueSimilar()
76 << " are similar (factor = " << factor << ")"; in IsValueSimilar()
/hardware/google/gfxstream/host/gl/
DTextureResize.cpp307 unsigned int factor = 1; in update() local
310 i++, w /= 2, h /= 2, factor *= 2) { in update()
314 if (factor == 1) { in update()
319 setupFramebuffers(factor); in update()
340 void TextureResize::setupFramebuffers(unsigned int factor) { in setupFramebuffers() argument
341 if (factor == mFactor) { in setupFramebuffers()
349 GL_TEXTURE_2D, 0, GL_RGB, mWidth / factor, mHeight, 0, GL_RGB, in setupFramebuffers()
355 GL_TEXTURE_2D, 0, GL_RGB, mWidth / factor, mHeight / factor, 0, GL_RGB, in setupFramebuffers()
361 factorDefine << "#define FACTOR " << factor << '\n'; in setupFramebuffers()
366 mFactor = factor; in setupFramebuffers()
DTextureResize.h65 void setupFramebuffers(unsigned int factor);
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/current/android/hardware/radio/network/
DBarringTypeSpecificInfo.aidl38 int factor;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/2/android/hardware/radio/network/
DBarringTypeSpecificInfo.aidl37 int factor;
/hardware/interfaces/radio/aidl/android/hardware/radio/network/
DBarringTypeSpecificInfo.aidl26 int factor;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/3/android/hardware/radio/network/
DBarringTypeSpecificInfo.aidl38 int factor;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/1/android/hardware/radio/network/
DBarringTypeSpecificInfo.aidl37 int factor;
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_s3tc_tmp.h310 GLubyte coldiffred, coldiffgreen, coldiffblue, coldiffmax, factor, ind0, ind1; in fancybasecolorsearch() local
319 if (coldiffmax > 4) factor = 2; in fancybasecolorsearch()
320 else if (coldiffmax > 2) factor = 3; in fancybasecolorsearch()
321 else factor = 4; in fancybasecolorsearch()
330 if ((testcolor[ind1][1] + factor * coldiffgreen) <= 255) in fancybasecolorsearch()
331 testcolor[ind1][1] += factor * coldiffgreen; in fancybasecolorsearch()
334 if ((testcolor[ind1][0] + factor * coldiffred) <= 255) in fancybasecolorsearch()
335 testcolor[ind1][0] += factor * coldiffred; in fancybasecolorsearch()
339 if ((testcolor[ind0][0] + factor * coldiffred) <= 255) in fancybasecolorsearch()
340 testcolor[ind0][0] += factor * coldiffred; in fancybasecolorsearch()
[all …]
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dwifi_config.h31 u16 factor);
/hardware/google/graphics/common/libhwjpeg/
Dlibhwjpeg-exynos.cpp367 void SetDownscaleFactor(unsigned int factor) { scale_factor = factor; } in SetDownscaleFactor() argument
485 void hwjpeg_set_downscale_factor(hwjpeg_decompress_ptr cinfo, unsigned int factor) { in hwjpeg_set_downscale_factor() argument
486 cinfo->scale_factor = factor; in hwjpeg_set_downscale_factor()
/hardware/google/graphics/common/libhwjpeg/include/
Dhwjpeglib-exynos.h139 void hwjpeg_set_downscale_factor(hwjpeg_decompress_ptr cinfo, unsigned int factor);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_depth_bias_control.adoc32 factor to the value of `r` when using fixed-point attachments, and a way of
83 // Depth bias as a factor of `r`, format-dependent.
85 // Depth bias as a factor of constant `r` UNORM behaviour.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_clip_space_w_scaling.adoc88 const float factor = 0.15;
89 scalings[i].xcoeff = ((i & 2) ? -1.0 : 1.0) * factor;
90 scalings[i].ycoeff = ((i & 1) ? -1.0 : 1.0) * factor;
/hardware/google/graphics/common/libacryl/include/hardware/exynos/
Dacryl.h390 int64_t factor = static_cast<int64_t>(from); in supportedResampling() local
392 factor <<= RESAMPLING_FRACTION_BITS; in supportedResampling()
393 factor /= to; in supportedResampling()
395 if (factor > (static_cast<int64_t>(downfactor) << RESAMPLING_FRACTION_BITS)) in supportedResampling()
399 if (factor < ((1 << RESAMPLING_FRACTION_BITS) / static_cast<int64_t>(upfactor))) in supportedResampling()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dframebuffer.adoc101 blending, depending on the <<framebuffer-blendfactors,blend factor>>.
196 * pname:srcColorBlendFactor selects which blend factor is used to
198 * pname:dstColorBlendFactor selects which blend factor is used to
202 * pname:srcAlphaBlendFactor selects which blend factor is used to
203 determine the source factor [eq]#S~a~#.
204 * pname:dstAlphaBlendFactor selects which blend factor is used to
205 determine the destination factor [eq]#D~a~#.
403 * pname:srcColorBlendFactor selects which blend factor is used to
405 * pname:dstColorBlendFactor selects which blend factor is used to
409 * pname:srcAlphaBlendFactor selects which blend factor is used to
[all …]
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dwificonfig.cpp188 u16 factor) in wifi_set_beacon_wifi_iface_stats_averaging_factor() argument
196 ALOGV("%s factor:%u", __FUNCTION__, factor); in wifi_set_beacon_wifi_iface_stats_averaging_factor()
232 QCA_WLAN_VENDOR_ATTR_CONFIG_STATS_AVG_FACTOR, factor)) { in wifi_set_beacon_wifi_iface_stats_averaging_factor()

12345