mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Add missing static to function lambda_to_qp
This commit is contained in:
parent
ee518e8ac4
commit
05794c3548
|
@ -167,7 +167,7 @@ static double pic_allocate_bits(encoder_state_t * const state)
|
|||
return MAX(100, pic_target_bits);
|
||||
}
|
||||
|
||||
int8_t lambda_to_qp(const double lambda)
|
||||
static int8_t lambda_to_qp(const double lambda)
|
||||
{
|
||||
const int8_t qp = 4.2005 * log(lambda) + 13.7223 + 0.5;
|
||||
return CLIP(0, 51, qp);
|
||||
|
|
Loading…
Reference in a new issue