Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
a0327f5e
Commit
a0327f5e
authored
10 years ago
by
Dmitry Kovalev
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Simplifying vp9_is_upper_layer_key_frame()."
parents
e05b92c0
eae4a467
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp9/encoder/vp9_svc_layercontext.c
+5
-11
5 additions, 11 deletions
vp9/encoder/vp9_svc_layercontext.c
with
5 additions
and
11 deletions
vp9/encoder/vp9_svc_layercontext.c
+
5
−
11
View file @
a0327f5e
...
@@ -221,15 +221,9 @@ void vp9_inc_frame_in_layer(SVC *svc) {
...
@@ -221,15 +221,9 @@ void vp9_inc_frame_in_layer(SVC *svc) {
++
lc
->
current_video_frame_in_layer
;
++
lc
->
current_video_frame_in_layer
;
}
}
int
vp9_is_upper_layer_key_frame
(
const
struct
VP9_COMP
*
const
cpi
)
{
int
vp9_is_upper_layer_key_frame
(
const
VP9_COMP
*
cpi
)
{
int
is_upper_layer_key_frame
=
0
;
return
cpi
->
use_svc
&&
cpi
->
svc
.
number_temporal_layers
==
1
&&
if
(
cpi
->
use_svc
&&
cpi
->
svc
.
number_temporal_layers
==
1
&&
cpi
->
svc
.
spatial_layer_id
>
0
&&
cpi
->
svc
.
spatial_layer_id
>
0
)
{
cpi
->
svc
.
layer_context
[
cpi
->
svc
.
spatial_layer_id
].
is_key_frame
;
if
(
cpi
->
svc
.
layer_context
[
cpi
->
svc
.
spatial_layer_id
].
is_key_frame
)
{
is_upper_layer_key_frame
=
1
;
}
}
return
is_upper_layer_key_frame
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment