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
924af1ed
Commit
924af1ed
authored
Oct 09, 2014
by
James Zern
Committed by
Gerrit Code Review
Oct 09, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "set_vt_partitioning: fix type conversion warning"
parents
caa0f819
cec763bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodeframe.c
+4
-3
No files found.
vp9/encoder/vp9_encodeframe.c
View file @
924af1ed
...
...
@@ -396,9 +396,10 @@ static int set_vt_partitioning(VP9_COMP *cpi,
const
int
block_width
=
num_8x8_blocks_wide_lookup
[
bsize
];
const
int
block_height
=
num_8x8_blocks_high_lookup
[
bsize
];
// TODO(debargha): Choose this more intelligently.
const
int64_t
threshold_multiplier
=
cm
->
frame_type
==
KEY_FRAME
?
64
:
4
;
int64_t
threshold
=
threshold_multiplier
*
vp9_convert_qindex_to_q
(
cm
->
base_qindex
,
cm
->
bit_depth
);
const
int
threshold_multiplier
=
cm
->
frame_type
==
KEY_FRAME
?
64
:
4
;
int64_t
threshold
=
(
int64_t
)(
threshold_multiplier
*
vp9_convert_qindex_to_q
(
cm
->
base_qindex
,
cm
->
bit_depth
));
assert
(
block_height
==
block_width
);
tree_to_node
(
data
,
bsize
,
&
vt
);
...
...
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