/third_party/mesa3d/src/amd/vulkan/radix_sort/common/ |
D | macros.h | 65 #define ROUND_DOWN_MACRO(v_,q_) (((v_) / (q_)) * (q_)) argument 66 #define ROUND_UP_MACRO(v_,q_) ((((v_) + (q_) - 1) / (q_)) * (q_)) argument 72 #define ROUND_DOWN_POW2_MACRO(v_,q_) ((v_) & ~((q_) - 1)) argument 73 #define ROUND_UP_POW2_MACRO(v_,q_) ROUND_DOWN_POW2_MACRO((v_) + (q_) - 1, q_) argument
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | zipf_distribution.h | 68 double q() const { return q_; } in q() 72 return a.k_ == b.k_ && a.q_ == b.q_ && a.v_ == b.v_; 88 double q_; variable 151 : k_(k), q_(q), v_(v), one_minus_q_(1 - q) { in param_type() 209 return q_ == 2.0 ? (1.0 / (x * x)) : std::exp(std::log(x) * -q_); in pow_negative_q()
|
D | zipf_distribution_test.cc | 112 ZipfModel(size_t k, double q, double v) : k_(k), q_(q), v_(v) {} in ZipfModel() 173 double qm1 = q_ - 1.0; in Init() 181 (q_ == 2.0) ? (1.0 / x) in Init() 182 : (q_ == 3.0) ? (1.0 / (x * x)) : std::pow(x, -qm1); in Init() 187 (q_ == 2.0) ? (1.0 / (x * x)) in Init() 188 : (q_ == 3.0) ? (1.0 / (x * x * x)) : std::pow(x, -q_); in Init() 202 const double q_; member in __anonb07f8a110111::ZipfModel
|
D | discrete_distribution.h | 104 std::vector<std::pair<double, size_t>> q_; // (acceptance, alternate) pairs variable 186 q_.emplace_back(1.0, 0); in init() 189 q_ = random_internal::InitDiscreteDistribution(&p_); in init() 200 const auto& q = p.q_[idx]; in operator()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | quant_enc.c | 214 m->iq_[i] = (1 << QFIX) / m->q_[i]; in ExpandMatrix() 222 m->q_[i] = m->q_[1]; in ExpandMatrix() 229 m->sharpen_[i] = (kFreqSharpening[i] * m->q_[i]) >> SHARPEN_BITS; in ExpandMatrix() 233 sum += m->q_[i]; in ExpandMatrix() 250 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; in SetupMatrices() 251 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; in SetupMatrices() 253 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; in SetupMatrices() 254 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; in SetupMatrices() 256 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; in SetupMatrices() 257 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; in SetupMatrices() [all …]
|
D | filter_enc.c | 221 const int delta = (dqm->max_edge_ * dqm->y2_.q_[1]) >> 3; in VP8AdjustFilterStrength()
|
D | vp8i_enc.h | 182 uint16_t q_[16]; // quantizer steps member
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | quant_enc.c | 214 m->iq_[i] = (1 << QFIX) / m->q_[i]; in ExpandMatrix() 222 m->q_[i] = m->q_[1]; in ExpandMatrix() 229 m->sharpen_[i] = (kFreqSharpening[i] * m->q_[i]) >> SHARPEN_BITS; in ExpandMatrix() 233 sum += m->q_[i]; in ExpandMatrix() 250 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; in SetupMatrices() 251 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; in SetupMatrices() 253 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; in SetupMatrices() 254 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; in SetupMatrices() 256 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; in SetupMatrices() 257 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; in SetupMatrices() [all …]
|
D | filter_enc.c | 221 const int delta = (dqm->max_edge_ * dqm->y2_.q_[1]) >> 3; in VP8AdjustFilterStrength()
|
D | vp8i_enc.h | 182 uint16_t q_[16]; // quantizer steps member
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftcalc.c | 257 FT_Long q_; in FT_DivFix() local 269 q_ = (FT_Long)q; in FT_DivFix() 271 return s < 0 ? NEG_LONG( q_ ) : q_; in FT_DivFix() 612 FT_Long q_; in FT_DivFix() local 648 q_ = (FT_Long)q; in FT_DivFix() 650 return s < 0 ? NEG_LONG( q_ ) : q_; in FT_DivFix()
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftcalc.c | 258 FT_Long q_; in FT_DivFix() local 270 q_ = (FT_Long)q; in FT_DivFix() 272 return s < 0 ? NEG_LONG( q_ ) : q_; in FT_DivFix() 613 FT_Long q_; in FT_DivFix() local 649 q_ = (FT_Long)q; in FT_DivFix() 651 return s < 0 ? NEG_LONG( q_ ) : q_; in FT_DivFix()
|
/third_party/freetype/src/base/ |
D | ftcalc.c | 257 FT_Long q_; in FT_DivFix() local 269 q_ = (FT_Long)q; in FT_DivFix() 271 return s < 0 ? NEG_LONG( q_ ) : q_; in FT_DivFix() 612 FT_Long q_; in FT_DivFix() local 648 q_ = (FT_Long)q; in FT_DivFix() 650 return s < 0 ? NEG_LONG( q_ ) : q_; in FT_DivFix()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | enc_sse41.c | 213 const __m128i q0 = _mm_loadu_si128((const __m128i*)&mtx->q_[0]); in DoQuantizeBlock_SSE41() 214 const __m128i q8 = _mm_loadu_si128((const __m128i*)&mtx->q_[8]); in DoQuantizeBlock_SSE41()
|
D | enc_mips32.c | 201 const uint16_t* ppq = &mtx->q_[0]; in QuantizeBlock_MIPS32()
|
D | enc_sse2.c | 1234 const __m128i q0 = _mm_loadu_si128((const __m128i*)&mtx->q_[0]); in DoQuantizeBlock_SSE2() 1235 const __m128i q8 = _mm_loadu_si128((const __m128i*)&mtx->q_[8]); in DoQuantizeBlock_SSE2()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/ |
D | enc_sse41.c | 213 const __m128i q0 = _mm_loadu_si128((const __m128i*)&mtx->q_[0]); in DoQuantizeBlock_SSE41() 214 const __m128i q8 = _mm_loadu_si128((const __m128i*)&mtx->q_[8]); in DoQuantizeBlock_SSE41()
|
D | enc_mips32.c | 201 const uint16_t* ppq = &mtx->q_[0]; in QuantizeBlock_MIPS32()
|
D | enc_sse2.c | 1234 const __m128i q0 = _mm_loadu_si128((const __m128i*)&mtx->q_[0]); in DoQuantizeBlock_SSE2() 1235 const __m128i q8 = _mm_loadu_si128((const __m128i*)&mtx->q_[8]); in DoQuantizeBlock_SSE2()
|
D | enc_neon.c | 825 const uint16x8_t q = vld1q_u16(&mtx->q_[offset]); in Quantize_NEON()
|
D | enc.c | 662 const uint32_t Q = mtx->q_[j]; in QuantizeBlock_C()
|
/third_party/nghttp2/src/ |
D | shrpx_worker.cc | 448 q_.emplace_back(std::move(event)); in send() 464 if (q_.empty()) { in process_events() 469 wev = std::move(q_.front()); in process_events() 470 q_.pop_front(); in process_events()
|
D | shrpx_worker.h | 407 std::deque<WorkerEvent> q_; variable
|
/third_party/node/deps/brotli/c/enc/ |
D | backward_references_hq.c | 268 PosData q_[8]; member 284 PosData* q = self->q_; in StartPosQueuePush() 297 return &self->q_[(k - self->idx_) & 7]; in StartPosQueueAt()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | backward_references_hq.c | 268 PosData q_[8]; member 284 PosData* q = self->q_; in StartPosQueuePush() 297 return &self->q_[(k - self->idx_) & 7]; in StartPosQueueAt()
|