Searched refs:I_TO_P_RATIO (Results 1 – 7 of 7) sorted by relevance
91 #define I_TO_P_RATIO (18) /*(16)*/ /* In K_Q Q factor */ macro96 #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))
155 i4_qp = ((i4_qp * I_TO_P_RATIO) >> K_Q); in get_init_qp_using_pels_bits_per_frame()161 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()165 i4_qp = ((i4_qp * P_TO_B_RATIO_HBR * I_TO_P_RATIO) >> (K_Q + K_Q)); in get_init_qp_using_pels_bits_per_frame()
773 ps_bit_allocation->i2_K[P_PIC] = I_TO_P_RATIO; in init_bit_allocation()774 ps_bit_allocation->i2_K[P1_PIC] = I_TO_P_RATIO; in init_bit_allocation()775 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()2234 I_TO_P_RATIO, in reset_Kp_Kb()2235 ((P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q), in reset_Kp_Kb()[all …]
550 ps_rate_control_api->i4_P_to_I_ratio = (1 << (P_TO_I_RATIO_Q_FACTOR + K_Q)) / I_TO_P_RATIO; in initialise_rate_control()781 prev_qp_q6 = (I_TO_P_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()807 prev_qp_q6 = (P_TO_B_RATIO_HBR * I_TO_P_RATIO * (LWORD64)prev_qp_q6) >> (K_Q + K_Q); in get_min_max_qp()871 ((LWORD64)i4_p_qp_q6 * I_TO_P_RATIO * I_TO_P_RATIO * I_TO_P_RATIO) >> in get_min_max_qp()876 (WORD32)(((LWORD64)i4_p_qp_q6 * I_TO_P_RATIO * I_TO_P_RATIO) >> (K_Q + K_Q)); in get_min_max_qp()879 hi_dev_qp_temp_q6 = (WORD32)(((LWORD64)i4_p_qp_q6 * I_TO_P_RATIO) >> (K_Q)); in get_min_max_qp()1055 i4_min_Kp_Kb_factor = I_TO_P_RATIO; in clip_qp_based_on_prev_ref()1395 i4_min_Kp_Kb_factor = I_TO_P_RATIO; in get_frame_level_qp()
99 #define I_TO_P_RATIO (19) /* In K_Q Q factor */ macro
325 ps_bit_allocation->i2_K[P_PIC] = I_TO_P_RATIO; in irc_ba_init_bit_allocation()326 ps_bit_allocation->i2_K[B_PIC] = (P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q; in irc_ba_init_bit_allocation()
581 prev_qp = (I_TO_P_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()