Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 23 of 23) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_prob.c36 const unsigned int *counts, in tree_merge_probs_impl() argument
42 ? counts[-l] in tree_merge_probs_impl()
43 : tree_merge_probs_impl(l, tree, pre_probs, counts, in tree_merge_probs_impl()
47 ? counts[-r] in tree_merge_probs_impl()
48 : tree_merge_probs_impl(r, tree, pre_probs, counts, in tree_merge_probs_impl()
57 const unsigned int *counts, unsigned int count_sat, in vp9_tree_merge_probs() argument
59 tree_merge_probs_impl(0, tree, pre_probs, counts, count_sat, in vp9_tree_merge_probs()
Dvp9_entropymode.c345 const vp9_prob *pre_probs, const unsigned int *counts, in adapt_probs() argument
347 vp9_tree_merge_probs(tree, pre_probs, counts, COUNT_SAT, MAX_UPDATE_FACTOR, in adapt_probs()
355 const FRAME_COUNTS *counts = &cm->counts; in vp9_adapt_mode_probs() local
359 counts->intra_inter[i]); in vp9_adapt_mode_probs()
362 counts->comp_inter[i]); in vp9_adapt_mode_probs()
365 counts->comp_ref[i]); in vp9_adapt_mode_probs()
369 counts->single_ref[i][j]); in vp9_adapt_mode_probs()
373 counts->inter_mode[i], fc->inter_mode_probs[i]); in vp9_adapt_mode_probs()
377 counts->y_mode[i], fc->y_mode_prob[i]); in vp9_adapt_mode_probs()
381 counts->uv_mode[i], fc->uv_mode_prob[i]); in vp9_adapt_mode_probs()
[all …]
Dvp9_entropymv.c171 void vp9_inc_mv(const MV *mv, nmv_context_counts *counts) { in vp9_inc_mv() argument
172 if (counts != NULL) { in vp9_inc_mv()
174 ++counts->joints[j]; in vp9_inc_mv()
177 inc_mv_component(mv->row, &counts->comps[0], 1, 1); in vp9_inc_mv()
181 inc_mv_component(mv->col, &counts->comps[1], 1, 1); in vp9_inc_mv()
191 const unsigned int *counts, vp9_prob *probs) { in adapt_probs() argument
192 vp9_tree_merge_probs(tree, pre_probs, counts, MV_COUNT_SAT, in adapt_probs()
201 const nmv_context_counts *counts = &cm->counts.mv; in vp9_adapt_mv_probs() local
203 adapt_probs(vp9_mv_joint_tree, pre_fc->joints, counts->joints, fc->joints); in vp9_adapt_mv_probs()
208 const nmv_component_counts *c = &counts->comps[i]; in vp9_adapt_mv_probs()
Dvp9_entropy.c742 vp9_coeff_count_model *counts = cm->counts.coef[tx_size]; in adapt_coef_probs() local
744 cm->counts.eob_branch[tx_size]; in adapt_coef_probs()
751 const int n0 = counts[i][j][k][l][ZERO_TOKEN]; in adapt_coef_probs()
752 const int n1 = counts[i][j][k][l][ONE_TOKEN]; in adapt_coef_probs()
753 const int n2 = counts[i][j][k][l][TWO_TOKEN]; in adapt_coef_probs()
754 const int neob = counts[i][j][k][l][EOB_MODEL_TOKEN]; in adapt_coef_probs()
Dvp9_prob.h83 const unsigned int *counts, unsigned int count_sat,
Dvp9_onyxc_int.h179 FRAME_COUNTS counts; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodemv.c151 const unsigned int counts[/*n - 1*/], in write_mv_update()
159 vp9_tree_probs_from_distribution(tree, branch_ct, counts); in write_mv_update()
167 nmv_context_counts *const counts = &cm->counts.mv; in vp9_write_nmv_probs() local
169 write_mv_update(vp9_mv_joint_tree, mvc->joints, counts->joints, MV_JOINTS, w); in vp9_write_nmv_probs()
173 nmv_component_counts *comp_counts = &counts->comps[i]; in vp9_write_nmv_probs()
187 counts->comps[i].class0_fp[j], MV_FP_SIZE, w); in vp9_write_nmv_probs()
189 write_mv_update(vp9_mv_fp_tree, mvc->comps[i].fp, counts->comps[i].fp, in vp9_write_nmv_probs()
195 update_mv(w, counts->comps[i].class0_hp, &mvc->comps[i].class0_hp, in vp9_write_nmv_probs()
197 update_mv(w, counts->comps[i].hp, &mvc->comps[i].hp, MV_UPDATE_PROB); in vp9_write_nmv_probs()
233 nmv_context_counts *counts) { in inc_mvs() argument
[all …]
Dvp9_tokenize.c182 unsigned int *counts) { in add_token() argument
188 ++counts[token]; in add_token()
195 unsigned int *counts) { in add_token_no_extra() argument
200 ++counts[token]; in add_token_no_extra()
229 unsigned int (*const counts)[COEFF_CONTEXTS][ENTROPY_TOKENS] = in tokenize_b() local
234 cpi->common.counts.eob_branch[tx_size][type][ref]; in tokenize_b()
255 counts[band[c]][pt]); in tokenize_b()
269 counts[band[c]][pt]); in tokenize_b()
279 counts[band[c]][pt]); in tokenize_b()
320 cm->counts.skip[ctx][1] += skip_inc; in vp9_tokenize_sb()
[all …]
Dvp9_bitstream.c69 const unsigned int counts[/*n - 1*/], in prob_diff_update()
77 vp9_tree_probs_from_distribution(tree, branch_ct, counts); in prob_diff_update()
113 vp9_cond_prob_diff_update(w, &cm->fc.skip_probs[k], cm->counts.skip[k]); in update_skip_probs()
121 cm->counts.switchable_interp[j], SWITCHABLE_FILTERS, w); in update_switchable_interp_probs()
291 ++cm->counts.inter_mode[mode_ctx][INTER_OFFSET(mode)]; in pack_inter_mode_mvs()
313 ++cm->counts.inter_mode[mode_ctx][INTER_OFFSET(b_mode)]; in pack_inter_mode_mvs()
492 cpi->common.counts.eob_branch[tx_size]; in build_tree_distribution()
820 tx_counts_to_branch_counts_8x8(cm->counts.tx.p8x8[i], ct_8x8p); in encode_txfm_probs()
826 tx_counts_to_branch_counts_16x16(cm->counts.tx.p16x16[i], ct_16x16p); in encode_txfm_probs()
833 tx_counts_to_branch_counts_32x32(cm->counts.tx.p32x32[i], ct_32x32p); in encode_txfm_probs()
[all …]
Dvp9_encodeframe.c955 ++cm->counts.switchable_interp[ctx][mbmi->interp_filter]; in update_state()
1112 FRAME_COUNTS *const counts = &cm->counts; in update_stats() local
1115 counts->intra_inter[vp9_get_intra_inter_context(xd)][inter_block]++; in update_stats()
1124 counts->comp_inter[vp9_get_reference_mode_context(cm, xd)] in update_stats()
1128 counts->comp_ref[vp9_get_pred_context_comp_ref_p(cm, xd)] in update_stats()
1131 counts->single_ref[vp9_get_pred_context_single_ref_p1(xd)][0] in update_stats()
1134 counts->single_ref[vp9_get_pred_context_single_ref_p2(xd)][1] in update_stats()
1273 cm->counts.partition[ctx][PARTITION_NONE]++; in encode_sb()
1278 cm->counts.partition[ctx][PARTITION_VERT]++; in encode_sb()
1288 cm->counts.partition[ctx][PARTITION_HORZ]++; in encode_sb()
[all …]
Dvp9_onyx_if.c1500 vp9_zero(cpi->common.counts.uv_mode); in vp9_create_compressor()
2756 full_to_model_counts(cm->counts.coef[t], cpi->coef_counts[t]);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodemv.c35 ++cm->counts.y_mode[size_group][y_mode]; in read_intra_mode_y()
44 ++cm->counts.uv_mode[y_mode][uv_mode]; in read_intra_mode_uv()
53 ++cm->counts.inter_mode[ctx][mode]; in read_inter_mode()
74 ++get_tx_counts(max_tx_size, ctx, &cm->counts.tx)[tx_size]; in read_selected_tx_size()
156 ++cm->counts.skip[ctx][skip]; in read_skip()
239 nmv_context_counts *counts, int allow_hp) { in read_mv() argument
251 vp9_inc_mv(&diff, counts); in read_mv()
265 ++cm->counts.comp_inter[ctx][mode]; in read_block_reference_mode()
277 FRAME_COUNTS *const counts = &cm->counts; in read_ref_frames() local
291 ++counts->comp_ref[ctx][bit]; in read_ref_frames()
[all …]
Dvp9_decodeframe.c400 ++cm->counts.partition[ctx][p]; in read_partition()
1224 assert(!memcmp(cm->counts.y_mode, zero_counts.y_mode, in debug_check_frame_counts()
1225 sizeof(cm->counts.y_mode))); in debug_check_frame_counts()
1226 assert(!memcmp(cm->counts.uv_mode, zero_counts.uv_mode, in debug_check_frame_counts()
1227 sizeof(cm->counts.uv_mode))); in debug_check_frame_counts()
1228 assert(!memcmp(cm->counts.partition, zero_counts.partition, in debug_check_frame_counts()
1229 sizeof(cm->counts.partition))); in debug_check_frame_counts()
1230 assert(!memcmp(cm->counts.coef, zero_counts.coef, in debug_check_frame_counts()
1231 sizeof(cm->counts.coef))); in debug_check_frame_counts()
1232 assert(!memcmp(cm->counts.eob_branch, zero_counts.eob_branch, in debug_check_frame_counts()
[all …]
Dvp9_detokenize.c88 FRAME_COUNTS *const counts = &cm->counts; in decode_coefs() local
95 counts->coef[tx_size][type][ref]; in decode_coefs()
97 counts->eob_branch[tx_size][type][ref]; in decode_coefs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Drate_hist.c247 void show_q_histogram(const int counts[64], int max_buckets) { in show_q_histogram()
255 if (counts[i]) { in show_q_histogram()
257 bucket[buckets].count = counts[i]; in show_q_histogram()
259 total += counts[i]; in show_q_histogram()
Drate_hist.h31 void show_q_histogram(const int counts[64], int max_buckets);
Dvpxenc.c627 int counts[64]; member
1309 stream->counts[q]++; in update_quantizer_histogram()
1785 FOREACH_STREAM(show_q_histogram(stream->counts, in main()
/hardware/intel/img/libdrm/libdrm/
Dxf86drmMode.c361 struct drm_mode_get_connector conn, counts; in drmModeGetConnector() local
371 counts = conn; in drmModeGetConnector()
401 if (counts.count_props < conn.count_props || in drmModeGetConnector()
402 counts.count_modes < conn.count_modes || in drmModeGetConnector()
403 counts.count_encoders < conn.count_encoders) { in drmModeGetConnector()
/hardware/ti/omap4xxx/hwc/
Dhwc.c951 struct counts { struct
966 static void gather_layer_statistics(omap4_hwc_device_t *hwc_dev, struct counts *num, hwc_display_co… in gather_layer_statistics() argument
1002 static void decide_supported_cloning(omap4_hwc_device_t *hwc_dev, struct counts *num) in decide_supported_cloning()
1058 static int can_dss_render_all(omap4_hwc_device_t *hwc_dev, struct counts *num) in can_dss_render_all()
1227 struct counts num = { .composited_layers = list ? list->numHwLayers : 0 }; in omap4_hwc_prepare()
/hardware/ti/omap4-aah/hwc/
Dhwc.c141 struct counts { struct
207 struct counts stats;
1212 static void gather_layer_statistics(omap4_hwc_device_t *hwc_dev, struct counts *num, hwc_display_co… in gather_layer_statistics()
1252 static void decide_supported_cloning(omap4_hwc_device_t *hwc_dev, struct counts *num) in decide_supported_cloning()
1317 static int can_dss_render_all(omap4_hwc_device_t *hwc_dev, struct counts *num) in can_dss_render_all()
1669 struct counts num = { .composited_layers = list ? list->numHwLayers : 0 }; in omap4_hwc_prepare()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest-all.cc4246 const std::string counts = in OnTestCaseStart() local
4249 printf("%s from %s", counts.c_str(), test_case.name()); in OnTestCaseStart()
4299 const std::string counts = in OnTestCaseEnd() local
4303 counts.c_str(), test_case.name(), in OnTestCaseEnd()
/hardware/intel/bootstub/
DLICENSE176 access to copy the source code from the same place counts as
/hardware/ti/omap3/dspbridge/libbridge/
DCOPYING9 [This is the first released version of the Lesser GPL. It also counts