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
Xiph.Org
aom-rav1e
Commits
43486e7b
Commit
43486e7b
authored
Sep 04, 2017
by
Zoe Liu
Browse files
Remove hard-coded value for MAX_EXT_ARFS
Change-Id: If44394e363cc443e46c31d91c8e03a85d91b1a92
parent
3d429dc3
Changes
1
Show whitespace changes
Inline
Side-by-side
av1/encoder/firstpass.h
View file @
43486e7b
...
...
@@ -12,6 +12,8 @@
#ifndef AV1_ENCODER_FIRSTPASS_H_
#define AV1_ENCODER_FIRSTPASS_H_
#include
"av1/common/enums.h"
#include
"av1/common/onyxc_int.h"
#include
"av1/encoder/lookahead.h"
#include
"av1/encoder/ratectrl.h"
...
...
@@ -45,10 +47,10 @@ typedef struct {
// NOTE: Currently each BFG contains one backward ref (BWF) frame plus a certain
// number of bi-predictive frames.
#define BFG_INTERVAL 2
// The maximum number of extra ALT
_
REF's
// NOTE:
This number cannot be greater than 2 or the reference fram
e buffer
will
//
overflow
.
#define MAX_EXT_ARFS
2
// The maximum number of extra ALTREF's
except ALTREF_FRAME
// NOTE:
REF_FRAMES indicates the maximum number of frames that may b
e buffer
ed
//
to serve as references. Currently REF_FRAMES == 8
.
#define MAX_EXT_ARFS
(REF_FRAMES - BWDREF_FRAME - 1)
#define MIN_EXT_ARF_INTERVAL 4
#define MIN_ZERO_MOTION 0.95
...
...
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