Home
last modified time | relevance | path

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

12345678910

/external/libaom/libaom/av1/encoder/x86/
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 …]
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 …]
/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/webrtc/modules/rtp_rtcp/source/
Dh264_bitstream_parser_unittest.cc37 int qp; in TEST() local
38 EXPECT_FALSE(h264_parser.GetLastSliceQp(&qp)); in TEST()
44 int qp; in TEST() local
45 EXPECT_FALSE(h264_parser.GetLastSliceQp(&qp)); in TEST()
51 int qp; in TEST() local
52 ASSERT_TRUE(h264_parser.GetLastSliceQp(&qp)); in TEST()
53 EXPECT_EQ(35, qp); in TEST()
58 ASSERT_TRUE(h264_parser.GetLastSliceQp(&qp)); in TEST()
59 EXPECT_EQ(37, qp); in TEST()
/external/libunwind/include/
Dlibunwind-dynamic.h86 int8_t qp; /* qualifying predicate register */ member
178 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \ argument
179 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst)))
181 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \ argument
182 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \
185 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \ argument
186 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \
189 #define _U_dyn_op_add(op, qp, when, reg, value) \ argument
190 (*(op) = _U_dyn_op (UNW_DYN_ADD, (qp), (when), (reg), (value)))
192 #define _U_dyn_op_pop_frames(op, qp, when, num_frames) \ argument
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantize.cc159 QuantizationPoints qp; in GetQuantizationPoints() local
161 qp.min_value = std::numeric_limits<Integer>::min(); in GetQuantizationPoints()
162 qp.max_value = std::numeric_limits<Integer>::max(); in GetQuantizationPoints()
164 qp.central_value = (qp.min_value / 2 + // -128 -> -64. in GetQuantizationPoints()
165 (qp.max_value - 1) / 2 + // 127 -> 63. in GetQuantizationPoints()
167 return qp; in GetQuantizationPoints()
289 const QuantizationPoints qp = GetQuantizationPoints(*quantized_data_type); in ChooseHardcodedQuantizationForOperatorOutput() local
290 quantization_params->zero_point = qp.central_value; in ChooseHardcodedQuantizationForOperatorOutput()
291 quantization_params->scale = 1. / (qp.central_value - qp.min_value); in ChooseHardcodedQuantizationForOperatorOutput()
304 const QuantizationPoints qp = GetQuantizationPoints(*quantized_data_type); in ChooseHardcodedQuantizationForOperatorOutput() local
[all …]
/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/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util_test.cc160 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 30.0); in TEST() local
161 EXPECT_NEAR(qp.scale, 0.156863, 1e-5); in TEST()
162 EXPECT_EQ(qp.zero_point, 64); in TEST()
166 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 30.0); in TEST() local
167 EXPECT_NEAR(qp.scale, 0.117647, 1e-5); in TEST()
168 EXPECT_EQ(qp.zero_point, 0); in TEST()
184 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 0.0); in TEST() local
185 EXPECT_NEAR(qp.scale, 0.0, 1e-5); in TEST()
186 EXPECT_EQ(qp.zero_point, 0); in TEST()
190 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 0.0); in TEST() local
[all …]
/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/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
Dirc_frame_info_collector.h69 #define FI_UPDATE_MB_QP(frame_info,qp,mb_type)\ argument
70 {(frame_info)->qp_sum[(mb_type)] += (qp);(frame_info)->num_mbs[(mb_type)]++;}
/external/libunwind/src/ia64/
Dunwind_decoder.h144 unsigned char byte1, byte2, abreg, qp; in unw_decode_x3() local
151 qp = (byte1 & 0x3f); in unw_decode_x3()
155 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3()
157 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3()
164 unsigned char byte1, byte2, byte3, qp, abreg, x, ytreg; in unw_decode_x4() local
170 qp = (byte1 & 0x3f); in unw_decode_x4()
176 UNW_DEC_RESTORE_P(X4, qp, t, abreg, arg); in unw_decode_x4()
178 UNW_DEC_SPILL_REG_P(X4, qp, t, abreg, x, ytreg, arg); in unw_decode_x4()
DGparser.c546 desc_is_active (unsigned char qp, unw_word t, struct ia64_state_record *sr) in desc_is_active() argument
550 if (qp > 0) in desc_is_active()
552 if ((sr->pr_val & ((unw_word_t) 1 << qp)) == 0) in desc_is_active()
554 sr->pr_mask |= ((unw_word_t) 1 << qp); in desc_is_active()
560 desc_restore_p (unsigned char qp, unw_word t, unsigned char abreg, in desc_restore_p() argument
565 if (!desc_is_active (qp, t, sr)) in desc_restore_p()
575 desc_spill_reg_p (unsigned char qp, unw_word t, unsigned char abreg, in desc_spill_reg_p() argument
582 if (!desc_is_active (qp, t, sr)) in desc_spill_reg_p()
597 desc_spill_psprel_p (unsigned char qp, unw_word t, unsigned char abreg, in desc_spill_psprel_p() argument
602 if (!desc_is_active (qp, t, sr)) in desc_spill_psprel_p()
[all …]
/external/webrtc/webrtc/test/fuzzers/
Dvp8_qp_parser_fuzzer.cc14 int qp; in FuzzOneInput() local
15 vp8::GetQp(data, size, &qp); in FuzzOneInput()
/external/webrtc/webrtc/modules/video_coding/utility/
Dqp_parser.cc18 bool QpParser::GetQp(const VCMEncodedFrame& frame, int* qp) { in GetQp() argument
22 return vp8::GetQp(frame.Buffer(), frame.Length(), qp); in GetQp()
Dquality_scaler.cc53 void QualityScaler::ReportQP(int qp) { in ReportQP() argument
55 average_qp_.AddSample(qp); in ReportQP()
Dqp_parser.h25 bool GetQp(const VCMEncodedFrame& frame, int* qp);
Dvp8_header_parser.cc162 bool GetQp(const uint8_t* buf, size_t length, int* qp) { in GetQp() argument
198 *qp = base_q0; in GetQp()
Dvp8_header_parser.h62 bool GetQp(const uint8_t* buf, size_t length, int* qp);
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dscreenshare_layers.cc171 int qp) { in FrameEncoded() argument
181 if (qp != -1) in FrameEncoded()
182 layers_[active_layer_].last_qp = qp; in FrameEncoded()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_netbsd.go42 qp := (*byte)(unsafe.Pointer(&qnode))
44 if err = sysctl(mib, nil, &olen, qp, sz); err != nil {
51 if err = sysctl(mib, np, &olen, qp, sz); err != nil {
/external/webrtc/webrtc/video/
Dreceive_statistics_proxy.cc59 int qp = qp_counters_.vp8.Avg(kMinRequiredSamples); in UpdateHistograms() local
60 if (qp != -1) in UpdateHistograms()
61 RTC_HISTOGRAM_COUNTS_SPARSE_200("WebRTC.Video.Decoded.Vp8.Qp", qp); in UpdateHistograms()
/external/libhevc/decoder/
Dihevcd_cabac.c134 WORD32 qp, in ihevcd_cabac_init() argument
141 ASSERT((qp >= 0) && (qp < 52)); in ihevcd_cabac_init()
143 UNUSED(qp); in ihevcd_cabac_init()
/external/eigen/Eigen/src/Core/functors/
DBinaryFunctors.h270 Scalar p, qp;
274 qp = _y / p;
279 qp = _x / p;
281 return p * sqrt(Scalar(1) + qp*qp);
/external/libavc/common/arm/
Dih264_ihadamard_scaling_a9.s62 @ * Floor (qp/6)
185 @ * Floor (qp/6)
216 vld1.u16 d28[0], [sp] @load qp/6
221 vsubl.u16 q14, d28, d29 @qp\6 - 5

12345678910