From: Tom Finegan Date: Fri, 12 Dec 2014 19:57:04 +0000 (-0800) Subject: vpxdec: Rename the libyuv scale wrapper. X-Git-Tag: v1.4.0~363^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ef2ce86644e6a97c2847a1428f4fc97e10e1f87;p=libvpx vpxdec: Rename the libyuv scale wrapper. The other name was misleading: We do not export scaling support from libvpx via vpx_im{g,age}*. Change-Id: I8acb4ea0301f08c9bab557a4063ea35d147b4631 --- diff --git a/vpxdec.c b/vpxdec.c index c4d2a9e7b..30e27425b 100644 --- a/vpxdec.c +++ b/vpxdec.c @@ -131,7 +131,7 @@ static const arg_def_t *vp8_pp_args[] = { #endif #if CONFIG_LIBYUV -static INLINE int vpx_image_scale(vpx_image_t *src, vpx_image_t *dst, +static INLINE int libyuv_scale(vpx_image_t *src, vpx_image_t *dst, FilterModeEnum mode) { #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH if (src->fmt == VPX_IMG_FMT_I42016) { @@ -948,7 +948,7 @@ int main_loop(int argc, const char **argv_) { if (img->d_w != scaled_img->d_w || img->d_h != scaled_img->d_h) { #if CONFIG_LIBYUV - vpx_image_scale(img, scaled_img, kFilterBox); + libyuv_scale(img, scaled_img, kFilterBox); img = scaled_img; #else fprintf(stderr, "Failed to scale output frame: %s.\n"