Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
f4e0eb17
Commit
f4e0eb17
authored
Feb 27, 2015
by
Jingning Han
Committed by
Gerrit Code Review
Feb 27, 2015
Browse files
Merge "Fix source frame border extension"
parents
94bba485
fe85fabb
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_extend.c
View file @
f4e0eb17
...
...
@@ -110,9 +110,9 @@ void vp9_copy_and_extend_frame(const YV12_BUFFER_CONFIG *src,
// Motion estimation may use src block variance with the block size up
// to 64x64, so the right and bottom need to be extended to 64 multiple
// or up to 16, whichever is greater.
const
int
e
b
_y
=
MAX
(
src
->
y_width
+
16
,
ALIGN_POWER_OF_TWO
(
src
->
y_width
,
6
))
const
int
e
r
_y
=
MAX
(
src
->
y_width
+
16
,
ALIGN_POWER_OF_TWO
(
src
->
y_width
,
6
))
-
src
->
y_crop_width
;
const
int
e
r
_y
=
MAX
(
src
->
y_height
+
16
,
ALIGN_POWER_OF_TWO
(
src
->
y_height
,
6
))
const
int
e
b
_y
=
MAX
(
src
->
y_height
+
16
,
ALIGN_POWER_OF_TWO
(
src
->
y_height
,
6
))
-
src
->
y_crop_height
;
const
int
uv_width_subsampling
=
(
src
->
uv_width
!=
src
->
y_width
);
const
int
uv_height_subsampling
=
(
src
->
uv_height
!=
src
->
y_height
);
...
...
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