Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy B. Terriberry
rav1e
Commits
459a767c
Commit
459a767c
authored
Jun 12, 2019
by
Luca Barbato
Committed by
Thomas Daede
Jun 13, 2019
Browse files
Fix the inner ContextInner visibility
parent
ec2666fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/api.rs
View file @
459a767c
...
...
@@ -637,7 +637,7 @@ impl InterConfig {
}
}
pub
struct
ContextInner
<
T
:
Pixel
>
{
pub
(
crate
)
struct
ContextInner
<
T
:
Pixel
>
{
frame_count
:
u64
,
limit
:
u64
,
inter_cfg
:
InterConfig
,
...
...
src/rate.rs
View file @
459a767c
...
...
@@ -579,7 +579,7 @@ impl RCState {
}
// TODO: Separate quantizers for Cb and Cr.
pub
fn
select_qi
<
T
:
Pixel
>
(
pub
(
crate
)
fn
select_qi
<
T
:
Pixel
>
(
&
self
,
ctx
:
&
ContextInner
<
T
>
,
fti
:
usize
,
maybe_prev_log_base_q
:
Option
<
i64
>
)
->
QuantizerParameters
{
// Is rate control active?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment