Cleanup: rename char/float conversion functions
authorCampbell Barton <ideasman42@gmail.com>
Mon, 7 May 2018 15:31:28 +0000 (17:31 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 7 May 2018 15:51:40 +0000 (17:51 +0200)
commitf74d85ffc8232a859b1419f5dc25b244ae04375f
treef74928d7681488c044ea65249eaaa5b6900d246b
parent905eeb0bc7f46efb95cb5450cc6c2ec27f02730c
Cleanup: rename char/float conversion functions

- FTOCHAR       -> unit_float_to_uchar_clamp
- F3TOCHAR3     -> unit_float_to_uchar_clamp_v3 (swap args)
- F4TOCHAR4     -> unit_float_to_uchar_clamp_v4 (swap args)
- FTOUSHORT     -> unit_float_to_ushort_clamp
- USHORTTOUCHAR -> unit_ushort_to_uchar
30 files changed:
source/blender/alembic/intern/abc_customdata.cc
source/blender/alembic/intern/abc_mesh.cc
source/blender/blenkernel/intern/colortools.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenkernel/intern/seqmodifier.c
source/blender/blenlib/intern/math_base_inline.c
source/blender/blenlib/intern/math_color.c
source/blender/blenlib/intern/math_color_inline.c
source/blender/collada/MeshImporter.cpp
source/blender/editors/interface/interface_templates.c
source/blender/editors/interface/interface_widgets.c
source/blender/editors/sculpt_paint/paint_image_2d.c
source/blender/editors/sculpt_paint/paint_image_proj.c
source/blender/editors/space_sequencer/sequencer_scopes.c
source/blender/gpu/intern/gpu_buffers.c
source/blender/gpu/intern/gpu_texture.c
source/blender/imbuf/intern/colormanagement.c
source/blender/imbuf/intern/colormanagement_inline.c
source/blender/imbuf/intern/divers.c
source/blender/imbuf/intern/filter.c
source/blender/imbuf/intern/png.c
source/blender/imbuf/intern/rectop.c
source/blender/imbuf/intern/scaling.c
source/blender/imbuf/intern/tiff.c
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_ID.c
source/blender/makesrna/intern/rna_image.c
source/blender/modifiers/intern/MOD_particleinstance.c
source/blender/render/intern/source/bake.c
source/blender/render/intern/source/multires_bake.c