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
Yushin Cho
aom-rav1e
Commits
f16b186b
Commit
f16b186b
authored
Jan 02, 2014
by
Dmitry Kovalev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reusing vp9_get_skip_context() function in encoder.
Change-Id: Ic0345622115941f49b6a568c7b8154ba892cbf0d
parent
3bcece95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodeframe.c
+1
-4
No files found.
vp9/encoder/vp9_encodeframe.c
View file @
f16b186b
...
...
@@ -2606,12 +2606,9 @@ static void encode_superblock(VP9_COMP *cpi, TOKENEXTRA **t, int output_enabled,
vp9_encode_sb
(
x
,
MAX
(
bsize
,
BLOCK_8X8
));
vp9_tokenize_sb
(
cpi
,
t
,
!
output_enabled
,
MAX
(
bsize
,
BLOCK_8X8
));
}
else
{
int
mb_skip_context
=
xd
->
left_available
?
mi_8x8
[
-
1
]
->
mbmi
.
skip_coeff
:
0
;
mb_skip_context
+=
mi_8x8
[
-
mis
]
?
mi_8x8
[
-
mis
]
->
mbmi
.
skip_coeff
:
0
;
mbmi
->
skip_coeff
=
1
;
if
(
output_enabled
)
cm
->
counts
.
mbskip
[
mb
_skip_context
][
1
]
++
;
cm
->
counts
.
mbskip
[
vp9_get
_skip_context
(
xd
)
][
1
]
++
;
reset_skip_context
(
xd
,
MAX
(
bsize
,
BLOCK_8X8
));
}
...
...
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