Home
last modified time | relevance | path

Searched refs:P_TO_B_RATIO (Results 1 – 7 of 7) sorted by relevance

/external/libhevc/encoder/
Drc_common.h92 #define P_TO_B_RATIO (18) /* In K_Q Q factor */ macro
96 #define I_TO_B_RATIO ((P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q)
97 #define I_TO_B1_RATIO ((B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q))
99 ((B1_TO_B2_RATIO * B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q + K_Q))
Dbit_allocation.c775 ps_bit_allocation->i2_K[B_PIC] = (P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q; in init_bit_allocation()
776 ps_bit_allocation->i2_K[BB_PIC] = (P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q; in init_bit_allocation()
779 ps_bit_allocation->i2_K[B1_PIC] = (B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q); in init_bit_allocation()
780 ps_bit_allocation->i2_K[B11_PIC] = (B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q); in init_bit_allocation()
782 (B1_TO_B2_RATIO * B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q + K_Q); in init_bit_allocation()
784 (B1_TO_B2_RATIO * B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q + K_Q); in init_bit_allocation()
2235 ((P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q), in reset_Kp_Kb()
2236 (B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q), in reset_Kp_Kb()
2237 (B1_TO_B2_RATIO * B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q + K_Q), in reset_Kp_Kb()
2238 (B1_TO_B2_RATIO * B1_TO_B2_RATIO * B_TO_B1_RATIO * P_TO_B_RATIO * I_TO_P_RATIO) >> in reset_Kp_Kb()
[all …]
Dinit_qp.c161 i4_qp = ((i4_qp * P_TO_B_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q)); in get_init_qp_using_pels_bits_per_frame()
Drate_control_api.c790 prev_qp_q6 = (P_TO_B_RATIO * (LWORD64)prev_qp_q6) >> (K_Q); in get_min_max_qp()
803 prev_qp_q6 = (P_TO_B_RATIO * I_TO_P_RATIO * (LWORD64)prev_qp_q6) >> (K_Q + K_Q); in get_min_max_qp()
/external/libavc/encoder/
Dirc_common.h100 #define P_TO_B_RATIO (32) /* In K_Q Q factor */ macro
Dirc_rate_control_api.c590 prev_qp = (P_TO_B_RATIO * prev_qp + (1 << (K_Q - 1))) in irc_get_frame_level_qp()
600 prev_qp = (P_TO_B_RATIO * I_TO_P_RATIO * prev_qp in irc_get_frame_level_qp()
Dirc_bit_allocation.c326 ps_bit_allocation->i2_K[B_PIC] = (P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q; in irc_ba_init_bit_allocation()