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
Yushin Cho
aom-rav1e
Commits
c3e08e4a
Commit
c3e08e4a
authored
Apr 10, 2014
by
Yunqing Wang
Committed by
Gerrit Code Review
Apr 10, 2014
Browse files
Merge "Define var threshold as unsigned int to match the type"
parents
65d4f691
eb505a3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encodeframe.c
View file @
c3e08e4a
...
...
@@ -1473,8 +1473,8 @@ static void set_source_var_based_partition(VP9_COMP *cpi,
const
int
pre_offset
=
(
mi_row
*
MI_SIZE
)
*
pre_stride
+
(
mi_col
*
MI_SIZE
);
const
uint8_t
*
pre_src
=
cpi
->
Last_Source
->
y_buffer
+
pre_offset
;
const
int
thr_32x32
=
cpi
->
sf
.
source_var_thresh
;
const
int
thr_64x64
=
thr_32x32
<<
1
;
const
unsigned
int
thr_32x32
=
cpi
->
sf
.
source_var_thresh
;
const
unsigned
int
thr_64x64
=
thr_32x32
<<
1
;
int
i
,
j
;
int
index
;
diff
d32
[
4
];
...
...
vp9/encoder/vp9_speed_features.h
View file @
c3e08e4a
...
...
@@ -344,7 +344,7 @@ typedef struct {
int
search_type_check_frequency
;
// The threshold used in SOURCE_VAR_BASED_PARTITION search type.
int
source_var_thresh
;
unsigned
int
source_var_thresh
;
}
SPEED_FEATURES
;
struct
VP9_COMP
;
...
...
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