Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dformat_rgb9e5.h61 int rm, gm, bm, exp_shared; in float3_to_rgb9e5() local
91 bm = (int) (bc.f * revdenom.f); in float3_to_rgb9e5()
94 bm = (bm & 1) + (bm >> 1); in float3_to_rgb9e5()
98 assert(bm <= MAX_RGB9E5_MANTISSA); in float3_to_rgb9e5()
101 assert(bm >= 0); in float3_to_rgb9e5()
103 return (exp_shared << 27) | (bm << 18) | (gm << 9) | rm; in float3_to_rgb9e5()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_compress_symbolic.cpp80 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in realign_weights_undecimated() local
81 unsigned int weight_quant_level = bm.quant_mode; in realign_weights_undecimated()
84 unsigned int max_plane = bm.is_dual_plane; in realign_weights_undecimated()
85 int plane2_component = bm.is_dual_plane ? scb.plane2_component : -1; in realign_weights_undecimated()
200 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in realign_weights_decimated() local
201 unsigned int weight_quant_level = bm.quant_mode; in realign_weights_decimated()
205 const decimation_info& di = bsd.get_decimation_info(bm.decimation_mode); in realign_weights_decimated()
209 unsigned int max_plane = bm.is_dual_plane; in realign_weights_decimated()
210 int plane2_component = bm.is_dual_plane ? scb.plane2_component : -1; in realign_weights_decimated()
449 const block_mode& bm = bsd.block_modes[i]; in compress_symbolic_block_for_partition_1plane() local
[all …]
Dastcenc_symbolic_physical.cpp150 const auto& bm = bsd.get_block_mode(scb.block_mode); in symbolic_to_physical() local
151 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in symbolic_to_physical()
153 quant_method weight_quant_method = bm.get_weight_quant_mode(); in symbolic_to_physical()
155 int is_dual_plane = bm.is_dual_plane; in symbolic_to_physical()
368 const auto& bm = bsd.get_block_mode(block_mode); in physical_to_symbolic() local
369 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in physical_to_symbolic()
372 quant_method weight_quant_method = static_cast<quant_method>(bm.quant_mode); in physical_to_symbolic()
373 int is_dual_plane = bm.is_dual_plane; in physical_to_symbolic()
Dastcenc_weight_align.cpp385 const block_mode& bm = bsd.block_modes[i]; in compute_angular_endpoints_1plane() local
386 assert(!bm.is_dual_plane); in compute_angular_endpoints_1plane()
388 unsigned int quant_mode = bm.quant_mode; in compute_angular_endpoints_1plane()
389 unsigned int decim_mode = bm.decimation_mode; in compute_angular_endpoints_1plane()
458 const block_mode& bm = bsd.block_modes[i]; in compute_angular_endpoints_2planes() local
459 unsigned int quant_mode = bm.quant_mode; in compute_angular_endpoints_2planes()
460 unsigned int decim_mode = bm.decimation_mode; in compute_angular_endpoints_2planes()
Dastcenc_decompress_symbolic.cpp278 const auto& bm = bsd.get_block_mode(scb.block_mode); in decompress_symbolic_block() local
279 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in decompress_symbolic_block()
281 bool is_dual_plane = static_cast<bool>(bm.is_dual_plane); in decompress_symbolic_block()
345 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in compute_symbolic_block_difference_2plane() local
346 const decimation_info& di = bsd.get_decimation_info(bm.decimation_mode); in compute_symbolic_block_difference_2plane()
442 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in compute_symbolic_block_difference_1plane() local
443 const decimation_info& di = bsd.get_decimation_info(bm.decimation_mode); in compute_symbolic_block_difference_1plane()
534 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in compute_symbolic_block_difference_1plane_1partition() local
535 const decimation_info& di = bsd.get_decimation_info(bm.decimation_mode); in compute_symbolic_block_difference_1plane_1partition()
Dastcenc_block_sizes.cpp951 auto& bm = bsd.block_modes[packed_bm_idx]; in construct_block_size_descriptor_2d() local
953 bm.decimation_mode = static_cast<uint8_t>(decimation_mode); in construct_block_size_descriptor_2d()
954 bm.quant_mode = static_cast<uint8_t>(quant_mode); in construct_block_size_descriptor_2d()
955 bm.is_dual_plane = static_cast<uint8_t>(is_dual_plane); in construct_block_size_descriptor_2d()
956 bm.weight_bits = static_cast<uint8_t>(weight_bits); in construct_block_size_descriptor_2d()
957 bm.mode_index = static_cast<uint16_t>(i); in construct_block_size_descriptor_2d()
963 dm.set_ref_2_plane(bm.get_weight_quant_mode()); in construct_block_size_descriptor_2d()
967 dm.set_ref_1_plane(bm.get_weight_quant_mode()); in construct_block_size_descriptor_2d()
Dastcenc_entry.cpp1335 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in astcenc_get_block_info()
1336 const decimation_info& di = bsd.get_decimation_info(bm.decimation_mode); in astcenc_get_block_info()
1342 info->is_dual_plane_block = bm.is_dual_plane != 0; in astcenc_get_block_info()
1349 info->weight_level_count = get_quant_level(bm.get_weight_quant_mode()); in astcenc_get_block_info()
1384 unpack_weights(bsd, scb, di, bm.is_dual_plane, weight_plane1, weight_plane2); in astcenc_get_block_info()
/hardware/google/graphics/common/include/displaycolor/
Ddisplaycolor.h144 BrightnessMode bm) const = 0;
145 virtual std::optional<float> BrightnessToNits(float brightness, BrightnessMode &bm) const = 0;
146 virtual std::optional<uint32_t> NitsToDbv(BrightnessMode bm, float nits) const = 0;
147 virtual std::optional<float> DbvToNits(BrightnessMode bm, uint32_t dbv) const = 0;
344 bm == rhs.bm &&
377 BrightnessMode bm = BrightnessMode::BM_NOMINAL; member
/hardware/google/graphics/common/libhwc2.1/libdevice/
DBrightnessController.cpp69 BrightnessMode bm = getBrightnessModeForDbv(dbv); in DbvToBrightness() local
70 if (bm == BrightnessMode::BM_INVALID) { in DbvToBrightness()
74 std::optional<float> nits = DbvToNits(bm, dbv); in DbvToBrightness()
83 float brightness, BrightnessMode& bm) const { in BrightnessToNits()
84 bm = GetBrightnessMode(brightness); in BrightnessToNits()
85 if (bm == BrightnessMode::BM_MAX) { in BrightnessToNits()
88 const DisplayBrightnessRange& range = mBrightnessRanges.at(bm); in BrightnessToNits()
98 std::optional<uint32_t> BrightnessController::LinearBrightnessTable::NitsToDbv(BrightnessMode bm, in NitsToDbv() argument
100 if (mBrightnessRanges.count(bm) == 0) { in NitsToDbv()
103 const auto& range = mBrightnessRanges.at(bm); in NitsToDbv()
[all …]
DBrightnessController.h284 BrightnessMode bm) const override { in GetBrightnessRange() argument
285 if (mBrightnessRanges.count(bm) == 0) { in GetBrightnessRange()
288 return mBrightnessRanges.at(bm); in GetBrightnessRange()
290 std::optional<float> BrightnessToNits(float brightness, BrightnessMode& bm) const override;
293 std::optional<uint32_t> NitsToDbv(BrightnessMode bm, float nits) const override;
294 std::optional<float> DbvToNits(BrightnessMode bm, uint32_t dbv) const override;
/hardware/google/graphics/gs101/libhwc2.1/libcolormanager/
DColorManager.cpp285 displayScene.bm = displaycolor::BrightnessMode::BM_NOMINAL; in updateColorConversionInfo()
287 displayScene.bm = displaycolor::BrightnessMode::BM_HBM; in updateColorConversionInfo()
/hardware/qcom/audio/hal/audio_extn/
Dusb.c1061 uint32_t bm = supported_sample_rates_mask[type]; in audio_extn_usb_sup_sample_rates() local
1062 uint32_t tries = _MIN(sample_rate_size, (uint32_t)__builtin_popcount(bm)); in audio_extn_usb_sup_sample_rates()
1066 int idx = __builtin_ffs(bm) - 1; in audio_extn_usb_sup_sample_rates()
1068 bm &= ~(1<<idx); in audio_extn_usb_sup_sample_rates()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/
Dkatex.mjs10528 "\\bm": "\\boldsymbol"
10534 …\\mathcal", "\\mathfrak", "\\mathscr", "\\mathsf", "\\mathtt", // aliases, except \bm defined below
10562 names: ["\\boldsymbol", "\\bm"],
/hardware/interfaces/tv/tuner/assets/
Dtuner_frontend_input.es696 Z����^�$��A��lڢ�@� b��0���s\A0��ϸ�����m�k���(ʺ�/�<�j�M����Qm��<�y%�bm����X�xh9���P�
5587 …�2蹅��|ϱ#�)�gD�S�v�o��[ ��_>�.�k��:#g���Iv=]=~�(�b��D�x=�b�w}gkz�7����bm�'8�����!�33�\���?s…