Home
last modified time | relevance | path

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

12345678

/third_party/vk-gl-cts/modules/glshared/
DglsLongStressCase.hpp236 …FeatureProbabilities& pRebuildProgram (const float prob) { rebuildProgram = prob; return *t… in pRebuildProgram()
237 …FeatureProbabilities& pReuploadTexture (const float prob) { reuploadTexture = prob; return *… in pReuploadTexture()
238 …FeatureProbabilities& pReuploadBuffer (const float prob) { reuploadBuffer = prob; return *t… in pReuploadBuffer()
239 …FeatureProbabilities& pReuploadWithTexImage (const float prob) { reuploadWithTexImage = prob; … in pReuploadWithTexImage()
240 …tureProbabilities& pReuploadWithBufferData (const float prob) { reuploadWithBufferData = prob; … in pReuploadWithBufferData()
241 …FeatureProbabilities& pDeleteTexture (const float prob) { deleteTexture = prob; return *thi… in pDeleteTexture()
242 …FeatureProbabilities& pDeleteBuffer (const float prob) { deleteBuffer = prob; return *this… in pDeleteBuffer()
243 …robabilities& pWastefulTextureMemoryUsage (const float prob) { wastefulTextureMemoryUsage = prob;… in pWastefulTextureMemoryUsage()
244 …eProbabilities& pWastefulBufferMemoryUsage (const float prob) { wastefulBufferMemoryUsage = prob;… in pWastefulBufferMemoryUsage()
245 …eProbabilities& pClientMemoryAttributeData (const float prob) { clientMemoryAttributeData = prob;… in pClientMemoryAttributeData()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/gst/
Dtypefindfunctions.c30 GstTypeFindProbability * prob) in typefind_data() argument
42 caps = gst_type_find_helper_for_buffer (NULL, buf, prob); in typefind_data()
43 GST_INFO ("caps: %" GST_PTR_FORMAT ", probability=%u", caps, *prob); in typefind_data()
81 GstTypeFindProbability prob; in GST_START_TEST() local
95 caps = gst_type_find_helper_for_buffer (NULL, buf, &prob); in GST_START_TEST()
101 fail_unless (prob > GST_TYPE_FIND_MINIMUM && prob <= GST_TYPE_FIND_MAXIMUM); in GST_START_TEST()
112 GstTypeFindProbability prob; in GST_START_TEST() local
125 caps = gst_type_find_helper_for_buffer (NULL, buf, &prob); in GST_START_TEST()
131 fail_unless (prob > GST_TYPE_FIND_MINIMUM && prob <= GST_TYPE_FIND_MAXIMUM); in GST_START_TEST()
252 GstTypeFindProbability prob; in GST_START_TEST() local
[all …]
/third_party/ffmpeg/libavcodec/tests/
Dmjpegenc_huffman.c39 int actual_length = 0, i, j, k, prob, length; in check_lengths() local
45 val_counts[i] = (PTable){.value = i, .prob = probs[i]}; in check_lengths()
57 prob = val_counts[j].prob; in check_lengths()
60 if (prob) { in check_lengths()
61 actual_length += prob * length; in check_lengths()
121 {.value = 0, .prob = 1}, in main()
122 {.value = 1, .prob = 2}, in main()
123 {.value = 2, .prob = 5}, in main()
124 {.value = 3, .prob = 10}, in main()
125 {.value = 4, .prob = 21}, in main()
/third_party/ffmpeg/libavcodec/
Dlagarithrac.h53 uint32_t prob[258]; /**< Table of cumulative probability for each symbol. */ member
87 if (l->low < range_scaled * l->prob[255]) { in lag_get_rac()
89 if (l->low < range_scaled * l->prob[1]) { in lag_get_rac()
95 while (l->low >= range_scaled * l->prob[val + 1]) in lag_get_rac()
99 l->range = range_scaled * (l->prob[val + 1] - l->prob[val]); in lag_get_rac()
102 l->range -= range_scaled * l->prob[255]; in lag_get_rac()
108 l->low -= range_scaled * l->prob[val]; in lag_get_rac()
Dvaapi_vp8.c41 VAProbabilityDataBufferVP8 prob; in vaapi_vp8_start_frame() local
77 .prob_skip_false = s->prob->mbskip, in vaapi_vp8_start_frame()
78 .prob_intra = s->prob->intra, in vaapi_vp8_start_frame()
79 .prob_last = s->prob->last, in vaapi_vp8_start_frame()
80 .prob_gf = s->prob->golden, in vaapi_vp8_start_frame()
84 pp.mb_segment_tree_probs[i] = s->prob->segmentid[i]; in vaapi_vp8_start_frame()
113 pp.y_mode_probs[i] = s->prob->pred16x16[i]; in vaapi_vp8_start_frame()
115 pp.uv_mode_probs[i] = s->prob->pred8x8c[i]; in vaapi_vp8_start_frame()
119 pp.mv_probs[i][j] = s->prob->mvc[i][j]; in vaapi_vp8_start_frame()
139 memcpy(prob.dct_coeff_probs[i][j][k], in vaapi_vp8_start_frame()
[all …]
Dlagarith.c138 unsigned prob, cumulative_target; in lag_read_prob_header() local
143 rac->prob[0] = 0; in lag_read_prob_header()
144 rac->prob[257] = UINT_MAX; in lag_read_prob_header()
147 if (lag_decode_prob(gb, &rac->prob[i]) < 0) { in lag_read_prob_header()
151 if ((uint64_t)cumul_prob + rac->prob[i] > UINT_MAX) { in lag_read_prob_header()
155 cumul_prob += rac->prob[i]; in lag_read_prob_header()
156 if (!rac->prob[i]) { in lag_read_prob_header()
157 if (lag_decode_prob(gb, &prob)) { in lag_read_prob_header()
161 if (prob > 256 - i) in lag_read_prob_header()
162 prob = 256 - i; in lag_read_prob_header()
[all …]
Dmjpegenc_huffman.c42 return a_val.prob - b_val.prob; in compare_by_prob()
113 prob_table[i].prob < in ff_mjpegenc_huffman_compute_bits()
116 to->probability[to->nitems - 1] = prob_table[i].prob; in ff_mjpegenc_huffman_compute_bits()
178 val_counts[j].prob = s->val_count[i]; in ff_mjpeg_encode_huffman_close()
183 val_counts[j].prob = 0; in ff_mjpeg_encode_huffman_close()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dtree_dec.c324 const uint8_t* const prob = kBModesProba[top[x]][ymode]; in ParseIntraMode() local
327 int i = kYModesIntra4[VP8GetBit(br, prob[0], "pred-modes")]; in ParseIntraMode()
329 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i], "pred-modes")]; in ParseIntraMode()
334 ymode = !VP8GetBit(br, prob[0], "pred-modes") ? B_DC_PRED : in ParseIntraMode()
335 !VP8GetBit(br, prob[1], "pred-modes") ? B_TM_PRED : in ParseIntraMode()
336 !VP8GetBit(br, prob[2], "pred-modes") ? B_VE_PRED : in ParseIntraMode()
337 !VP8GetBit(br, prob[3], "pred-modes") ? in ParseIntraMode()
338 (!VP8GetBit(br, prob[4], "pred-modes") ? B_HE_PRED : in ParseIntraMode()
339 (!VP8GetBit(br, prob[5], "pred-modes") ? B_RD_PRED in ParseIntraMode()
341 (!VP8GetBit(br, prob[6], "pred-modes") ? B_LD_PRED : in ParseIntraMode()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dtree_dec.c324 const uint8_t* const prob = kBModesProba[top[x]][ymode]; in ParseIntraMode() local
327 int i = kYModesIntra4[VP8GetBit(br, prob[0], "pred-modes")]; in ParseIntraMode()
329 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i], "pred-modes")]; in ParseIntraMode()
334 ymode = !VP8GetBit(br, prob[0], "pred-modes") ? B_DC_PRED : in ParseIntraMode()
335 !VP8GetBit(br, prob[1], "pred-modes") ? B_TM_PRED : in ParseIntraMode()
336 !VP8GetBit(br, prob[2], "pred-modes") ? B_VE_PRED : in ParseIntraMode()
337 !VP8GetBit(br, prob[3], "pred-modes") ? in ParseIntraMode()
338 (!VP8GetBit(br, prob[4], "pred-modes") ? B_HE_PRED : in ParseIntraMode()
339 (!VP8GetBit(br, prob[5], "pred-modes") ? B_RD_PRED in ParseIntraMode()
341 (!VP8GetBit(br, prob[6], "pred-modes") ? B_LD_PRED : in ParseIntraMode()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dtree_enc.c271 const uint8_t* const prob) { in PutI4Mode() argument
272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { in PutI4Mode()
273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { in PutI4Mode()
274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { in PutI4Mode()
275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { in PutI4Mode()
276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { in PutI4Mode()
277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); in PutI4Mode()
280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { in PutI4Mode()
281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { in PutI4Mode()
282 VP8PutBit(bw, mode != B_HD_PRED, prob[8]); in PutI4Mode()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dtree_enc.c271 const uint8_t* const prob) { in PutI4Mode() argument
272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { in PutI4Mode()
273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { in PutI4Mode()
274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { in PutI4Mode()
275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { in PutI4Mode()
276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { in PutI4Mode()
277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); in PutI4Mode()
280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { in PutI4Mode()
281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { in PutI4Mode()
282 VP8PutBit(bw, mode != B_HD_PRED, prob[8]); in PutI4Mode()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgsttypefindhelper.h39 GstTypeFindProbability *prob);
46 GstTypeFindProbability *prob);
51 GstTypeFindProbability *prob);
57 GstTypeFindProbability *prob);
92 GstTypeFindProbability *prob);
101 GstTypeFindProbability *prob);
/third_party/mindspore/tests/st/probability/distribution/
Dtest_get_dist_args.py37 prob = self.normal1.prob(value, *args_list)
39 prob1 = self.normal2.prob(value, *args_list1)
48 return prob, prob1, kl_loss, kl_loss1
77 prob = self.expon1.prob(value, *args_list)
79 prob1 = self.expon2.prob(value, *args_list1)
88 return prob, prob1, kl_loss, kl_loss1
/third_party/mindspore/tests/ut/python/nn/probability/distribution/
Dtest_poisson.py69 prob = self.p.prob(value)
75 return prob + log_prob + cdf + log_cdf + sf + log_sf
95 prob = self.p.prob(value, rate)
101 return prob + log_prob + cdf + log_cdf + sf + log_sf
145 prob = self.p('prob', value)
148 return prob + prob1 + prob2
Dtest_logistic.py69 prob = self.logistic.prob(value)
75 return prob + log_prob + cdf + log_cdf + sf + log_sf
96 prob = self.logistic.prob(value, mu, s)
102 return prob + log_prob + cdf + log_cdf + sf + log_sf
181 prob = self.logistic('prob', value)
184 return prob + prob1 + prob2
Dtest_exponential.py65 prob = self.e.prob(value)
71 return prob + log_prob + cdf + log_cdf + sf + log_sf
91 prob = self.e.prob(value, rate)
97 return prob + log_prob + cdf + log_cdf + sf + log_sf
192 prob = self.e('prob', value)
195 return prob + prob1 + prob2
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms.py450 def __init__(self, prob=0.5): argument
451 self.prob = prob
463 return util.random_horizontal_flip(img, self.prob)
484 def __init__(self, prob=0.5): argument
485 self.prob = prob
497 return util.random_vertical_flip(img, self.prob)
897 def __init__(self, prob=0.1): argument
898 self.prob = prob
917 if self.prob > random.random():
1007 def __init__(self, distortion_scale=0.5, prob=0.5, interpolation=Inter.BICUBIC): argument
[all …]
/third_party/boost/boost/graph/
Derdos_renyi_generator.hpp128 , prob(.5) in sorted_erdos_renyi_iterator()
136 double prob = 0.5, bool loops = false) in sorted_erdos_renyi_iterator() argument
138 , rand_vertex(1. - prob) in sorted_erdos_renyi_iterator()
143 , prob(prob) in sorted_erdos_renyi_iterator()
147 if (prob == 0.0) in sorted_erdos_renyi_iterator()
216 double prob; member in boost::sorted_erdos_renyi_iterator
Dsmall_world_generator.hpp35 vertices_size_type k, double prob = 0.0, bool allow_self_loops = false) in small_world_iterator() argument
39 , prob(prob) in small_world_iterator()
67 if (x < prob) in operator ++()
122 double prob; member in boost::small_world_iterator
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Drandom_horizontal_flip_ir.cc31 …lFlipOperation::RandomHorizontalFlipOperation(float prob) : TensorOperation(true), probability_(pr… in RandomHorizontalFlipOperation() argument
54 float prob = op_params["prob"]; in from_json() local
55 *operation = std::make_shared<vision::RandomHorizontalFlipOperation>(prob); in from_json()
Drandom_vertical_flip_with_bbox_ir.cc31 RandomVerticalFlipWithBBoxOperation::RandomVerticalFlipWithBBoxOperation(float prob) in RandomVerticalFlipWithBBoxOperation() argument
32 : TensorOperation(true), probability_(prob) {} in RandomVerticalFlipWithBBoxOperation()
58 float prob = op_params["prob"]; in from_json() local
59 *operation = std::make_shared<vision::RandomVerticalFlipWithBBoxOperation>(prob); in from_json()
Drandom_vertical_flip_ir.cc31 …calFlipOperation::RandomVerticalFlipOperation(float prob) : TensorOperation(true), probability_(pr… in RandomVerticalFlipOperation() argument
55 float prob = op_params["prob"]; in from_json() local
56 *operation = std::make_shared<vision::RandomVerticalFlipOperation>(prob); in from_json()
/third_party/libnl/lib/route/qdisc/
Dnetem.c429 void rtnl_netem_set_reorder_probability(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_reorder_probability() argument
436 netem->qnm_ro.nmro_probability = prob; in rtnl_netem_set_reorder_probability()
464 void rtnl_netem_set_reorder_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_reorder_correlation() argument
471 netem->qnm_ro.nmro_correlation = prob; in rtnl_netem_set_reorder_correlation()
506 void rtnl_netem_set_corruption_probability(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_corruption_probability() argument
513 netem->qnm_crpt.nmcr_probability = prob; in rtnl_netem_set_corruption_probability()
541 void rtnl_netem_set_corruption_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_corruption_correlation() argument
548 netem->qnm_crpt.nmcr_correlation = prob; in rtnl_netem_set_corruption_correlation()
583 void rtnl_netem_set_loss(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_loss() argument
590 netem->qnm_loss = prob; in rtnl_netem_set_loss()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dvp8utils.c444 memcpy (probs->prob, vp8_token_update_probs, sizeof (vp8_token_update_probs)); in gst_vp8_token_update_probs_init()
450 memcpy (probs->prob, vp8_default_token_probs, in gst_vp8_token_probs_init_defaults()
457 memcpy (probs->prob, vp8_mv_update_probs, sizeof (vp8_mv_update_probs)); in gst_vp8_mv_update_probs_init()
463 memcpy (probs->prob, vp8_default_mv_probs, sizeof (vp8_default_mv_probs)); in gst_vp8_mv_probs_init_defaults()
/third_party/mindspore/mindspore/nn/probability/distribution/
Duniform.py274 prob = self.exp(neg_ones * self.log(high - low))
275 broadcast_shape = self.shape(prob)
276 zeros = self.fill(self.dtypeop(prob), broadcast_shape, 0.0)
279 less_than_low = self.select(comp_lo, zeros, prob)
322 prob = (value - low) / (high - low)
323 broadcast_shape = self.shape(prob)
324 zeros = self.fill(self.dtypeop(prob), broadcast_shape, 0.0)
325 ones = self.fill(self.dtypeop(prob), broadcast_shape, 1.0)
328 less_than_low = self.select(comp_lo, zeros, prob)

12345678