vp9_encodeframe: make scale_part_thresh_sumdiff static
quiets -Wmissing-prototypes Change-Id: I696223d75860edba13c6b6f38c1f8db353a6f812
This commit is contained in:
parent
3f296533f6
commit
9a329b5285
@ -489,8 +489,9 @@ static int set_vt_partitioning(VP9_COMP *cpi, MACROBLOCK *const x,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int64_t scale_part_thresh_sumdiff(int64_t threshold_base, int speed, int width,
|
||||
int height, int content_state) {
|
||||
static int64_t scale_part_thresh_sumdiff(int64_t threshold_base, int speed,
|
||||
int width, int height,
|
||||
int content_state) {
|
||||
if (speed >= 8) {
|
||||
if (width <= 640 && height <= 480)
|
||||
return (5 * threshold_base) >> 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user