Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
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
a8bb1ffd
Commit
a8bb1ffd
authored
Jan 14, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Jan 14, 2014
Browse files
Merge "Reusing get_frame_new_buffer() function."
parents
f3728f20
9855b6e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encodeframe.c
View file @
a8bb1ffd
...
...
@@ -550,7 +550,6 @@ static void set_offsets(VP9_COMP *cpi, const TileInfo *const tile,
VP9_COMMON
*
const
cm
=
&
cpi
->
common
;
MACROBLOCKD
*
const
xd
=
&
x
->
e_mbd
;
MB_MODE_INFO
*
mbmi
;
const
int
dst_fb_idx
=
cm
->
new_fb_idx
;
const
int
idx_str
=
xd
->
mode_info_stride
*
mi_row
+
mi_col
;
const
int
mi_width
=
num_8x8_blocks_wide_lookup
[
bsize
];
const
int
mi_height
=
num_8x8_blocks_high_lookup
[
bsize
];
...
...
@@ -577,7 +576,7 @@ static void set_offsets(VP9_COMP *cpi, const TileInfo *const tile,
mbmi
=
&
xd
->
mi_8x8
[
0
]
->
mbmi
;
// Set up destination pointers
setup_dst_planes
(
xd
,
&
cm
->
yv12_fb
[
dst_fb_idx
]
,
mi_row
,
mi_col
);
setup_dst_planes
(
xd
,
get_frame_new_buffer
(
cm
)
,
mi_row
,
mi_col
);
// Set up limit values for MV components
// mv beyond the range do not produce new/different prediction block
...
...
Write
Preview
Supports
Markdown
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