Home
last modified time | relevance | path

Searched refs:ps_mb_rate_control (Results 1 – 8 of 8) sorted by relevance

/external/libavc/encoder/
Dirc_mb_model_based.c82 void irc_init_mb_level_rc(mb_rate_control_t *ps_mb_rate_control) in irc_init_mb_level_rc() argument
85 ps_mb_rate_control->i4_avg_activity = 0; in irc_init_mb_level_rc()
91 void irc_mb_init_frame_level(mb_rate_control_t *ps_mb_rate_control, in irc_mb_init_frame_level() argument
95 ps_mb_rate_control->u1_frm_qp = u1_frame_qp; in irc_mb_init_frame_level()
102 void irc_reset_mb_activity(mb_rate_control_t *ps_mb_rate_control) in irc_reset_mb_activity() argument
104 ps_mb_rate_control->i4_avg_activity = 0; in irc_reset_mb_activity()
110 void irc_get_mb_qp(mb_rate_control_t *ps_mb_rate_control, in irc_get_mb_qp() argument
116 i4_qp = ps_mb_rate_control->u1_frm_qp; in irc_get_mb_qp()
124 if((ps_mb_rate_control->i4_avg_activity) && (i4_qp < 100)) in irc_get_mb_qp()
127 + ps_mb_rate_control->i4_avg_activity)* i4_qp in irc_get_mb_qp()
[all …]
Dirc_mb_model_based.h31 void irc_init_mb_level_rc(mb_rate_control_handle ps_mb_rate_control);
34 void irc_mb_init_frame_level(mb_rate_control_handle ps_mb_rate_control,
38 void irc_get_mb_qp(mb_rate_control_handle ps_mb_rate_control,
43 void irc_mb_update_frame_level(mb_rate_control_handle ps_mb_rate_control,
51 UWORD8 irc_get_frm_level_qp(mb_rate_control_handle ps_mb_rate_control);
54 void irc_reset_mb_activity(mb_rate_control_handle ps_mb_rate_control);
Dirc_rate_control_api.c113 &pps_rate_control_api[0]->ps_mb_rate_control, in irc_rate_control_num_fill_use_free_memtab()
309 irc_init_mb_level_rc(ps_rate_control_api->ps_mb_rate_control); in irc_initialise_rate_control()
984 irc_init_mb_level_rc(ps_rate_control_api->ps_mb_rate_control); in irc_update_frame_level_info()
1037 ps_rate_control_api->ps_mb_rate_control, in irc_update_frame_level_info()
1088 irc_mb_init_frame_level(ps_rate_control_api->ps_mb_rate_control, in irc_init_mb_rc_frame_level()
1103 irc_get_mb_qp(ps_rate_control_api->ps_mb_rate_control, in irc_get_mb_level_qp()
1122 i4_qp = irc_get_frm_level_qp(ps_rate_control_api->ps_mb_rate_control); in irc_get_mb_level_qp()
1618 irc_mb_update_frame_level(ps_rate_control_api->ps_mb_rate_control, in irc_set_avg_mb_act()
Dirc_rate_control_api_structs.h61 mb_rate_control_handle ps_mb_rate_control; member
/external/libhevc/encoder/
Dmb_model_based.c92 void init_mb_level_rc(mb_rate_control_t *ps_mb_rate_control) in init_mb_level_rc() argument
95 ps_mb_rate_control->i4_avg_activity = 0; in init_mb_level_rc()
105 void mb_init_frame_level(mb_rate_control_t *ps_mb_rate_control, UWORD8 u1_frame_qp) in mb_init_frame_level() argument
108 ps_mb_rate_control->u1_frm_qp = u1_frame_qp; in mb_init_frame_level()
119 void reset_mb_activity(mb_rate_control_t *ps_mb_rate_control) in reset_mb_activity() argument
121 ps_mb_rate_control->i4_avg_activity = 0; in reset_mb_activity()
135 void get_mb_qp(mb_rate_control_t *ps_mb_rate_control, WORD32 i4_cur_mb_activity, WORD32 *pi4_mb_qp) in get_mb_qp() argument
139 i4_qp = ps_mb_rate_control->u1_frm_qp; in get_mb_qp()
145 if((ps_mb_rate_control->i4_avg_activity) && (i4_qp < 100)) in get_mb_qp()
147 i4_qp = ((((2 * i4_cur_mb_activity)) + ps_mb_rate_control->i4_avg_activity) * i4_qp + in get_mb_qp()
[all …]
Dmb_model_based.h51 void init_mb_level_rc(mb_rate_control_handle ps_mb_rate_control);
53 void mb_init_frame_level(mb_rate_control_handle ps_mb_rate_control, UWORD8 u1_frame_qp);
56 mb_rate_control_handle ps_mb_rate_control, WORD32 i4_cur_mb_activity, WORD32 *pi4_mb_qp);
58 void mb_update_frame_level(mb_rate_control_handle ps_mb_rate_control, WORD32 i4_avg_activity);
63 UWORD8 get_frm_level_qp(mb_rate_control_handle ps_mb_rate_control);
65 void reset_mb_activity(mb_rate_control_handle ps_mb_rate_control);
Drate_control_api_structs.h61 mb_rate_control_handle ps_mb_rate_control; /* MB Level rate control state structure */ member
Drate_control_api.c178 &pps_rate_control_api[0]->ps_mb_rate_control, &ps_memtab[i4_mem_tab_idx], e_func_type); in rate_control_num_fill_use_free_memtab()
546 init_mb_level_rc(ps_rate_control_api->ps_mb_rate_control); in initialise_rate_control()
2165 init_mb_level_rc(ps_rate_control_api->ps_mb_rate_control); in update_frame_level_info()
2235 mb_update_frame_level(ps_rate_control_api->ps_mb_rate_control, i4_avg_activity); in update_frame_level_info()
2294 init_mb_level_rc(ps_rate_control_api->ps_mb_rate_control); in update_frame_rc_get_frame_qp_info()
2534 mb_init_frame_level(ps_rate_control_api->ps_mb_rate_control, u1_frame_qp); in init_mb_rc_frame_level()
3119 mb_update_frame_level(ps_rate_control_api->ps_mb_rate_control, i4_avg_activity); in rc_set_avg_mb_act()