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
8af092db
Commit
8af092db
authored
Aug 07, 2015
by
Jingning Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix high bit depth in vp10 codebase
Change-Id: Iacbfac29898ac7954eb6375e83873dbb7390fd47
parent
be6c031f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
vpxenc.c
vpxenc.c
+6
-3
No files found.
vpxenc.c
View file @
8af092db
...
...
@@ -1196,7 +1196,8 @@ static int parse_stream_params(struct VpxEncoderConfig *global,
config
->
cfg
.
kf_mode
=
VPX_KF_DISABLED
;
#if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH
}
else
if
(
arg_match
(
&
arg
,
&
test16bitinternalarg
,
argi
))
{
if
(
strcmp
(
global
->
codec
->
name
,
"vp9"
)
==
0
)
{
if
(
strcmp
(
global
->
codec
->
name
,
"vp9"
)
==
0
||
strcmp
(
global
->
codec
->
name
,
"vp10"
)
==
0
)
{
test_16bit_internal
=
1
;
}
#endif
...
...
@@ -1230,7 +1231,8 @@ static int parse_stream_params(struct VpxEncoderConfig *global,
}
}
#if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH
if
(
strcmp
(
global
->
codec
->
name
,
"vp9"
)
==
0
)
{
if
(
strcmp
(
global
->
codec
->
name
,
"vp9"
)
==
0
||
strcmp
(
global
->
codec
->
name
,
"vp10"
)
==
0
)
{
config
->
use_16bit_internal
=
test_16bit_internal
|
(
config
->
cfg
.
g_profile
>
1
);
}
...
...
@@ -2071,7 +2073,8 @@ int main(int argc, const char **argv_) {
FOREACH_STREAM
(
initialize_encoder
(
stream
,
&
global
));
#if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH
if
(
strcmp
(
global
.
codec
->
name
,
"vp9"
)
==
0
)
{
if
(
strcmp
(
global
.
codec
->
name
,
"vp9"
)
==
0
||
strcmp
(
global
.
codec
->
name
,
"vp10"
)
==
0
)
{
// Check to see if at least one stream uses 16 bit internal.
// Currently assume that the bit_depths for all streams using
// highbitdepth are the same.
...
...
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