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
a21fc45b
Commit
a21fc45b
authored
Mar 23, 2016
by
Yunqing Wang
Committed by
Gerrit Code Review
Mar 23, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Prevent encoder crash caused by row tile dependencies"
parents
c8fc6ed1
dc5f7712
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
vp9/vp9_cx_iface.c
vp9/vp9_cx_iface.c
+7
-1
vpxenc.c
vpxenc.c
+2
-1
No files found.
vp9/vp9_cx_iface.c
View file @
a21fc45b
...
...
@@ -486,7 +486,13 @@ static vpx_codec_err_t set_encoder_config(
oxcf
->
content
=
extra_cfg
->
content
;
oxcf
->
tile_columns
=
extra_cfg
->
tile_columns
;
oxcf
->
tile_rows
=
extra_cfg
->
tile_rows
;
// The dependencies between row tiles cause error in multi-threaded encoding.
// For now, it is forced to be 0 in this case.
if
(
oxcf
->
max_threads
>
1
&&
oxcf
->
tile_columns
>
0
)
oxcf
->
tile_rows
=
0
;
else
oxcf
->
tile_rows
=
extra_cfg
->
tile_rows
;
oxcf
->
error_resilient_mode
=
cfg
->
g_error_resilient
;
oxcf
->
frame_parallel_decoding_mode
=
extra_cfg
->
frame_parallel_decoding_mode
;
...
...
vpxenc.c
View file @
a21fc45b
...
...
@@ -380,7 +380,8 @@ static const arg_def_t cpu_used_vp9 = ARG_DEF(
static
const
arg_def_t
tile_cols
=
ARG_DEF
(
NULL
,
"tile-columns"
,
1
,
"Number of tile columns to use, log2"
);
static
const
arg_def_t
tile_rows
=
ARG_DEF
(
NULL
,
"tile-rows"
,
1
,
"Number of tile rows to use, log2"
);
NULL
,
"tile-rows"
,
1
,
"Number of tile rows to use, log2 (set to 0 while threads > 1)"
);
static
const
arg_def_t
lossless
=
ARG_DEF
(
NULL
,
"lossless"
,
1
,
"Lossless mode (0: false (default), 1: true)"
);
static
const
arg_def_t
frame_parallel_decoding
=
ARG_DEF
(
...
...
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