Home
last modified time | relevance | path

Searched refs:weights (Results 1 – 25 of 45) sorted by relevance

12

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_QCOM_filter_cubic_weights.adoc18 of weights.
19 Without this extension, the weights used in cubic filtering are limited to
21 This extension adds support for 3 additional spline weights.
25 cubic weights are used in cubic filtering.
27 slink:VkBlitImageInfo2 to specify cubic weights used in a blit operation.
29 With this extension weights corresponding to the following additional
DVK_KHR_fragment_shader_barycentric.adoc44 three-component floating-point vector holding barycentric weights for
47 three-component floating-point vector holding barycentric weights for
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_symbolic_physical.cpp163 uint8_t weights[64]; in symbolic_to_physical() local
168 float uqw = static_cast<float>(scb.weights[i]); in symbolic_to_physical()
171 weights[2 * i] = qat.scramble_map[qwi]; in symbolic_to_physical()
173 uqw = static_cast<float>(scb.weights[i + WEIGHTS_PLANE2_OFFSET]); in symbolic_to_physical()
176 weights[2 * i + 1] = qat.scramble_map[qwi]; in symbolic_to_physical()
183 float uqw = static_cast<float>(scb.weights[i]); in symbolic_to_physical()
186 weights[i] = qat.scramble_map[qwi]; in symbolic_to_physical()
190 encode_ise(weight_quant_method, real_weight_count, weights, weightbuf, 0); in symbolic_to_physical()
400 scb.weights[i] = qat.unscramble_and_unquant_map[indices[2 * i]]; in physical_to_symbolic()
401 scb.weights[i + WEIGHTS_PLANE2_OFFSET] = qat.unscramble_and_unquant_map[indices[2 * i + 1]]; in physical_to_symbolic()
[all …]
Dastcenc_ideal_endpoints_and_weights.cpp40 const float* weights, in bilinear_infill_vla() argument
50 vfloat weight_val0 = gatherf(weights, weight_idx0); in bilinear_infill_vla()
51 vfloat weight_val1 = gatherf(weights, weight_idx1); in bilinear_infill_vla()
52 vfloat weight_val2 = gatherf(weights, weight_idx2); in bilinear_infill_vla()
53 vfloat weight_val3 = gatherf(weights, weight_idx3); in bilinear_infill_vla()
80 const float* weights, in bilinear_infill_vla_2() argument
88 vfloat weight_val0 = gatherf(weights, weight_idx0); in bilinear_infill_vla_2()
89 vfloat weight_val1 = gatherf(weights, weight_idx1); in bilinear_infill_vla_2()
188 ei.weights[tix] = value; in compute_ideal_colors_and_weights_1_comp()
201 ei.weights[i] = 0.0f; in compute_ideal_colors_and_weights_1_comp()
[all …]
Dastcenc_decompress_symbolic.cpp41 vint4 weights in lerp_color_int() argument
43 vint4 weight1 = weights; in lerp_color_int()
107 vint4 tab0(reinterpret_cast<const int*>(scb.weights + 0)); in unpack_weights()
108 vint4 tab1(reinterpret_cast<const int*>(scb.weights + 16)); in unpack_weights()
109 vint4 tab2(reinterpret_cast<const int*>(scb.weights + 32)); in unpack_weights()
110 vint4 tab3(reinterpret_cast<const int*>(scb.weights + 48)); in unpack_weights()
137 vint4 tab0_plane1(reinterpret_cast<const int*>(scb.weights + 0)); in unpack_weights()
138 vint4 tab1_plane1(reinterpret_cast<const int*>(scb.weights + 16)); in unpack_weights()
143 vint4 tab0_plane2(reinterpret_cast<const int*>(scb.weights + 32)); in unpack_weights()
144 vint4 tab1_plane2(reinterpret_cast<const int*>(scb.weights + 48)); in unpack_weights()
Dastcenc_compress_symbolic.cpp109 uint8_t* dec_weights_uquant = scb.weights; in realign_weights_undecimated()
235 uint8_t* dec_weights_uquant = scb.weights; in realign_weights_decimated()
538 workscb.weights[j] = u8_weight_src[j]; in compress_symbolic_block_for_partition_1plane()
544 blk, pi, di, workscb.weights, in compress_symbolic_block_for_partition_1plane()
919 workscb.weights[j] = u8_weight1_src[j]; in compress_symbolic_block_for_partition_2planes()
920 workscb.weights[j + WEIGHTS_PLANE2_OFFSET] = u8_weight2_src[j]; in compress_symbolic_block_for_partition_2planes()
927 workscb.weights, workscb.weights + WEIGHTS_PLANE2_OFFSET, in compress_symbolic_block_for_partition_2planes()
/hardware/google/graphics/zuma/libhwc2.1/libdevice/
DHistogramController.h41 .weights = {WEIGHT_SUM, 0, 0},
50 .weights = {0, WEIGHT_SUM, 0},
59 .weights = {0, 0, WEIGHT_SUM},
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstcLookupTables.glsl3 // Number of trits, quints and bits that are used to encode the weights.
68 // Array to unquantize weights encoded with the trit + bits encoding.
75 // Array to unquantize weights encoded with the quint + bits encoding.
DAstcDecompressor.glsl61 bool dualPlane; // True for dual plane blocks (a block with 2 sets of weights)
63 uint numWeights; // Number of weights
64 uvec3 weightEncoding; // Number of trits (x), quints (y) and bits (z) to encode the weights.
335 // TODO(gregschlom): Optimization idea: instead of always decoding 4 weights, we could decode
337 uvec4 weights = uvec4(decode1Weight(weightData, encoding, numWeights, weightIndices[0]),
348 return uint(dot(weights, factors) + 8) >> 4; // this is what the spec calls "effective weight"
366 uvec2 weights = uvec2(0);
367 weights.x = interpolateWeights(weightData, weightEncoding, numWeights, v0, gridWidth,
370 weights.y = interpolateWeights(weightData, weightEncoding, numWeights, v0, gridWidth, 2, 1,
373 return weights;
[all …]
DAstcNew.comp61 bool dualPlane; // True for dual plane blocks (a block with 2 sets of weights)
63 uint numWeights; // Number of weights
64 uvec3 weightEncoding; // Number of trits (x), quints (y) and bits (z) to encode the weights.
335 // TODO(gregschlom): Optimization idea: instead of always decoding 4 weights, we could decode
337 uvec4 weights = uvec4(decode1Weight(weightData, encoding, numWeights, weightIndices[0]),
348 return uint(dot(weights, factors) + 8) >> 4; // this is what the spec calls "effective weight"
366 uvec2 weights = uvec2(0);
367 weights.x = interpolateWeights(weightData, weightEncoding, numWeights, v0, gridWidth,
370 weights.y = interpolateWeights(weightData, weightEncoding, numWeights, v0, gridWidth, 2, 1,
373 return weights;
[all …]
/hardware/google/graphics/common/libhwc2.1/libdevice/
DHistogramDevice.cpp1180 config->weights.weight_r = histogramConfig.weights.weightR; in createDrmConfig()
1181 config->weights.weight_g = histogramConfig.weights.weightG; in createDrmConfig()
1182 config->weights.weight_b = histogramConfig.weights.weightB; in createDrmConfig()
1350 String8::format("(%" PRIu16 ",%" PRIu16 ",%" PRIu16 ")", config->weights.weight_r, in dumpChannel()
1351 config->weights.weight_g, config->weights.weight_b)); in dumpChannel()
1394 (ret = validateHistogramWeights(histogramConfig.weights)) != HistogramErrorCode::NONE || in validateHistogramConfig()
1421 const HistogramWeights& weights) const { in validateHistogramWeights()
1422 if ((weights.weightR + weights.weightG + weights.weightB) != WEIGHT_SUM) { in validateHistogramWeights()
1423 HIST_LOG(E, "BAD_WEIGHT, weights%s", toString(weights).c_str()); in validateHistogramWeights()
1504 std::string HistogramDevice::toString(const HistogramWeights& weights) { in toString() argument
[all …]
/hardware/google/graphics/common/libhwc2.1/
Dhistogram_mediator.h82 HistogramConfig(const RoiRect &roi, const Weight &weights, const HistogramPos &pos) { in HistogramConfig()
84 mWeights = weights; in HistogramConfig()
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/9/com/google/hardware/pixel/display/
DHistogramConfig.aidl38 com.google.hardware.pixel.display.Weight weights;
/hardware/google/interfaces/display/com/google/hardware/pixel/display/
DHistogramConfig.aidl42 Weight weights;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/current/com/google/hardware/pixel/display/
DHistogramConfig.aidl38 com.google.hardware.pixel.display.Weight weights;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/11/com/google/hardware/pixel/display/
DHistogramConfig.aidl38 com.google.hardware.pixel.display.Weight weights;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/10/com/google/hardware/pixel/display/
DHistogramConfig.aidl38 com.google.hardware.pixel.display.Weight weights;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/12/com/google/hardware/pixel/display/
DHistogramConfig.aidl38 com.google.hardware.pixel.display.Weight weights;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_QCOM_image_processing.adoc32 * High-order (up to 64x64 kernel) filters with user-supplied weights, and sub-texel phasing support
33 * High-order (up to 64x64) box filtering with HW-computed weights, and fractional box sizes
47 _sampled image_ are convolved with an MxN set of scalar weights provided in the _weight image_. La…
50weights can be adjusted to reflect the sub-texel sample location. Sub-texel weighting is supporte…
200 | sampler2D tex, | a 2D kernel of filter weights with a corr- |
360 of an MxN region of texels in the _sampled image_, using a set of MxN weights in the
402 weights.
406 The _weight image_ can optionally provide sub-texel weights. This feature
409 `filterSize`.`width` x `filterSize`.`height` weights for each phase.
420 defines 4 sets of weights, each with a width and height as specified by
[all …]
DVK_KHR_fragment_shader_barycentric.adoc38 floating-point vector holding barycentric weights for the fragment
41 three-component floating-point vector holding barycentric weights for
44 === Barycentric weights
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal741 * outputs = activation(inputs * weights’ + bias)
757 * weights, and "batch_size" is calculated by dividing the number of
760 * * 1: A 2-D tensor, specifying the weights, of shape
1156 * * The cell-to-input weights (\f$W_{ci}\f$), cell-to-forget weights
1157 * (\f$W_{cf}\f$) and cell-to-output weights (\f$W_{co}\f$) either all
1160 * * The input-to-input weights (\f$W_{xi}\f$), recurrent-to-input weights
1169 * cell-to-input (\f$W_{ci}\f$) weights must be present. Otherwise, the
1170 * cell-to-input weights must have no value.
1171 * * The projection weights (\f$W_{proj}\f$) is required only for the
1176 * * (HAL version 1.2 or later) The four layer normalization weights either all have
[all …]
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal755 * outputs = activation(inputs * weights’ + bias)
770 * weights, and "batch_size" is calculated by dividing the number of
773 * * 1: A 2-D tensor, specifying the weights, of shape
1158 * * The cell-to-input weights (\f$W_{ci}\f$), cell-to-forget weights
1159 * (\f$W_{cf}\f$) and cell-to-output weights (\f$W_{co}\f$) either all
1162 * * The input-to-input weights (\f$W_{xi}\f$), recurrent-to-input weights
1171 * cell-to-input (\f$W_{ci}\f$) weights must be present. Otherwise, the
1172 * cell-to-input weights must have no value.
1173 * * The projection weights (\f$W_{proj}\f$) is required only for the
1178 * * (HAL version 1.2 or later) The four layer normalization weights either all have
[all …]
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal538 * outputs = activation(inputs * weights’ + bias)
552 * weights, and "batch_size" is calculated by dividing the number of
554 * * 1: A 2-D tensor, specifying the weights, of shape
883 * * The cell-to-input weights (\f$W_{ci}\f$), cell-to-forget weights
884 * (\f$W_{cf}\f$) and cell-to-output weights (\f$W_{co}\f$) either all
887 * * The input-to-input weights (\f$W_{xi}\f$), recurrent-to-input weights
896 * cell-to-input (\f$W_{ci}\f$) weights must be present. Otherwise, the
897 * cell-to-input weights must have no value.
898 * * The projection weights (\f$W_{proj}\f$) is required only for the
933 * * 1: The input-to-input weights (\f$W_{xi}\f$). Optional.
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dtextures.adoc2270 [eq]#j~0~# or [eq]#j~1~#, [eq]#k~0~# or [eq]#k~1~#, as well as weights
2320 as well as weights [eq]#{alpha}# and [eq]#{beta}#.
2323 [eq]#k~0~#, [eq]#k~1~#, [eq]#k~2~# or [eq]#k~3~#, as well as weights
2583 weights.
2584 The linear weights are derived from the fractions computed earlier:
2600 The values of multiple texels, together with their weights, are combined
2605 The values of multiple texels, together with their weights, are combined to
2609 the process by which multiple texels, together with their weights, are
2629 of multiple texels, together with their weights, computing a component-wise
2631 with non-zero weights.
[all …]
/hardware/google/graphics/zumapro/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp392 mConfig.weights.weightR = kHistogramConfigWeightR; in prepare()
393 mConfig.weights.weightG = kHistogramConfigWeightG; in prepare()
394 mConfig.weights.weightB = kHistogramConfigWeightB; in prepare()

12