mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Added INLINE to kvz_get_ic_rate and kvz_get_coded_level in rdo.c
This commit is contained in:
parent
2f2405dfe6
commit
55e0e65733
|
@ -191,7 +191,7 @@ int32_t kvz_get_coeff_cost(const encoder_state_t * const state, coeff_t *coeff,
|
||||||
* \returns cost of given absolute transform level
|
* \returns cost of given absolute transform level
|
||||||
* From HM 12.0
|
* From HM 12.0
|
||||||
*/
|
*/
|
||||||
int32_t kvz_get_ic_rate(encoder_state_t * const state,
|
INLINE int32_t kvz_get_ic_rate(encoder_state_t * const state,
|
||||||
uint32_t abs_level,
|
uint32_t abs_level,
|
||||||
uint16_t ctx_num_one,
|
uint16_t ctx_num_one,
|
||||||
uint16_t ctx_num_abs,
|
uint16_t ctx_num_abs,
|
||||||
|
@ -255,7 +255,7 @@ int32_t kvz_get_ic_rate(encoder_state_t * const state,
|
||||||
* This method calculates the best quantized transform level for a given scan position.
|
* This method calculates the best quantized transform level for a given scan position.
|
||||||
* From HM 12.0
|
* From HM 12.0
|
||||||
*/
|
*/
|
||||||
uint32_t kvz_get_coded_level ( encoder_state_t * const state, double *coded_cost, double *coded_cost0, double *coded_cost_sig,
|
INLINE uint32_t kvz_get_coded_level ( encoder_state_t * const state, double *coded_cost, double *coded_cost0, double *coded_cost_sig,
|
||||||
int32_t level_double, uint32_t max_abs_level,
|
int32_t level_double, uint32_t max_abs_level,
|
||||||
uint16_t ctx_num_sig, uint16_t ctx_num_one, uint16_t ctx_num_abs,
|
uint16_t ctx_num_sig, uint16_t ctx_num_one, uint16_t ctx_num_abs,
|
||||||
uint16_t abs_go_rice,
|
uint16_t abs_go_rice,
|
||||||
|
|
Loading…
Reference in a new issue