Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
libvpx
Commits
9c6eea35
Commit
9c6eea35
authored
Jun 05, 2015
by
James Zern
Committed by
Gerrit Code Review
Jun 05, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "vp9_reconintra: simplify d63_predictor"
parents
5831a712
7012ba63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
vp9/common/vp9_reconintra.c
vp9/common/vp9_reconintra.c
+11
-7
No files found.
vp9/common/vp9_reconintra.c
View file @
9c6eea35
...
...
@@ -425,13 +425,17 @@ void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t stride,
static
INLINE
void
d63_predictor
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
int
bs
,
const
uint8_t
*
above
,
const
uint8_t
*
left
)
{
int
r
,
c
;
(
void
)
left
;
for
(
r
=
0
;
r
<
bs
;
++
r
)
{
for
(
c
=
0
;
c
<
bs
;
++
c
)
dst
[
c
]
=
r
&
1
?
AVG3
(
above
[(
r
>>
1
)
+
c
],
above
[(
r
>>
1
)
+
c
+
1
],
above
[(
r
>>
1
)
+
c
+
2
])
:
AVG2
(
above
[(
r
>>
1
)
+
c
],
above
[(
r
>>
1
)
+
c
+
1
]);
dst
+=
stride
;
int
size
;
(
void
)
left
;
for
(
c
=
0
;
c
<
bs
;
++
c
)
{
dst
[
c
]
=
AVG2
(
above
[
c
],
above
[
c
+
1
]);
dst
[
stride
+
c
]
=
AVG3
(
above
[
c
],
above
[
c
+
1
],
above
[
c
+
2
]);
}
for
(
r
=
2
,
size
=
bs
-
2
;
r
<
bs
;
r
+=
2
,
--
size
)
{
memcpy
(
dst
+
(
r
+
0
)
*
stride
,
dst
+
(
r
>>
1
),
size
);
memset
(
dst
+
(
r
+
0
)
*
stride
+
size
,
above
[
bs
-
1
],
bs
-
size
);
memcpy
(
dst
+
(
r
+
1
)
*
stride
,
dst
+
stride
+
(
r
>>
1
),
size
);
memset
(
dst
+
(
r
+
1
)
*
stride
+
size
,
above
[
bs
-
1
],
bs
-
size
);
}
}
intra_pred_no_4x4
(
d63
)
...
...
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