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
73c8fe5d
Commit
73c8fe5d
authored
Apr 02, 2015
by
hkuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error of "Left shift of negative value -1".
Change-Id: Ia4f3feb20df0e89cc51b02def858e12e927312cc
parent
f85f79f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vp9/decoder/vp9_decodeframe.c
vp9/decoder/vp9_decodeframe.c
+2
-2
No files found.
vp9/decoder/vp9_decodeframe.c
View file @
73c8fe5d
...
...
@@ -1926,7 +1926,7 @@ void dec_build_inter_predictors(VP9Decoder *const pbi, MACROBLOCKD *xd,
// pixels of each superblock row can be changed by next superblock row.
if
(
pbi
->
frame_parallel_decode
)
vp9_frameworker_wait
(
pbi
->
frame_worker_owner
,
ref_frame_buf
,
MAX
(
0
,
(
y1
+
7
)
<<
(
plane
==
0
?
0
:
1
)
));
MAX
(
0
,
(
y1
+
7
)
)
<<
(
plane
==
0
?
0
:
1
));
// Skip border extension if block is inside the frame.
if
(
x0
<
0
||
x0
>
frame_width
-
1
||
x1
<
0
||
x1
>
frame_width
-
1
||
...
...
@@ -1982,7 +1982,7 @@ void dec_build_inter_predictors(VP9Decoder *const pbi, MACROBLOCKD *xd,
// pixels of each superblock row can be changed by next superblock row.
if
(
pbi
->
frame_parallel_decode
)
vp9_frameworker_wait
(
pbi
->
frame_worker_owner
,
ref_frame_buf
,
MAX
(
0
,
(
y1
+
7
)
<<
(
plane
==
0
?
0
:
1
)
));
MAX
(
0
,
(
y1
+
7
)
)
<<
(
plane
==
0
?
0
:
1
));
}
#if CONFIG_VP9_HIGHBITDEPTH
if
(
xd
->
cur_buf
->
flags
&
YV12_FLAG_HIGHBITDEPTH
)
{
...
...
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