Commit 8ef2ce86 authored by Tom Finegan's avatar Tom Finegan
Browse files

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
parent 3e0793b8
......@@ -131,7 +131,7 @@ static const arg_def_t *vp8_pp_args[] = {
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 (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) {
vpx_image_scale(img, scaled_img, kFilterBox);
libyuv_scale(img, scaled_img, kFilterBox);
img = scaled_img;
fprintf(stderr, "Failed to scale output frame: %s.\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment