} else if (width_ratio < height_ratio) {
/*
* The input is proportionally "taller" than the device viewport
* so its width needs to be adjusted
*/
debug(dev->ctx, "CASE 2 original image taller, adjust the scaled width\n");
} else if (width_ratio < height_ratio) {
/*
* The input is proportionally "taller" than the device viewport
* so its width needs to be adjusted
*/
debug(dev->ctx, "CASE 2 original image taller, adjust the scaled width\n");