Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-21 18:18:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-21 23:30:08 +0300
commite9a01c1d2f6edaf2902f82c73c98ff7d25627878 (patch)
tree93a40a63e99ba4a2ff2af0e66891b7e18f1db2db /source/blender/imbuf/intern/scaling.c
parentfaabf92a7e891b355faf8ba6e2e2461e94262aab (diff)
Cleanup: comments (long lines) in imbuf
Diffstat (limited to 'source/blender/imbuf/intern/scaling.c')
-rw-r--r--source/blender/imbuf/intern/scaling.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c
index e57f3bb08f4..14b2ded73e0 100644
--- a/source/blender/imbuf/intern/scaling.c
+++ b/source/blender/imbuf/intern/scaling.c
@@ -557,7 +557,8 @@ static void shrink_picture_byte(unsigned char *src,
w = (weight1y * weight1x) >> 16;
- /* ensure correct rounding, without this you get ugly banding, or too low color values (ton) */
+ /* Ensure correct rounding, without this you get ugly banding,
+ * or too low color values (ton). */
dst_line1[x].r += (line[0] * w + 32767) >> 16;
dst_line1[x].g += (line[1] * w + 32767) >> 16;
dst_line1[x].b += (line[2] * w + 32767) >> 16;