diff options
author | neonloop | 2023-12-16 16:41:46 +0000 |
---|---|---|
committer | neonloop | 2023-12-16 16:41:46 +0000 |
commit | a2910e9de26676553a3360dd1d7bdb75ac9b0487 (patch) | |
tree | 7638bf0a9ebd248ce040080e3538b83b899e3b2c | |
parent | 9f688ec61a8f0a0140bbb3c57aaebb408f7b277c (diff) | |
download | picoarch-a2910e9de26676553a3360dd1d7bdb75ac9b0487.tar.gz picoarch-a2910e9de26676553a3360dd1d7bdb75ac9b0487.tar.bz2 picoarch-a2910e9de26676553a3360dd1d7bdb75ac9b0487.zip |
Fixes incorrect variable for h break point
-rw-r--r-- | scale.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -536,7 +536,7 @@ static void scale_select_scaler(unsigned w, unsigned h, size_t pitch) { blend_args.h_ratio_in = h / gcd_h; blend_args.h_ratio_out = dst_h / gcd_h; - div_h = (blend_args.w_ratio_out + 2) / 5; /* rounded integer divide by 5 */ + div_h = (blend_args.h_ratio_out + 2) / 5; /* rounded integer divide by 5 */ blend_args.h_bp[0] = div_h; blend_args.h_bp[1] = blend_args.h_ratio_out >> 1; |