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 / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
982dab60
Commit
982dab60
authored
Oct 28, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Oct 28, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Use zero motion vector in choose_partitioning"
parents
50e5c305
07436abb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodeframe.c
+1
-6
No files found.
vp9/encoder/vp9_encodeframe.c
View file @
982dab60
...
...
@@ -467,7 +467,6 @@ static void choose_partitioning(VP9_COMP *cpi,
int
sp
;
int
dp
;
int
pixels_wide
=
64
,
pixels_high
=
64
;
int_mv
nearest_mv
,
near_mv
;
const
YV12_BUFFER_CONFIG
*
yv12
=
get_ref_frame_buffer
(
cpi
,
LAST_FRAME
);
const
struct
scale_factors
*
const
sf
=
&
cm
->
frame_refs
[
LAST_FRAME
-
1
].
sf
;
...
...
@@ -488,11 +487,7 @@ static void choose_partitioning(VP9_COMP *cpi,
xd
->
mi
[
0
].
src_mi
->
mbmi
.
ref_frame
[
0
]
=
LAST_FRAME
;
xd
->
mi
[
0
].
src_mi
->
mbmi
.
sb_type
=
BLOCK_64X64
;
vp9_find_best_ref_mvs
(
xd
,
cm
->
allow_high_precision_mv
,
xd
->
mi
[
0
].
src_mi
->
mbmi
.
ref_mvs
[
LAST_FRAME
],
&
nearest_mv
,
&
near_mv
);
xd
->
mi
[
0
].
src_mi
->
mbmi
.
mv
[
0
]
=
nearest_mv
;
xd
->
mi
[
0
].
src_mi
->
mbmi
.
mv
[
0
].
as_int
=
0
;
vp9_build_inter_predictors_sby
(
xd
,
mi_row
,
mi_col
,
BLOCK_64X64
);
d
=
xd
->
plane
[
0
].
dst
.
buf
;
...
...
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