Home
last modified time | relevance | path

Searched refs:mvc (Results 1 – 13 of 13) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodemv.c26 const struct mv_context *mvc in encode_mvcomponent() argument
29 const vp8_prob *p = mvc->prob; in encode_mvcomponent()
68 void vp8_encode_motion_vector(vp8_writer *w, const MV *mv, const MV_CONTEXT *mvc) in vp8_encode_motion_vector() argument
95 encode_mvcomponent(w, mv->row >> 1, &mvc[0]); in vp8_encode_motion_vector()
96 encode_mvcomponent(w, mv->col >> 1, &mvc[1]); in vp8_encode_motion_vector()
100 static unsigned int cost_mvcomponent(const int v, const struct mv_context *mvc) in cost_mvcomponent() argument
102 const vp8_prob *p = mvc->prob; in cost_mvcomponent()
138 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]) in vp8_build_component_cost_table() argument
150 mvcost [0] [0] = cost_mvcomponent(0, &mvc[0]); in vp8_build_component_cost_table()
154 cost0 = cost_mvcomponent(i, &mvc[0]); in vp8_build_component_cost_table()
[all …]
Dencodemv.h23 void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc, int mvc_flag[2]);
Dblock.h124 MV_CONTEXT *mvc; member
Dratectrl.c231 vp8_copy(cc->mvc, cpi->common.fc.mvc); in vp8_save_coding_context()
268 vp8_copy(cpi->common.fc.mvc, cc->mvc); 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()
Dbitstream.c452 vp8_writer *w, const MV *mv, const int_mv *ref, const MV_CONTEXT *mvc in write_mv() argument
459 vp8_encode_motion_vector(w, &e, mvc); in write_mv()
521 const MV_CONTEXT *mvc = pc->fc.mvc; in pack_inter_mode_mvs() local
656 write_mv(w, &mi->mv.as_mv, &best_mv, mvc); in pack_inter_mode_mvs()
698 write_mv(w, &blockmv.as_mv, &best_mv, (const MV_CONTEXT *) mvc); in pack_inter_mode_mvs()
Dethreading.c478 mb->mvc = cm->fc.mvc; in vp8cx_init_mbrthread_data()
Donyx_int.h76 MV_CONTEXT mvc[2]; member
Dencodeframe.c647 x->mvc = cm->fc.mvc; in init_encode_frame_mb_context()
Dfirstpass.c574 vpx_memcpy(cm->fc.mvc, vp8_default_mv_context, sizeof(vp8_default_mv_context)); in vp8_first_pass()
575 vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cm->fc.mvc, flag); in vp8_first_pass()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddecodemv.c76 static int read_mvcomponent(vp8_reader *r, const MV_CONTEXT *mvc) in read_mvcomponent() argument
78 const vp8_prob *const p = (const vp8_prob *) mvc; in read_mvcomponent()
111 static void read_mv(vp8_reader *r, MV *mv, const MV_CONTEXT *mvc) in read_mv() argument
113 mv->row = (short)(read_mvcomponent(r, mvc) * 2); in read_mv()
114 mv->col = (short)(read_mvcomponent(r, ++mvc) * 2); in read_mv()
118 static void read_mvcontexts(vp8_reader *bc, MV_CONTEXT *mvc) in read_mvcontexts() argument
125 vp8_prob *p = (vp8_prob *)(mvc + i); in read_mvcontexts()
154 MV_CONTEXT *const mvc = pbi->common.fc.mvc; in mb_mode_mv_init() local
199 read_mvcontexts(bc, mvc); in mb_mode_mv_init()
233 MV_CONTEXT *const mvc, int mb_to_left_edge, in decode_split_mv() argument
[all …]
Ddecodeframe.c910 vpx_memcpy(pc->fc.mvc, vp8_default_mv_context, sizeof(vp8_default_mv_context)); in init_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodemv.c166 nmv_context *const mvc = &cm->fc.nmvc; 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()
172 nmv_component *comp = &mvc->comps[i]; in vp9_write_nmv_probs()
186 write_mv_update(vp9_mv_fp_tree, mvc->comps[i].class0_fp[j], 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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Donyxc_int.h48 MV_CONTEXT mvc[2]; member