Searched defs:prob (Results 1 - 25 of 55) sorted by relevance

123

/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
H A Deval.pass.cpp36 std::vector<double> prob = d.probabilities(); local
38 assert((double)u[i]/N == prob[i]);
54 std::vector<double> prob = d.probabilities(); local
56 assert((double)u[i]/N == prob[i]);
72 std::vector<double> prob = d.probabilities(); local
74 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
90 std::vector<double> prob = d.probabilities();
91 assert((double)u[0]/N == prob[0]);
92 assert((double)u[1]/N == prob[
[all...]
H A Deval_param.pass.cpp39 std::vector<double> prob = p.probabilities(); local
41 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dentropymv.h43 vp8_prob prob[MVPcount]; /* often come in row, col pairs */ member in struct:mv_context
H A Dentropy.h47 const vp8_prob *prob; member in struct:__anon13051
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_cost.c39 const vp9_prob prob = probs[i / 2]; local
43 const int cc = c + vp9_cost_bit(prob, b);
/external/libvpx/libvpx/vp8/common/
H A Dentropymv.h43 vp8_prob prob[MVPcount]; /* often come in row, col pairs */ member in struct:mv_context
H A Dentropy.h47 const vp8_prob *prob; member in struct:__anon24842
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_cost.c39 const vp9_prob prob = probs[i / 2]; local
43 const int cc = c + vp9_cost_bit(prob, b);
/external/chromium_org/third_party/libwebp/enc/
H A Dcost.h33 ProbaArray* prob; member in struct:__anon13271
H A Dtree.c271 const uint8_t* const prob) {
272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) {
273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) {
274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) {
275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) {
276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) {
277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]);
280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) {
281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) {
282 VP8PutBit(bw, mode != B_HD_PRED, prob[
270 PutI4Mode(VP8BitWriter* const bw, int mode, const uint8_t* const prob) argument
[all...]
/external/chromium_org/third_party/libwebp/utils/
H A Dbit_reader_inl.h108 // Read a bit with proba 'prob'. Speed-critical function!
109 static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) { argument
119 const range_t split = (range * prob) >> 8;
150 // simplified version of VP8GetBit() for prob=0x80 (note shift is always 1 here)
/external/iproute2/tc/
H A Dtc_red.c28 Plog = log(prob/(qmax - qmin))
30 int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob) argument
37 prob /= i;
40 if (prob > 1.0)
42 prob *= 2;
/external/webp/src/enc/
H A Dcost.h33 ProbaArray* prob; member in struct:__anon33368
H A Dtree.c271 const uint8_t* const prob) {
272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) {
273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) {
274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) {
275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) {
276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) {
277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]);
280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) {
281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) {
282 VP8PutBit(bw, mode != B_HD_PRED, prob[
270 PutI4Mode(VP8BitWriter* const bw, int mode, const uint8_t* const prob) argument
[all...]
/external/webp/src/utils/
H A Dbit_reader_inl.h107 // Read a bit with proba 'prob'. Speed-critical function!
108 static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) { argument
118 const range_t split = (range * prob) >> 8;
149 // simplified version of VP8GetBit() for prob=0x80 (note shift is always 1 here)
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_prob.h67 const vp9_prob prob = get_binary_prob(ct[0], ct[1]); local
70 return weighted_prob(pre_prob, prob, factor);
H A Dvp9_entropy.h81 const vp9_prob *prob; member in struct:__anon13109
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_reader.h55 static INLINE int vp9_read(vp9_reader *r, int prob) { argument
61 unsigned int split = (r->range * prob + (256 - prob)) >> CHAR_BIT;
/external/chromium_org/third_party/libwebp/dec/
H A Dtree.c316 const uint8_t* const prob = kBModesProba[top[x]][ymode]; local
319 int i = kYModesIntra4[VP8GetBit(br, prob[0])];
321 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i])];
326 ymode = !VP8GetBit(br, prob[0]) ? B_DC_PRED :
327 !VP8GetBit(br, prob[1]) ? B_TM_PRED :
328 !VP8GetBit(br, prob[2]) ? B_VE_PRED :
329 !VP8GetBit(br, prob[3]) ?
330 (!VP8GetBit(br, prob[4]) ? B_HE_PRED :
331 (!VP8GetBit(br, prob[5]) ? B_RD_PRED : B_VR_PRED)) :
332 (!VP8GetBit(br, prob[
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_prob.h76 const vp9_prob prob = get_binary_prob(ct[0], ct[1]); local
79 return weighted_prob(pre_prob, prob, factor);
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_reader.h47 static int vp9_read(vp9_reader *r, int prob) { argument
53 unsigned int split = (r->range * prob + (256 - prob)) >> CHAR_BIT;
/external/webp/src/dec/
H A Dtree.c316 const uint8_t* const prob = kBModesProba[top[x]][ymode]; local
319 int i = kYModesIntra4[VP8GetBit(br, prob[0])];
321 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i])];
326 ymode = !VP8GetBit(br, prob[0]) ? B_DC_PRED :
327 !VP8GetBit(br, prob[1]) ? B_TM_PRED :
328 !VP8GetBit(br, prob[2]) ? B_VE_PRED :
329 !VP8GetBit(br, prob[3]) ?
330 (!VP8GetBit(br, prob[4]) ? B_HE_PRED :
331 (!VP8GetBit(br, prob[5]) ? B_RD_PRED : B_VR_PRED)) :
332 (!VP8GetBit(br, prob[
[all...]
/external/lzma/C/
H A DPpmd7Dec.c122 UInt16 *prob = Ppmd7_GetBinSumm(p); local
123 if (rc->DecodeBit(rc, *prob) == 0)
126 *prob = (UInt16)PPMD_UPDATE_PROB_0(*prob);
131 *prob = (UInt16)PPMD_UPDATE_PROB_1(*prob);
132 p->InitEsc = PPMD7_kExpEscape[*prob >> 10];
H A DPpmd7Enc.c117 UInt16 *prob = Ppmd7_GetBinSumm(p); local
121 RangeEnc_EncodeBit_0(rc, *prob);
122 *prob = (UInt16)PPMD_UPDATE_PROB_0(*prob);
129 RangeEnc_EncodeBit_1(rc, *prob);
130 *prob = (UInt16)PPMD_UPDATE_PROB_1(*prob);
131 p->InitEsc = PPMD7_kExpEscape[*prob >> 10];
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
H A Ddetokenize.c89 static int GetCoeffs(BOOL_DECODER *br, ProbaArray prob, argument
92 const uint8_t* p = prob[n][ctx];
102 p = prob[kBands[n]][0];
109 p = prob[kBands[n]][1];
152 p = prob[kBands[n]][2];

Completed in 417 milliseconds

123