Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
1b4ffc44
Commit
1b4ffc44
authored
Jul 26, 2017
by
Yaowu Xu
Committed by
Angie Chiang
Jul 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use frame_type for key frame check
Change-Id: I416a7f99e292a6304bc24d93ab580650768d5e21
parent
3bce7547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
av1/encoder/encoder.c
av1/encoder/encoder.c
+1
-1
No files found.
av1/encoder/encoder.c
View file @
1b4ffc44
...
...
@@ -5298,7 +5298,7 @@ static void compute_internal_stats(AV1_COMP *cpi, int frame_bytes) {
uint32_t
bit_depth
=
8
;
#if CONFIG_INTER_STATS_ONLY
if
(
cm
->
current_video_frame
<=
1
)
return
;
// skip key frame
if
(
cm
->
frame_type
==
KEY_FRAME
)
return
;
// skip key frame
#endif
cpi
->
bytes
+=
frame_bytes
;
...
...
Write
Preview
Markdown
is supported
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