Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
e9d106bd
Commit
e9d106bd
authored
Aug 28, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Aug 28, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Removing unused arnr_type from VP9EncoderConfig and vp9_extracfg."
parents
5ac75188
33f4e570
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_encoder.h
+0
-1
vp9/vp9_cx_iface.c
vp9/vp9_cx_iface.c
+3
-7
No files found.
vp9/encoder/vp9_encoder.h
View file @
e9d106bd
...
...
@@ -203,7 +203,6 @@ typedef struct VP9EncoderConfig {
int
arnr_max_frames
;
int
arnr_strength
;
int
arnr_type
;
int
tile_columns
;
int
tile_rows
;
...
...
vp9/vp9_cx_iface.c
View file @
e9d106bd
...
...
@@ -30,7 +30,6 @@ struct vp9_extracfg {
unsigned
int
tile_rows
;
unsigned
int
arnr_max_frames
;
unsigned
int
arnr_strength
;
unsigned
int
arnr_type
;
vp8e_tuning
tuning
;
unsigned
int
cq_level
;
// constrained quality level
unsigned
int
rc_max_intra_bitrate_pct
;
...
...
@@ -52,7 +51,6 @@ static struct vp9_extracfg default_extra_cfg = {
0
,
// tile_rows
7
,
// arnr_max_frames
5
,
// arnr_strength
3
,
// arnr_type
VP8_TUNE_PSNR
,
// tuning
10
,
// cq_level
0
,
// rc_max_intra_bitrate_pct
...
...
@@ -209,7 +207,6 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
RANGE_CHECK_HI
(
extra_cfg
,
sharpness
,
7
);
RANGE_CHECK
(
extra_cfg
,
arnr_max_frames
,
0
,
15
);
RANGE_CHECK_HI
(
extra_cfg
,
arnr_strength
,
6
);
RANGE_CHECK
(
extra_cfg
,
arnr_type
,
1
,
3
);
RANGE_CHECK
(
extra_cfg
,
cq_level
,
0
,
63
);
RANGE_CHECK
(
extra_cfg
,
content
,
VP9E_CONTENT_DEFAULT
,
VP9E_CONTENT_INVALID
-
1
);
...
...
@@ -390,7 +387,6 @@ static vpx_codec_err_t set_encoder_config(
oxcf
->
arnr_max_frames
=
extra_cfg
->
arnr_max_frames
;
oxcf
->
arnr_strength
=
extra_cfg
->
arnr_strength
;
oxcf
->
arnr_type
=
extra_cfg
->
arnr_type
;
oxcf
->
tuning
=
extra_cfg
->
tuning
;
oxcf
->
content
=
extra_cfg
->
content
;
...
...
@@ -586,9 +582,9 @@ static vpx_codec_err_t ctrl_set_arnr_strength(vpx_codec_alg_priv_t *ctx,
static
vpx_codec_err_t
ctrl_set_arnr_type
(
vpx_codec_alg_priv_t
*
ctx
,
va_list
args
)
{
struct
vp9_extracfg
extra_cfg
=
ctx
->
extra_cfg
;
extra_cfg
.
arnr_type
=
CAST
(
VP8E_SET_ARNR_TYPE
,
args
)
;
return
update_extra_cfg
(
ctx
,
&
extra_cfg
)
;
(
void
)
ctx
;
(
void
)
args
;
return
VPX_CODEC_OK
;
}
static
vpx_codec_err_t
ctrl_set_tuning
(
vpx_codec_alg_priv_t
*
ctx
,
...
...
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