Merge "Remove vp9_ prefix on static inline function."

This commit is contained in:
Paul Wilkins 2014-04-14 16:41:09 -07:00 committed by Gerrit Code Review
commit fd5a2066d5
2 changed files with 3 additions and 3 deletions

View File

@ -601,7 +601,7 @@ static INLINE YV12_BUFFER_CONFIG *get_ref_frame_buffer(
// Intra only frames, golden frames (except alt ref overlays) and
// alt ref frames tend to be coded at a higher than ambient quality
static INLINE int vp9_frame_is_boosted(const VP9_COMP *cpi) {
static INLINE int frame_is_boosted(const VP9_COMP *cpi) {
return frame_is_intra_only(&cpi->common) || cpi->refresh_alt_ref_frame ||
(cpi->refresh_golden_frame && !cpi->rc.is_src_frame_alt_ref);
}

View File

@ -49,8 +49,8 @@ static void set_good_speed_feature(VP9_COMP *cpi, VP9_COMMON *cm,
if (speed >= 1) {
sf->use_square_partition_only = !frame_is_intra_only(cm);
sf->less_rectangular_check = 1;
sf->tx_size_search_method = vp9_frame_is_boosted(cpi) ? USE_FULL_RD
: USE_LARGESTALL;
sf->tx_size_search_method = frame_is_boosted(cpi) ? USE_FULL_RD
: USE_LARGESTALL;
if (MIN(cm->width, cm->height) >= 720)
sf->disable_split_mask = cm->show_frame ? DISABLE_ALL_SPLIT