Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
c32a3b8e
Commit
c32a3b8e
authored
10 years ago
by
Hangyu Kuang
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Initially add frame_parallel_decode flag."
parents
48f0935b
537cb060
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp9/decoder/vp9_decoder.h
+2
-0
2 additions, 0 deletions
vp9/decoder/vp9_decoder.h
vp9/vp9_dx_iface.c
+7
-0
7 additions, 0 deletions
vp9/vp9_dx_iface.c
with
9 additions
and
0 deletions
vp9/decoder/vp9_decoder.h
+
2
−
0
View file @
c32a3b8e
...
...
@@ -43,6 +43,8 @@ typedef struct VP9Decoder {
int
refresh_frame_flags
;
int
frame_parallel_decode
;
// frame-based threading.
VP9Worker
lf_worker
;
VP9Worker
*
tile_workers
;
int
num_tile_workers
;
...
...
This diff is collapsed.
Click to expand it.
vp9/vp9_dx_iface.c
+
7
−
0
View file @
c32a3b8e
...
...
@@ -39,6 +39,7 @@ struct vpx_codec_alg_priv {
void
*
decrypt_state
;
vpx_image_t
img
;
int
invert_tile_order
;
int
frame_parallel_decode
;
// frame-based threading.
// External frame buffer info to save for VP9 common.
void
*
ext_priv
;
// Private data associated with the external frame buffers.
...
...
@@ -66,6 +67,11 @@ static vpx_codec_err_t decoder_init(vpx_codec_ctx_t *ctx,
ctx
->
priv
->
alg_priv
=
alg_priv
;
ctx
->
priv
->
alg_priv
->
si
.
sz
=
sizeof
(
ctx
->
priv
->
alg_priv
->
si
);
ctx
->
priv
->
init_flags
=
ctx
->
init_flags
;
ctx
->
priv
->
alg_priv
->
frame_parallel_decode
=
(
ctx
->
init_flags
&
VPX_CODEC_USE_FRAME_THREADING
);
// Disable frame parallel decoding for now.
ctx
->
priv
->
alg_priv
->
frame_parallel_decode
=
0
;
if
(
ctx
->
config
.
dec
)
{
// Update the reference to the config structure to an internal copy.
...
...
@@ -231,6 +237,7 @@ static void init_decoder(vpx_codec_alg_priv_t *ctx) {
ctx
->
pbi
->
max_threads
=
ctx
->
cfg
.
threads
;
ctx
->
pbi
->
inv_tile_order
=
ctx
->
invert_tile_order
;
ctx
->
pbi
->
frame_parallel_decode
=
ctx
->
frame_parallel_decode
;
// If postprocessing was enabled by the application and a
// configuration has not been provided, default it.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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