Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
40a4a3dd
Commit
40a4a3dd
authored
11 years ago
by
Dmitry Kovalev
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Cleaning up enums in vp9_onyx_int.h"
parents
b93deb62
7bc24163
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
nextgen
nextgenv2
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp9/encoder/vp9_onyx_int.h
+54
-56
vp9/encoder/vp9_onyx_int.h
with
54 additions
and
56 deletions
vp9/encoder/vp9_onyx_int.h
+
54
−
56
View file @
40a4a3dd
...
...
@@ -148,31 +148,27 @@ typedef enum {
}
AUTO_MIN_MAX_MODE
;
typedef
enum
{
// Values should be powers of 2 so that they can be selected as bits of
// an integer flags field
// terminate search early based on distortion so far compared to
// Terminate search early based on distortion so far compared to
// qp step, distortion in the neighborhood of the frame, etc.
FLAG_EARLY_TERMINATE
=
1
,
FLAG_EARLY_TERMINATE
=
1
<<
0
,
//
s
kips comp inter modes if the best so far is an intra mode
FLAG_SKIP_COMP_BESTINTRA
=
2
,
//
S
kips comp inter modes if the best so far is an intra mode
.
FLAG_SKIP_COMP_BESTINTRA
=
1
<<
1
,
//
s
kips comp inter modes if the best single intermode so far does
//
S
kips comp inter modes if the best single intermode so far does
// not have the same reference as one of the two references being
// tested
FLAG_SKIP_COMP_REFMISMATCH
=
4
,
// tested
.
FLAG_SKIP_COMP_REFMISMATCH
=
1
<<
2
,
//
s
kips oblique intra modes if the best so far is an inter mode
FLAG_SKIP_INTRA_BESTINTER
=
8
,
//
S
kips oblique intra modes if the best so far is an inter mode
.
FLAG_SKIP_INTRA_BESTINTER
=
1
<<
3
,
//
s
kips oblique intra modes at angles 27, 63, 117, 153 if the best
// intra so far is not one of the neighboring directions
FLAG_SKIP_INTRA_DIRMISMATCH
=
1
6
,
//
S
kips oblique intra modes at angles 27, 63, 117, 153 if the best
// intra so far is not one of the neighboring directions
.
FLAG_SKIP_INTRA_DIRMISMATCH
=
1
<<
4
,
// skips intra modes other than DC_PRED if the source variance
// is small
FLAG_SKIP_INTRA_LOWVAR
=
32
,
// Skips intra modes other than DC_PRED if the source variance is small
FLAG_SKIP_INTRA_LOWVAR
=
1
<<
5
,
}
MODE_SEARCH_SKIP_LOGIC
;
typedef
enum
{
...
...
@@ -427,32 +423,55 @@ typedef enum {
}
VPX_SCALING
;
typedef
enum
{
VP9_LAST_FLAG
=
1
,
VP9_GOLD_FLAG
=
2
,
VP9_ALT_FLAG
=
4
VP9_LAST_FLAG
=
1
<<
0
,
VP9_GOLD_FLAG
=
1
<<
1
,
VP9_ALT_FLAG
=
1
<<
2
,
}
VP9_REFFRAME
;
typedef
enum
{
USAGE_LOCAL_FILE_PLAYBACK
=
0x
0
,
USAGE_STREAM_FROM_SERVER
=
0x
1
,
USAGE_CONSTRAINED_QUALITY
=
0x
2
,
USAGE_CONSTANT_QUALITY
=
0x
3
,
USAGE_LOCAL_FILE_PLAYBACK
=
0
,
USAGE_STREAM_FROM_SERVER
=
1
,
USAGE_CONSTRAINED_QUALITY
=
2
,
USAGE_CONSTANT_QUALITY
=
3
,
}
END_USAGE
;
typedef
enum
{
MODE_GOODQUALITY
=
0x1
,
MODE_BESTQUALITY
=
0x2
,
MODE_FIRSTPASS
=
0x3
,
MODE_SECONDPASS
=
0x4
,
MODE_SECONDPASS_BEST
=
0x5
,
MODE_REALTIME
=
0x6
,
// Good Quality Fast Encoding. The encoder balances quality with the
// amount of time it takes to encode the output. (speed setting
// controls how fast)
MODE_GOODQUALITY
=
1
,
// One Pass - Best Quality. The encoder places priority on the
// quality of the output over encoding speed. The output is compressed
// at the highest possible quality. This option takes the longest
// amount of time to encode. (speed setting ignored)
MODE_BESTQUALITY
=
2
,
// Two Pass - First Pass. The encoder generates a file of statistics
// for use in the second encoding pass. (speed setting controls how fast)
MODE_FIRSTPASS
=
3
,
// Two Pass - Second Pass. The encoder uses the statistics that were
// generated in the first encoding pass to create the compressed
// output. (speed setting controls how fast)
MODE_SECONDPASS
=
4
,
// Two Pass - Second Pass Best. The encoder uses the statistics that
// were generated in the first encoding pass to create the compressed
// output using the highest possible quality, and taking a
// longer amount of time to encode. (speed setting ignored)
MODE_SECONDPASS_BEST
=
5
,
// Realtime/Live Encoding. This mode is optimized for realtime
// encoding (for example, capturing a television signal or feed from
// a live camera). (speed setting controls how fast)
MODE_REALTIME
=
6
,
}
MODE
;
typedef
enum
{
FRAMEFLAGS_KEY
=
1
,
FRAMEFLAGS_GOLDEN
=
2
,
FRAMEFLAGS_ALTREF
=
4
,
FRAMEFLAGS_KEY
=
1
<<
0
,
FRAMEFLAGS_GOLDEN
=
1
<<
1
,
FRAMEFLAGS_ALTREF
=
1
<<
2
,
}
FRAMETYPE_FLAGS
;
typedef
enum
{
...
...
@@ -476,27 +495,6 @@ typedef struct {
int
cpu_used
;
unsigned
int
rc_max_intra_bitrate_pct
;
// mode ->
// (0)=Realtime/Live Encoding. This mode is optimized for realtime
// encoding (for example, capturing a television signal or feed from
// a live camera). ( speed setting controls how fast )
// (1)=Good Quality Fast Encoding. The encoder balances quality with the
// amount of time it takes to encode the output. ( speed setting
// controls how fast )
// (2)=One Pass - Best Quality. The encoder places priority on the
// quality of the output over encoding speed. The output is compressed
// at the highest possible quality. This option takes the longest
// amount of time to encode. ( speed setting ignored )
// (3)=Two Pass - First Pass. The encoder generates a file of statistics
// for use in the second encoding pass. ( speed setting controls how
// fast )
// (4)=Two Pass - Second Pass. The encoder uses the statistics that were
// generated in the first encoding pass to create the compressed
// output. ( speed setting controls how fast )
// (5)=Two Pass - Second Pass Best. The encoder uses the statistics that
// were generated in the first encoding pass to create the compressed
// output using the highest possible quality, and taking a
// longer amount of time to encode.. ( speed setting ignored )
MODE
mode
;
// Key Framing Operations
...
...
This diff is collapsed.
Click to expand it.
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!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets