Home
last modified time | relevance | path

Searched refs:qp (Results 1 – 25 of 181) sorted by relevance

12345678

/external/llvm-project/polly/lib/External/isl/
Disl_polynomial.c411 __isl_take isl_qpolynomial *qp, __isl_take isl_space *space) in isl_qpolynomial_reset_domain_space() argument
413 qp = isl_qpolynomial_cow(qp); in isl_qpolynomial_reset_domain_space()
414 if (!qp || !space) in isl_qpolynomial_reset_domain_space()
417 isl_space_free(qp->dim); in isl_qpolynomial_reset_domain_space()
418 qp->dim = space; in isl_qpolynomial_reset_domain_space()
420 return qp; in isl_qpolynomial_reset_domain_space()
422 isl_qpolynomial_free(qp); in isl_qpolynomial_reset_domain_space()
432 __isl_take isl_qpolynomial *qp, __isl_take isl_space *space, in isl_qpolynomial_reset_space_and_domain() argument
436 return isl_qpolynomial_reset_domain_space(qp, domain); in isl_qpolynomial_reset_space_and_domain()
439 isl_ctx *isl_qpolynomial_get_ctx(__isl_keep isl_qpolynomial *qp) in isl_qpolynomial_get_ctx() argument
[all …]
Disl_fold.c104 fold->qp[i] = isl_qpolynomial_reset_domain_space(fold->qp[i], in isl_qpolynomial_fold_reset_domain_space()
106 if (!fold->qp[i]) in isl_qpolynomial_fold_reset_domain_space()
143 int involves = isl_qpolynomial_involves_dims(fold->qp[i], in isl_qpolynomial_fold_involves_dims()
165 fold->qp[i] = isl_qpolynomial_set_dim_name(fold->qp[i], in isl_qpolynomial_fold_set_dim_name()
167 if (!fold->qp[i]) in isl_qpolynomial_fold_set_dim_name()
209 fold->qp[i] = isl_qpolynomial_drop_dims(fold->qp[i], in isl_qpolynomial_fold_drop_dims()
211 if (!fold->qp[i]) in isl_qpolynomial_fold_drop_dims()
240 fold->qp[i] = isl_qpolynomial_insert_dims(fold->qp[i], in isl_qpolynomial_fold_insert_dims()
242 if (!fold->qp[i]) in isl_qpolynomial_fold_insert_dims()
262 static int isl_qpolynomial_cst_sign(__isl_keep isl_qpolynomial *qp) in isl_qpolynomial_cst_sign() argument
[all …]
Disl_polynomial_private.h57 struct isl_qpolynomial *qp; member
92 struct isl_qpolynomial *qp[1]; member
146 __isl_give isl_qpolynomial *isl_qpolynomial_cow(__isl_take isl_qpolynomial *qp);
147 __isl_give isl_qpolynomial *isl_qpolynomial_dup(__isl_keep isl_qpolynomial *qp);
157 isl_bool isl_qpolynomial_is_one(__isl_keep isl_qpolynomial *qp);
158 isl_bool isl_qpolynomial_is_affine(__isl_keep isl_qpolynomial *qp);
159 isl_bool isl_qpolynomial_is_cst(__isl_keep isl_qpolynomial *qp,
162 unsigned isl_qpolynomial_domain_offset(__isl_keep isl_qpolynomial *qp,
179 __isl_keep isl_qpolynomial *qp);
188 __isl_take isl_set *set, __isl_take isl_qpolynomial *qp);
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dav1_highbd_quantize_avx2.c19 static INLINE void init_one_qp(const __m128i *p, __m256i *qp) { in init_one_qp() argument
23 *qp = _mm256_insertf128_si256(_mm256_castsi128_si256(dc), ac, 1); in init_one_qp()
26 static INLINE void update_qp(__m256i *qp) { in update_qp() argument
27 qp[0] = _mm256_permute2x128_si256(qp[0], qp[0], 0x11); in update_qp()
28 qp[1] = _mm256_permute2x128_si256(qp[1], qp[1], 0x11); in update_qp()
29 qp[2] = _mm256_permute2x128_si256(qp[2], qp[2], 0x11); in update_qp()
34 __m256i *qp) { in init_qp() argument
43 init_one_qp(&round, &qp[0]); in init_qp()
44 init_one_qp(&quant, &qp[1]); in init_qp()
45 init_one_qp(&dequant, &qp[2]); in init_qp()
[all …]
Dav1_quantize_avx2.c40 static INLINE void init_one_qp(const __m128i *p, __m256i *qp) { in init_one_qp() argument
42 *qp = _mm256_insertf128_si256(_mm256_castsi128_si256(*p), ac, 1); in init_one_qp()
47 __m256i *thr, __m256i *qp) { in init_qp() argument
58 init_one_qp(&round, &qp[0]); in init_qp()
59 init_one_qp(&quant, &qp[1]); in init_qp()
62 qp[1] = _mm256_slli_epi16(qp[1], log_scale); in init_qp()
65 init_one_qp(&dequant, &qp[2]); in init_qp()
66 *thr = _mm256_srai_epi16(qp[2], 1 + log_scale); in init_qp()
69 static INLINE void update_qp(int log_scale, __m256i *thr, __m256i *qp) { in update_qp() argument
70 qp[0] = _mm256_permute2x128_si256(qp[0], qp[0], 0x11); in update_qp()
[all …]
/external/webrtc/common_video/h264/
Dh264_bitstream_parser_unittest.cc49 int qp; in TEST() local
50 EXPECT_FALSE(h264_parser.GetLastSliceQp(&qp)); in TEST()
56 int qp; in TEST() local
57 EXPECT_FALSE(h264_parser.GetLastSliceQp(&qp)); in TEST()
63 int qp; in TEST() local
64 ASSERT_TRUE(h264_parser.GetLastSliceQp(&qp)); in TEST()
65 EXPECT_EQ(35, qp); in TEST()
70 ASSERT_TRUE(h264_parser.GetLastSliceQp(&qp)); in TEST()
71 EXPECT_EQ(37, qp); in TEST()
78 int qp; in TEST() local
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dhighbd_quantize_intrin_avx2.c18 static INLINE void init_one_qp(const __m128i *p, __m256i *qp) { in init_one_qp() argument
22 *qp = _mm256_insertf128_si256(_mm256_castsi128_si256(dc), ac, 1); in init_one_qp()
25 static INLINE void update_qp(__m256i *qp) { in update_qp() argument
28 qp[i] = _mm256_permute2x128_si256(qp[i], qp[i], 0x11); in update_qp()
34 const int16_t *quant_shift_ptr, __m256i *qp) { in init_qp() argument
40 init_one_qp(&zbin, &qp[0]); in init_qp()
41 init_one_qp(&round, &qp[1]); in init_qp()
42 init_one_qp(&quant, &qp[2]); in init_qp()
43 init_one_qp(&dequant, &qp[3]); in init_qp()
44 init_one_qp(&quant_shift, &qp[4]); in init_qp()
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DEncodedImage.java58 public final @Nullable Integer qp; field in EncodedImage
74 boolean completeFrame, @Nullable Integer qp) { in EncodedImage() argument
83 this.qp = qp; in EncodedImage()
124 return qp; in getQp()
140 private @Nullable Integer qp; field in EncodedImage.Builder
186 public Builder setQp(@Nullable Integer qp) { in setQp() argument
187 this.qp = qp; in setQp()
193 frameType, rotation, completeFrame, qp); in createEncodedImage()
/external/llvm-project/polly/lib/External/isl/include/isl/
Dpolynomial.h19 isl_ctx *isl_qpolynomial_get_ctx(__isl_keep isl_qpolynomial *qp);
21 __isl_keep isl_qpolynomial *qp);
22 __isl_give isl_space *isl_qpolynomial_get_space(__isl_keep isl_qpolynomial *qp);
23 isl_size isl_qpolynomial_dim(__isl_keep isl_qpolynomial *qp,
25 isl_bool isl_qpolynomial_involves_dims(__isl_keep isl_qpolynomial *qp,
29 __isl_keep isl_qpolynomial *qp);
32 __isl_take isl_qpolynomial *qp,
50 __isl_give isl_qpolynomial *isl_qpolynomial_copy(__isl_keep isl_qpolynomial *qp);
52 __isl_take isl_qpolynomial *qp);
56 isl_bool isl_qpolynomial_is_zero(__isl_keep isl_qpolynomial *qp);
[all …]
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_decoder.cc208 int qp = qp_smoother_->GetAvg(); in Decode() local
209 if (qp > deblock_params_->min_qp) { in Decode()
211 if (qp < deblock_params_->degrade_qp) { in Decode()
214 (qp - deblock_params_->min_qp) / in Decode()
292 int qp; in Decode() local
294 vpx_codec_control(decoder_, VPXD_GET_LAST_QUANTIZER, &qp); in Decode()
296 ret = ReturnFrame(img, input_image.Timestamp(), qp, input_image.ColorSpace()); in Decode()
315 int qp, in ReturnFrame() argument
326 qp_smoother_->Add(qp); in ReturnFrame()
353 decode_complete_callback_->Decoded(decoded_image, absl::nullopt, qp); in ReturnFrame()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantize.cc200 QuantizationPoints qp; in GetQuantizationPoints() local
202 qp.min_value = std::numeric_limits<Integer>::min(); in GetQuantizationPoints()
203 qp.max_value = std::numeric_limits<Integer>::max(); in GetQuantizationPoints()
205 qp.central_value = (qp.min_value / 2 + // -128 -> -64. in GetQuantizationPoints()
206 (qp.max_value - 1) / 2 + // 127 -> 63. in GetQuantizationPoints()
208 return qp; in GetQuantizationPoints()
337 const QuantizationPoints qp = GetQuantizationPoints(*quantized_data_type); in ChooseHardcodedQuantizationForOperatorOutput() local
338 quantization_params->zero_point = qp.central_value; in ChooseHardcodedQuantizationForOperatorOutput()
339 quantization_params->scale = 1. / (qp.central_value - qp.min_value); in ChooseHardcodedQuantizationForOperatorOutput()
352 const QuantizationPoints qp = GetQuantizationPoints(*quantized_data_type); in ChooseHardcodedQuantizationForOperatorOutput() local
[all …]
/external/webrtc/video/
Dreceive_statistics_proxy2.cc251 absl::optional<int> qp = qp_counters_.vp8.Avg(kMinRequiredSamples); in UpdateHistograms() local
252 if (qp) { in UpdateHistograms()
253 RTC_HISTOGRAM_COUNTS_200("WebRTC.Video.Decoded.Vp8.Qp", *qp); in UpdateHistograms()
254 log_stream << "WebRTC.Video.Decoded.Vp8.Qp " << *qp << '\n'; in UpdateHistograms()
417 absl::optional<int> qp = stats.qp_counter.Avg(kMinRequiredSamples); in UpdateHistograms() local
418 if (qp) { in UpdateHistograms()
420 uma_prefix + ".Decoded.Vp8.Qp" + uma_suffix, *qp); in UpdateHistograms()
422 << *qp << '\n'; in UpdateHistograms()
508 absl::optional<int> qp = qp_sample_.Avg(1); in QualitySample() local
516 if (qp) in QualitySample()
[all …]
Dreceive_statistics_proxy.cc232 absl::optional<int> qp = qp_counters_.vp8.Avg(kMinRequiredSamples); in UpdateHistograms() local
233 if (qp) { in UpdateHistograms()
234 RTC_HISTOGRAM_COUNTS_200("WebRTC.Video.Decoded.Vp8.Qp", *qp); in UpdateHistograms()
235 log_stream << "WebRTC.Video.Decoded.Vp8.Qp " << *qp << '\n'; in UpdateHistograms()
397 absl::optional<int> qp = stats.qp_counter.Avg(kMinRequiredSamples); in UpdateHistograms() local
398 if (qp) { in UpdateHistograms()
400 uma_prefix + ".Decoded.Vp8.Qp" + uma_suffix, *qp); in UpdateHistograms()
402 << *qp << '\n'; in UpdateHistograms()
485 absl::optional<int> qp = qp_sample_.Avg(1); in QualitySample() local
493 if (qp) in QualitySample()
[all …]
Dvideo_stream_decoder_impl.cc249 absl::optional<uint8_t> qp) { in OnDecodedFrameCallback() argument
253 decode_time_ms, qp]() { in OnDecodedFrameCallback()
265 if (qp) in OnDecodedFrameCallback()
266 casted_qp.emplace(*qp); in OnDecodedFrameCallback()
299 absl::optional<uint8_t> qp) { in Decoded() argument
301 decode_time_ms, qp); in Decoded()
/external/google-breakpad/src/third_party/libdisasm/
Dx86_imm.c11 qword_t *qp = (qword_t *) dest; in x86_imm_signsized() local
28 *qp = *((qword_t *) buf); in x86_imm_signsized()
43 qword_t *qp = (qword_t *) dest; in x86_imm_sized() local
60 *qp = *((qword_t *) buf); in x86_imm_sized()
/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_decoder_adapter.cc39 absl::optional<uint8_t> qp) override { in Decoded() argument
42 adapter_->Decoded(stream_idx_, &decoded_image, decode_time_ms, qp); in Decoded()
74 const absl::optional<uint8_t>& qp) in DecodedImageData()
78 qp_(qp) {} in DecodedImageData()
183 absl::optional<uint8_t> qp) { in Decoded() argument
199 MergeAlphaImages(decoded_image, decode_time_ms, qp, in Decoded()
208 decoded_image, decode_time_ms, qp, in Decoded()
223 std::forward_as_tuple(stream_idx, *decoded_image, decode_time_ms, qp)); in Decoded()
229 const absl::optional<uint8_t>& qp, in MergeAlphaImages() argument
266 decoded_complete_callback_->Decoded(merged_image, decode_time_ms, qp); in MergeAlphaImages()
/external/webrtc/sdk/android/src/java/org/webrtc/
DVideoDecoderWrapper.java22 Integer qp) -> nativeOnDecodedFrame(nativeDecoder, frame, decodeTimeMs, qp); in createDecoderCallback()
26 long nativeVideoDecoderWrapper, VideoFrame frame, Integer decodeTimeMs, Integer qp); in nativeOnDecodedFrame() argument
/external/libavc/encoder/
Dih264e_debug.h43 #define DEBUG_DUMP_QP(pic_cnt, qp, num_cores) \ argument
44 ih264e_debug_dump_qp(pic_cnt, qp, num_cores);
55 #define DEBUG_DUMP_QP(pic_cnt, qp, num_cores) (void); argument
/external/tensorflow/tensorflow/lite/micro/kernels/
Dquantization_util_test.cc205 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST() local
207 TF_LITE_MICRO_EXPECT_NEAR(qp.scale, 0.156863, 1e-5); in TF_LITE_MICRO_TEST()
208 TF_LITE_MICRO_EXPECT_EQ(qp.zero_point, 64); in TF_LITE_MICRO_TEST()
213 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST() local
215 TF_LITE_MICRO_EXPECT_NEAR(qp.scale, 0.117647, 1e-5); in TF_LITE_MICRO_TEST()
216 TF_LITE_MICRO_EXPECT_EQ(qp.zero_point, 0); in TF_LITE_MICRO_TEST()
221 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST() local
223 TF_LITE_MICRO_EXPECT_NEAR(qp.scale, 0.0, 1e-5); in TF_LITE_MICRO_TEST()
224 TF_LITE_MICRO_EXPECT_EQ(qp.zero_point, 0); in TF_LITE_MICRO_TEST()
229 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST() local
[all …]
/external/webrtc/sdk/android/src/jni/
Dvideo_decoder_wrapper.cc109 frame_extra_info.qp = in Decode()
195 decoder_qp ? decoder_qp : frame_extra_info.qp); in OnDecodedFrame()
235 absl::optional<uint8_t> qp; in ParseQP() local
240 qp = qp_int; in ParseQP()
247 qp = qp_int; in ParseQP()
256 qp = qp_int; in ParseQP()
263 return qp; in ParseQP()
/external/libpcap/
Dpcap-rdmasniff.c56 struct ibv_qp * qp; member
84 ibv_destroy_qp(priv->qp); in rdmasniff_cleanup()
110 ibv_post_recv(priv->qp, &wr, &bad_wr); in rdmasniff_post_recv()
234 priv->qp = ibv_create_qp(priv->pd, &qp_init_attr); in rdmasniff_activate()
235 if (!priv->qp) { in rdmasniff_activate()
244 if (ibv_modify_qp(priv->qp, &qp_attr, IBV_QP_STATE | IBV_QP_PORT)) { in rdmasniff_activate()
252 if (ibv_modify_qp(priv->qp, &qp_attr, IBV_QP_STATE)) { in rdmasniff_activate()
262 priv->flow = ibv_create_flow(priv->qp, &flow_attr); in rdmasniff_activate()
329 if (priv->qp) { in rdmasniff_activate()
330 ibv_destroy_qp(priv->qp); in rdmasniff_activate()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc163 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 30.0); in TEST() local
164 EXPECT_NEAR(qp.scale, 0.156863, 1e-5); in TEST()
165 EXPECT_EQ(qp.zero_point, 64); in TEST()
169 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 30.0); in TEST() local
170 EXPECT_NEAR(qp.scale, 0.117647, 1e-5); in TEST()
171 EXPECT_EQ(qp.zero_point, 0); in TEST()
187 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 0.0); in TEST() local
188 EXPECT_NEAR(qp.scale, 0.0, 1e-5); in TEST()
189 EXPECT_EQ(qp.zero_point, 0); in TEST()
193 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 0.0); in TEST() local
[all …]
/external/webrtc/modules/video_coding/utility/
Dvp9_uncompressed_header_parser.cc208 bool Parse(const uint8_t* buf, size_t length, int* qp, FrameInfo* frame_info) { in Parse() argument
309 *qp = base_q0; in Parse()
313 bool GetQp(const uint8_t* buf, size_t length, int* qp) { in GetQp() argument
315 return Parse(buf, length, qp, &frame_info); in GetQp()
320 int qp = 0; in ParseIntraFrameInfo() local
322 if (Parse(buf, length, &qp, &frame_info) && frame_info.frame_width > 0) { in ParseIntraFrameInfo()
/external/webrtc/test/fuzzers/
Dvp9_qp_parser_fuzzer.cc15 int qp; in FuzzOneInput() local
16 vp9::GetQp(data, size, &qp); in FuzzOneInput()
Dvp8_qp_parser_fuzzer.cc14 int qp; in FuzzOneInput() local
15 vp8::GetQp(data, size, &qp); in FuzzOneInput()

12345678