Home
last modified time | relevance | path

Searched refs:prob (Results 1 – 25 of 32) sorted by relevance

12

/external/webp/src/enc/
Dtree.c274 const uint8_t* const prob) { in PutI4Mode() argument
275 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { in PutI4Mode()
276 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { in PutI4Mode()
277 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { in PutI4Mode()
278 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { in PutI4Mode()
279 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { in PutI4Mode()
280 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); in PutI4Mode()
283 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { in PutI4Mode()
284 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { in PutI4Mode()
285 VP8PutBit(bw, mode != B_HD_PRED, prob[8]); in PutI4Mode()
Dframe.c35 ProbaArray* prob; member
220 res->prob = enc->proba_.coeffs_[coeff_type]; in InitResidual()
244 int p0 = res->prob[VP8EncBands[n]][ctx][0]; in GetResidualCost()
266 p0 = res->prob[b][1][0]; in GetResidualCost()
270 p0 = res->prob[b][2][0]; in GetResidualCost()
345 const uint8_t* p = res->prob[VP8EncBands[n]][ctx]; in PutCoeffs()
355 p = res->prob[VP8EncBands[n]][0]; in PutCoeffs()
359 p = res->prob[VP8EncBands[n]][1]; in PutCoeffs()
404 p = res->prob[VP8EncBands[n]][2]; in PutCoeffs()
/external/webp/src/dec/
Dtree.c356 const uint8_t* const prob = kBModesProba[top[x]][ymode]; in VP8ParseIntraMode() local
361 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i])]; in VP8ParseIntraMode()
366 ymode = !VP8GetBit(br, prob[0]) ? B_DC_PRED : in VP8ParseIntraMode()
367 !VP8GetBit(br, prob[1]) ? B_TM_PRED : in VP8ParseIntraMode()
368 !VP8GetBit(br, prob[2]) ? B_VE_PRED : in VP8ParseIntraMode()
369 !VP8GetBit(br, prob[3]) ? in VP8ParseIntraMode()
370 (!VP8GetBit(br, prob[4]) ? B_HE_PRED : in VP8ParseIntraMode()
371 (!VP8GetBit(br, prob[5]) ? B_RD_PRED : B_VR_PRED)) : in VP8ParseIntraMode()
372 (!VP8GetBit(br, prob[6]) ? B_LD_PRED : in VP8ParseIntraMode()
373 (!VP8GetBit(br, prob[7]) ? B_VL_PRED : in VP8ParseIntraMode()
[all …]
Dvp8.c480 static int GetCoeffs(VP8BitReader* const br, ProbaArray prob, in GetCoeffs() argument
483 const uint8_t* p = prob[n][ctx]; in GetCoeffs()
490 p = prob[kBands[n]][0]; in GetCoeffs()
494 p = prob[kBands[n]][1]; in GetCoeffs()
523 p = prob[kBands[n]][2]; in GetCoeffs()
/external/iproute2/tc/
Dtc_red.c30 int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob) in tc_red_eval_P() argument
37 prob /= i; in tc_red_eval_P()
40 if (prob > 1.0) in tc_red_eval_P()
42 prob *= 2; in tc_red_eval_P()
Dtc_red.h4 extern int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob);
/external/libvpx/vp8/encoder/
Dencodemv.c29 const vp8_prob *p = mvc->prob; in encode_mvcomponent()
102 const vp8_prob *p = mvc->prob; in cost_mvcomponent()
174 mvcost [0] [i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
175 mvcost [0] [-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
191 mvcost [1] [i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
192 mvcost [1] [-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
262 vp8_prob *Pcur = cur_mvc->prob; in write_component_probs()
263 const vp8_prob *default_mvc = default_mvc_->prob; in write_component_probs()
264 const vp8_prob *Pupdate = update_mvc->prob; in write_component_probs()
Dasm_enc_offsets.c79 DEFINE(vp8_extra_bit_struct_prob, offsetof(vp8_extra_bit_struct, prob));
Dbitstream.c253 const unsigned char *pp = b->prob; in pack_tokens_c()
468 const unsigned char *pp = b->prob; in pack_tokens_into_partitions_c()
672 const unsigned char *pp = b->prob; in pack_mb_row_tokens_c()
Dtokenize.c81 cost += vp8_treed_cost(p->tree, p->prob, extra >> 1, Length); in fill_value_tokens()
/external/iproute2/examples/diffserv/
Dafcbq80 $prob = $drop*0.02;
85 "probability $prob ".
90 "probability $prob \n";
/external/opencv/ml/src/
Dml_inner_functions.cpp1150 const CvMat* prob, float** _row_sample, in cvPreparePredictData() argument
1195 if( prob ) in cvPreparePredictData()
1197 if( !CV_IS_MAT(prob) ) in cvPreparePredictData()
1200 if( (prob->rows != 1 && prob->cols != 1) || in cvPreparePredictData()
1201 CV_MAT_TYPE(prob->type) != CV_32FC1 && in cvPreparePredictData()
1202 CV_MAT_TYPE(prob->type) != CV_64FC1 ) in cvPreparePredictData()
1206 if( prob->rows + prob->cols - 1 != class_count ) in cvPreparePredictData()
1854 double prob, maxprob, sum; in icvGetNumberOfCluster() local
1865 prob = prob_vector[i]; in icvGetNumberOfCluster()
1866 sum += prob; in icvGetNumberOfCluster()
[all …]
Dmlem.cpp369 CvMat prob = cvMat( 1, nclusters, CV_64F ); in train() local
376 prob.data.ptr = probs->data.ptr + probs->step*i; in train()
378 labels->data.i[i*lstep] = cvRound(predict(&sample, &prob)); in train()
414 CvMat prob; in init_em() local
415 cvGetRow( params.probs, &prob, i ); in init_em()
416 cvMaxS( &prob, 0., &prob ); in init_em()
417 cvMinMaxLoc( &prob, 0, &maxval ); in init_em()
419 cvSet( &prob, cvScalar(1./nclusters) ); in init_em()
421 cvNormalize( &prob, &prob, 1., 0, CV_L1 ); in init_em()
D_ml.h314 int class_count, const CvMat* prob, float** row_sample,
/external/libvpx/vp8/common/
Dentropymv.h37 vp8_prob prob[MVPcount]; /* often come in row, col pairs */ member
Dentropy.h44 const vp8_prob *prob; member
/external/webp/src/utils/
Dbit_reader.h131 static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) { in VP8GetBit() argument
135 (bit_t)((uint32_t)(br->range_ >> (BITS)) * prob) << ((BITS) - 8); in VP8GetBit()
Dbit_writer.c104 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob) { in VP8PutBit() argument
105 const int split = (bw->range_ * prob) >> 8; in VP8PutBit()
Dbit_writer.h44 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob);
/external/llvm/test/CodeGen/Generic/
Dstop-after.ll8 ; START: -machine-branch-prob -gc-lowering
/external/openfst/src/include/fst/
Drandgen.h459 double prob = static_cast<double>(count)/rstate.nsamples; in Expand() local
463 Weight weight = weighted_ ? to_weight_(-log(prob)) : Weight::One(); in Expand()
473 to_weight_(-log(prob)) : to_weight_(-log(prob * npath_)); in Expand()
/external/llvm/test/Analysis/BranchProbabilityInfo/
Dnoreturn.ll2 ; RUN: opt < %s -analyze -branch-prob | FileCheck %s
Dbasic.ll1 ; RUN: opt < %s -analyze -branch-prob | FileCheck %s
/external/opencv/cvaux/src/
Dcvhmm1d.cpp718 double prob = -state[l].log_var_val[m];
722 prob -= t*t;
724 log_mp[l] = MAX( (float)prob, -500 );
Dcvhmm.cpp783 double prob = -state[l].log_var_val[m]; in icvEstimateObsProb() local
787 prob -= t*t; in icvEstimateObsProb()
789 log_mp[l] = MAX( (float)prob, -500 ); in icvEstimateObsProb()
1097 float* prob ) in icvViterbiSegmentation() argument
1136 CvVect32f m_MaxGamma = prob; in icvViterbiSegmentation()

12