Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
48a76273
Commit
48a76273
authored
Nov 11, 2014
by
Deb Mukherjee
Browse files
Vidyo: Turn off keyframes in higher spatial layers
Change-Id: Icdd5e71cd6a2b59bc4b3b972af9e4d4a36821792
parent
c7a905ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encoder.c
View file @
48a76273
...
...
@@ -3635,6 +3635,13 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags,
if
(
source
!=
NULL
)
{
cm
->
show_frame
=
1
;
cm
->
intra_only
=
0
;
// if the flags indicate intra frame, but if the current picture is for
// non-zero spatial layer, it should not be an intra picture.
// TODO(Won Kap): this needs to change if per-layer intra frame is
// allowed.
if
((
source
->
flags
|
VPX_EFLAG_FORCE_KF
)
&&
cpi
->
svc
.
spatial_layer_id
)
{
source
->
flags
&=
~
(
unsigned
int
)(
VPX_EFLAG_FORCE_KF
);
}
// Check to see if the frame should be encoded as an arf overlay.
check_src_altref
(
cpi
,
source
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment