Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 25 of 36) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_entropymode.c317 void vp9_init_mode_probs(FRAME_CONTEXT *fc) { in vp9_init_mode_probs() argument
318 vp9_copy(fc->uv_mode_prob, default_if_uv_probs); in vp9_init_mode_probs()
319 vp9_copy(fc->y_mode_prob, default_if_y_probs); in vp9_init_mode_probs()
320 vp9_copy(fc->switchable_interp_prob, default_switchable_interp_prob); in vp9_init_mode_probs()
321 vp9_copy(fc->partition_prob, default_partition_probs); in vp9_init_mode_probs()
322 vp9_copy(fc->intra_inter_prob, default_intra_inter_p); in vp9_init_mode_probs()
323 vp9_copy(fc->comp_inter_prob, default_comp_inter_p); in vp9_init_mode_probs()
324 vp9_copy(fc->comp_ref_prob, default_comp_ref_p); in vp9_init_mode_probs()
325 vp9_copy(fc->single_ref_prob, default_single_ref_p); in vp9_init_mode_probs()
326 fc->tx_probs = default_tx_probs; in vp9_init_mode_probs()
[all …]
Dvp9_pred_common.h57 return cm->fc.skip_probs[vp9_get_skip_context(xd)]; in vp9_get_skip_prob()
66 return cm->fc.intra_inter_prob[vp9_get_intra_inter_context(xd)]; in vp9_get_intra_inter_prob()
73 return cm->fc.comp_inter_prob[vp9_get_reference_mode_context(cm, xd)]; in vp9_get_reference_mode_prob()
82 return cm->fc.comp_ref_prob[pred_context]; in vp9_get_pred_prob_comp_ref_p()
89 return cm->fc.single_ref_prob[vp9_get_pred_context_single_ref_p1(xd)][0]; in vp9_get_pred_prob_single_ref_p1()
96 return cm->fc.single_ref_prob[vp9_get_pred_context_single_ref_p2(xd)][1]; in vp9_get_pred_prob_single_ref_p2()
Dvp9_entropy.c723 vp9_copy(cm->fc.coef_probs[TX_4X4], default_coef_probs_4x4); in vp9_default_coef_probs()
724 vp9_copy(cm->fc.coef_probs[TX_8X8], default_coef_probs_8x8); in vp9_default_coef_probs()
725 vp9_copy(cm->fc.coef_probs[TX_16X16], default_coef_probs_16x16); in vp9_default_coef_probs()
726 vp9_copy(cm->fc.coef_probs[TX_32X32], default_coef_probs_32x32); in vp9_default_coef_probs()
740 vp9_coeff_probs_model *const probs = cm->fc.coef_probs[tx_size]; in adapt_coef_probs()
Dvp9_entropymv.c199 nmv_context *fc = &cm->fc.nmvc; 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()
206 nmv_component *comp = &fc->comps[i]; in vp9_adapt_mv_probs()
232 cm->fc.nmvc = default_nmv_context; in vp9_init_mv_probs()
Dvp9_onyxc_int.h176 FRAME_CONTEXT fc; /* this frame entropy */ member
256 : cm->fc.partition_prob[ctx]; in get_partition_probs()
Dvp9_entropymode.h89 void vp9_init_mode_probs(FRAME_CONTEXT *fc);
/hardware/intel/common/libwsbm/src/
Dwsbm_fencemgr.c132 struct _WsbmFenceClass *fc = &tmp->classes[i]; in wsbmFenceMgrCreate() local
134 WSBMINITLISTHEAD(&fc->head); in wsbmFenceMgrCreate()
135 ret = WSBM_MUTEX_INIT(&fc->mutex); in wsbmFenceMgrCreate()
138 ret = WSBM_MUTEX_INIT(&fc->cmd_mutex); in wsbmFenceMgrCreate()
140 WSBM_MUTEX_FREE(&fc->mutex); in wsbmFenceMgrCreate()
172 struct _WsbmFenceClass *fc = &mgr->classes[fence->fence_class]; in wsbmFenceUnreference() local
174 WSBM_MUTEX_LOCK(&fc->mutex); in wsbmFenceUnreference()
176 WSBM_MUTEX_UNLOCK(&fc->mutex); in wsbmFenceUnreference()
190 struct _WsbmFenceClass *fc = &mgr->classes[fence_class]; in wsbmSignalPreviousFences() local
196 WSBM_MUTEX_LOCK(&fc->mutex); in wsbmSignalPreviousFences()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dmodecosts.c41 vp8_cost_tokens(rd_costs->inter_bmode_costs, x->fc.bmode_prob, T); in vp8_init_mode_costs()
43 vp8_cost_tokens(rd_costs->inter_bmode_costs, x->fc.sub_mv_ref_prob, in vp8_init_mode_costs()
46 vp8_cost_tokens(rd_costs->mbmode_cost[1], x->fc.ymode_prob, vp8_ymode_tree); in vp8_init_mode_costs()
50 vp8_cost_tokens(rd_costs->intra_uv_mode_cost[1], x->fc.uv_mode_prob, in vp8_init_mode_costs()
Dtokenize.c132 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt]; in tokenize2nd_order_b()
147 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt]; in tokenize2nd_order_b()
164 t->context_tree = cpi->common.fc.coef_probs [1] [band] [pt]; in tokenize2nd_order_b()
177 t->context_tree = cpi->common.fc.coef_probs [1] [band] [pt]; in tokenize2nd_order_b()
231 t->context_tree = cpi->common.fc.coef_probs [type] [c] [pt]; in tokenize1st_order_b()
247 t->context_tree = cpi->common.fc.coef_probs [type] [c] [pt]; in tokenize1st_order_b()
265 t->context_tree = cpi->common.fc.coef_probs [type] [band] [pt]; in tokenize1st_order_b()
277 t->context_tree = cpi->common.fc.coef_probs [type] [band] [pt]; in tokenize1st_order_b()
304 t->context_tree = cpi->common.fc.coef_probs [2] [0] [pt]; in tokenize1st_order_b()
320 t->context_tree = cpi->common.fc.coef_probs [2] [0] [pt]; in tokenize1st_order_b()
[all …]
Dratectrl.c231 vp8_copy(cc->mvc, cpi->common.fc.mvc); in vp8_save_coding_context()
234 vp8_copy(cc->ymode_prob, cpi->common.fc.ymode_prob); in vp8_save_coding_context()
235 vp8_copy(cc->uv_mode_prob, cpi->common.fc.uv_mode_prob); in vp8_save_coding_context()
268 vp8_copy(cpi->common.fc.mvc, cc->mvc); in vp8_restore_coding_context()
272 vp8_copy(cpi->common.fc.ymode_prob, cc->ymode_prob); in vp8_restore_coding_context()
273 vp8_copy(cpi->common.fc.uv_mode_prob, cc->uv_mode_prob); in vp8_restore_coding_context()
299 vpx_memcpy(cpi->common.fc.mvc, vp8_default_mv_context, sizeof(vp8_default_mv_context)); in vp8_setup_key_frame()
302 … vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cpi->common.fc.mvc, flag); in vp8_setup_key_frame()
308 vpx_memcpy(&cpi->lfc_a, &cpi->common.fc, sizeof(cpi->common.fc)); in vp8_setup_key_frame()
309 vpx_memcpy(&cpi->lfc_g, &cpi->common.fc, sizeof(cpi->common.fc)); in vp8_setup_key_frame()
[all …]
Dbitstream.c121 Pnew, x->fc.ymode_prob, bct, (unsigned int *)cpi->mb.ymode_count in update_mbintra_mode_probs()
130 Pnew, x->fc.uv_mode_prob, bct, (unsigned int *)cpi->mb.uv_mode_count in update_mbintra_mode_probs()
521 const MV_CONTEXT *mvc = pc->fc.mvc; in pack_inter_mode_mvs()
599 write_ymode(w, mode, pc->fc.ymode_prob); in pack_inter_mode_mvs()
606 write_bmode(w, m->bmi[j].as_mode, pc->fc.bmode_prob); in pack_inter_mode_mvs()
610 write_uv_mode(w, mi->uv_mode, pc->fc.uv_mode_prob); in pack_inter_mode_mvs()
897 const vp8_prob oldp = cpi->common.fc.coef_probs [i][j][k][t]; in independent_coef_context_savings()
958 const vp8_prob oldp = cpi->common.fc.coef_probs [i][j][k][t]; in default_coef_context_savings()
1105 const vp8_prob oldp = cpi->common.fc.coef_probs[i][j] in vp8_update_coef_probs()
1130 vp8_prob *Pold = cpi->common.fc.coef_probs [i][j][k] + t; in vp8_update_coef_probs()
[all …]
Dencodemv.c360 MV_CONTEXT *mvc = cpi->common.fc.mvc; in vp8_write_mvprobs()
375 … vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cpi->common.fc.mvc, flags); in vp8_write_mvprobs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddetokenize.c173 const FRAME_CONTEXT * const fc = &dx->common.fc; in vp8_decode_mb_tokens() local
195 coef_probs = fc->coef_probs [1]; in vp8_decode_mb_tokens()
203 coef_probs = fc->coef_probs [0]; in vp8_decode_mb_tokens()
208 coef_probs = fc->coef_probs [3]; in vp8_decode_mb_tokens()
226 coef_probs = fc->coef_probs [2]; in vp8_decode_mb_tokens()
Ddecodemv.c154 MV_CONTEXT *const mvc = pbi->common.fc.mvc; in mb_mode_mv_init()
181 pbi->common.fc.ymode_prob[i] = in mb_mode_mv_init()
193 pbi->common.fc.uv_mode_prob[i] = in mb_mode_mv_init()
457 MV_CONTEXT *const mvc = pbi->common.fc.mvc; in read_mb_modes_mv()
560 if ((mbmi->mode = read_ymode(bc, pbi->common.fc.ymode_prob)) == B_PRED) in read_mb_modes_mv()
566 mi->bmi[j].as_mode = read_bmode(bc, pbi->common.fc.bmode_prob); in read_mb_modes_mv()
571 mbmi->uv_mode = read_uv_mode(bc, pbi->common.fc.uv_mode_prob); in read_mb_modes_mv()
Ddecodeframe.c910 vpx_memcpy(pc->fc.mvc, vp8_default_mv_context, sizeof(vp8_default_mv_context)); in init_frame()
1272 vpx_memcpy(&pc->lfc, &pc->fc, sizeof(pc->fc)); in vp8_decode_frame()
1307 vp8_prob *const p = pc->fc.coef_probs [i][j][k] + l; in vp8_decode_frame()
1314 if (k > 0 && *p != pc->fc.coef_probs[i][j][k-1][l]) in vp8_decode_frame()
1374 vpx_memcpy(&pc->fc, &pc->lfc, sizeof(pc->fc)); in vp8_decode_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dentropymode.c162 vpx_memcpy(x->fc.ymode_prob, vp8_ymode_prob, sizeof(vp8_ymode_prob)); in vp8_init_mbmode_probs()
163 vpx_memcpy(x->fc.uv_mode_prob, vp8_uv_mode_prob, sizeof(vp8_uv_mode_prob)); in vp8_init_mbmode_probs()
164 vpx_memcpy(x->fc.sub_mv_ref_prob, sub_mv_ref_prob, sizeof(sub_mv_ref_prob)); in vp8_init_mbmode_probs()
Dentropy.c186 vpx_memcpy(pc->fc.coef_probs, default_coef_probs, in vp8_default_coef_probs()
Donyxc_int.h156 FRAME_CONTEXT fc; /* this frame entropy */ member
Dalloccommon.c168 vp8_default_bmode_probs(oci->fc.bmode_prob); in vp8_create_common()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodemv.c33 cm->fc.y_mode_prob[size_group]); in read_intra_mode_y()
42 cm->fc.uv_mode_prob[y_mode]); in read_intra_mode_uv()
51 cm->fc.inter_mode_probs[ctx]); in read_inter_mode()
65 const vp9_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc.tx_probs); in read_selected_tx_size()
154 const int skip = vp9_read(r, cm->fc.skip_probs[ctx]); in read_skip()
263 (REFERENCE_MODE)vp9_read(r, cm->fc.comp_inter_prob[ctx]); in read_block_reference_mode()
276 FRAME_CONTEXT *const fc = &cm->fc; in read_ref_frames() local
289 const int bit = vp9_read(r, fc->comp_ref_prob[ctx]); in read_ref_frames()
296 const int bit0 = vp9_read(r, fc->single_ref_prob[ctx0][0]); in read_ref_frames()
301 const int bit1 = vp9_read(r, fc->single_ref_prob[ctx1][1]); in read_ref_frames()
[all …]
Dvp9_decodeframe.c104 static void read_switchable_interp_probs(FRAME_CONTEXT *fc, vp9_reader *r) { in read_switchable_interp_probs() argument
108 vp9_diff_update_prob(r, &fc->switchable_interp_prob[j][i]); in read_switchable_interp_probs()
111 static void read_inter_mode_probs(FRAME_CONTEXT *fc, vp9_reader *r) { in read_inter_mode_probs() argument
115 vp9_diff_update_prob(r, &fc->inter_mode_probs[i][j]); in read_inter_mode_probs()
130 FRAME_CONTEXT *const fc = &cm->fc; in read_frame_reference_mode_probs() local
135 vp9_diff_update_prob(r, &fc->comp_inter_prob[i]); in read_frame_reference_mode_probs()
139 vp9_diff_update_prob(r, &fc->single_ref_prob[i][0]); in read_frame_reference_mode_probs()
140 vp9_diff_update_prob(r, &fc->single_ref_prob[i][1]); in read_frame_reference_mode_probs()
145 vp9_diff_update_prob(r, &fc->comp_ref_prob[i]); in read_frame_reference_mode_probs()
482 static void read_coef_probs(FRAME_CONTEXT *fc, TX_MODE tx_mode, in read_coef_probs() argument
[all …]
Dvp9_detokenize.c87 const FRAME_CONTEXT *const fc = &cm->fc; in decode_coefs() local
92 fc->coef_probs[tx_size][type][ref]; in decode_coefs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_bitstream.c88 &cpi->common.fc.tx_probs); in write_selected_tx_size()
113 vp9_cond_prob_diff_update(w, &cm->fc.skip_probs[k], cm->counts.skip[k]); in update_skip_probs()
120 cm->fc.switchable_interp_prob[j], in update_switchable_interp_probs()
231 const nmv_context *nmvc = &cm->fc.nmvc; in pack_inter_mode_mvs()
269 write_intra_mode(w, mode, cm->fc.y_mode_prob[size_group_lookup[bsize]]); in pack_inter_mode_mvs()
277 write_intra_mode(w, b_mode, cm->fc.y_mode_prob[0]); in pack_inter_mode_mvs()
281 write_intra_mode(w, mbmi->uv_mode, cm->fc.uv_mode_prob[mode]); in pack_inter_mode_mvs()
284 const vp9_prob *const inter_probs = cm->fc.inter_mode_probs[mode_ctx]; in pack_inter_mode_mvs()
298 cm->fc.switchable_interp_prob[ctx], in pack_inter_mode_mvs()
519 cpi->common.fc.coef_probs[tx_size]; in update_coef_probs_common()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dmain.c851 FILE *fc = fopen("invcal.bin", "rb"); in main() local
852 if (fc != NULL) { in main()
856 rd = fread(&sz, sizeof(size_t), 1, fc); in main()
864 fread(cal_ptr, sz - sizeof(size_t), 1, fc); in main()
874 fclose(fc); in main()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
D802.11.h111 uint16 fc; /* frame control */ member
123 uint16 fc; /* frame control */ member
131 uint16 fc; /* frame control */ member
138 uint16 fc; /* frame control */ member
145 uint16 fc; /* frame control */ member
153 uint16 fc; /* frame control */ member
203 uint16 fc; /* frame control */ member
229 uint16 fc; /* frame control */ member
919 #define FC_SUBTYPE(fc) (((fc) & FC_SUBTYPE_MASK) >> FC_SUBTYPE_SHIFT) /* Subtype from FC */ argument
920 #define FC_TYPE(fc) (((fc) & FC_TYPE_MASK) >> FC_TYPE_SHIFT) /* Type from FC */ argument
[all …]

12