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
90fe1cff
Commit
90fe1cff
authored
Mar 02, 2016
by
Hui Su
Committed by
Gerrit Code Review
Mar 02, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Fix a couple of minor bugs in vp10_has_right and vp10_has_bottom" into nextgenv2
parents
84f98208
935a837c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
vp10/common/reconintra.c
vp10/common/reconintra.c
+11
-3
No files found.
vp10/common/reconintra.c
View file @
90fe1cff
...
...
@@ -107,6 +107,10 @@ static int vp10_has_right(BLOCK_SIZE bsize, int mi_row, int mi_col,
const
int
w
=
VPXMAX
(
num_4x4_blocks_wide_lookup
[
bsize
]
>>
ss_x
,
1
);
const
int
step
=
1
<<
txsz
;
// Handle block size 4x8 and 4x4
if
(
ss_x
==
0
&&
num_4x4_blocks_wide_lookup
[
bsize
]
<
2
&&
x
==
0
)
return
1
;
if
(
y
==
0
)
{
const
int
hl
=
mi_height_log2_lookup
[
bsize
];
const
uint8_t
*
order
=
orders
[
bsize
];
...
...
@@ -144,6 +148,13 @@ static int vp10_has_bottom(BLOCK_SIZE bsize, int mi_row, int mi_col,
const
uint8_t
*
order
=
orders
[
bsize
];
int
my_order
,
bl_order
;
// Handle block size 8x4 and 4x4
if
(
ss_y
==
0
&&
num_4x4_blocks_high_lookup
[
bsize
]
<
2
&&
y
==
0
)
return
1
;
if
(
y
+
step
<
h
)
return
1
;
mi_row
=
(
mi_row
&
7
)
>>
hl
;
mi_col
=
(
mi_col
&
7
)
>>
wl
;
...
...
@@ -154,9 +165,6 @@ static int vp10_has_bottom(BLOCK_SIZE bsize, int mi_row, int mi_col,
if
(((
mi_row
+
1
)
<<
hl
)
>=
8
)
return
0
;
if
(
y
+
step
<
h
)
return
1
;
my_order
=
order
[((
mi_row
+
0
)
<<
(
3
-
wl
))
+
mi_col
+
0
];
bl_order
=
order
[((
mi_row
+
1
)
<<
(
3
-
wl
))
+
mi_col
-
1
];
...
...
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