Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
d3c526fb
Commit
d3c526fb
authored
Apr 09, 2013
by
Yunqing Wang
Committed by
Gerrit Code Review
Apr 09, 2013
Browse files
Merge "Fix an issue in set_refs()" into experimental
parents
a3ec4cbd
01a3bd67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vp9/decoder/vp9_decodframe.c
vp9/decoder/vp9_decodframe.c
+2
-0
No files found.
vp9/decoder/vp9_decodframe.c
View file @
d3c526fb
...
...
@@ -924,6 +924,8 @@ static void set_refs(VP9D_COMP *pbi, int block_size, int mb_row, int mb_col) {
// Select the appropriate reference frame for this MB
const
int
second_fb_idx
=
cm
->
active_ref_idx
[
mbmi
->
second_ref_frame
-
1
];
const
YV12_BUFFER_CONFIG
*
second_cfg
=
&
cm
->
yv12_fb
[
second_fb_idx
];
xd
->
scale_factor
[
1
]
=
cm
->
active_ref_scale
[
mbmi
->
second_ref_frame
-
1
];
xd
->
scale_factor_uv
[
1
]
=
cm
->
active_ref_scale
[
mbmi
->
second_ref_frame
-
1
];
setup_pred_block
(
&
xd
->
second_pre
,
second_cfg
,
mb_row
,
mb_col
,
&
xd
->
scale_factor
[
1
],
&
xd
->
scale_factor_uv
[
1
]);
xd
->
corrupted
|=
second_cfg
->
corrupted
;
...
...
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