Blender Git Commit Log

Git Commits -> Revision 3312b20

Revision 3312b20 by Dalai Felinto (master)
May 2, 2014, 23:56 (GMT)
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

Commit Details:

Full Hash: 3312b20ac8c8a5e45d87c5c1f59ce0907350d398
Parent Commit: 56d8aff
Lines Changed: +127, -0

2 Modified Paths:

/source/blender/imbuf/IMB_imbuf.h (+5, -0) (Diff)
/source/blender/imbuf/intern/divers.c (+122, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021