IMB buffer functions to take a mask as input
authorDalai Felinto <dfelinto@gmail.com>
Sat, 26 Apr 2014 00:34:00 +0000 (21:34 -0300)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 2 May 2014 23:56:16 +0000 (20:56 -0300)
commit3312b20ac8c8a5e45d87c5c1f59ce0907350d398
treedad21102570f80f4545e084febc2d736b80ea23e
parent56d8affe422a0e20037ee94c7d0d12747bbbb81d
IMB buffer functions to take a mask as input

The mask make sure the conversion only happens in a few areas of the
buffer.

New Functions:
* IMB_buffer_byte_from_float_mask
* IMB_buffer_float_from_float_mask

The functions are an adaptation of their maskless counterparts without accepting different profiles for the input and output buffers.

Review: Sergey Sharybin
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/divers.c