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
42bcb4a7
Commit
42bcb4a7
authored
Oct 16, 2013
by
Guillaume Martres
Committed by
Gerrit Code Review
Oct 16, 2013
Browse files
Merge "Prevent accidental changes to the previous frame mode_infos"
parents
f5377cd7
b364176c
Changes
2
Show whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_onyxd_if.c
View file @
42bcb4a7
...
...
@@ -394,6 +394,10 @@ int vp9_receive_compressed_data(VP9D_PTR ptr,
cm
->
mi_grid_visible
=
cm
->
mi_grid_base
+
cm
->
mode_info_stride
+
1
;
cm
->
prev_mi_grid_visible
=
cm
->
prev_mi_grid_base
+
cm
->
mode_info_stride
+
1
;
pbi
->
mb
.
mi_8x8
=
cm
->
mi_grid_visible
;
pbi
->
mb
.
mi_8x8
[
0
]
=
cm
->
mi
;
pbi
->
mb
.
this_mi
=
cm
->
mi
;
cm
->
current_video_frame
++
;
}
...
...
vp9/encoder/vp9_onyx_if.c
View file @
42bcb4a7
...
...
@@ -3493,6 +3493,10 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
cm
->
mi
=
cm
->
mip
+
cm
->
mode_info_stride
+
1
;
cm
->
mi_grid_visible
=
cm
->
mi_grid_base
+
cm
->
mode_info_stride
+
1
;
cpi
->
mb
.
e_mbd
.
mi_8x8
=
cm
->
mi_grid_visible
;
cpi
->
mb
.
e_mbd
.
mi_8x8
[
0
]
=
cm
->
mi
;
cpi
->
mb
.
e_mbd
.
this_mi
=
cm
->
mi
;
// Don't increment frame counters if this was an altref buffer
// update not a real frame
++
cm
->
current_video_frame
;
...
...
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