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:
Diffstat (limited to 'source/blender/compositor/operations/COM_ChannelMatteOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ChannelMatteOperation.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/compositor/operations/COM_ChannelMatteOperation.h b/source/blender/compositor/operations/COM_ChannelMatteOperation.h
index 83f187ae443..f7bf58b99c5 100644
--- a/source/blender/compositor/operations/COM_ChannelMatteOperation.h
+++ b/source/blender/compositor/operations/COM_ChannelMatteOperation.h
@@ -28,16 +28,16 @@ namespace blender::compositor {
*/
class ChannelMatteOperation : public MultiThreadedOperation {
private:
- SocketReader *m_inputImageProgram;
+ SocketReader *inputImageProgram_;
- /* int m_color_space; */ /* node->custom1 */ /* UNUSED */ /* TODO ? */
- int m_matte_channel; /* node->custom2 */
- int m_limit_method; /* node->algorithm */
- int m_limit_channel; /* node->channel */
- float m_limit_max; /* node->storage->t1 */
- float m_limit_min; /* node->storage->t2 */
+ /* int color_space_; */ /* node->custom1 */ /* UNUSED */ /* TODO ? */
+ int matte_channel_; /* node->custom2 */
+ int limit_method_; /* node->algorithm */
+ int limit_channel_; /* node->channel */
+ float limit_max_; /* node->storage->t1 */
+ float limit_min_; /* node->storage->t2 */
- float m_limit_range;
+ float limit_range_;
/** ids to use for the operations (max and simple)
* alpha = in[ids[0]] - MAX2(in[ids[1]], in[ids[2]])
@@ -47,7 +47,7 @@ class ChannelMatteOperation : public MultiThreadedOperation {
* ids[2] = ids[1]
* alpha = in[ids[0]] - MAX2(in[ids[1]], in[ids[2]])
*/
- int m_ids[3];
+ int ids_[3];
public:
/**
@@ -65,11 +65,11 @@ class ChannelMatteOperation : public MultiThreadedOperation {
void setSettings(NodeChroma *nodeChroma, const int custom2)
{
- m_limit_max = nodeChroma->t1;
- m_limit_min = nodeChroma->t2;
- m_limit_method = nodeChroma->algorithm;
- m_limit_channel = nodeChroma->channel;
- m_matte_channel = custom2;
+ limit_max_ = nodeChroma->t1;
+ limit_min_ = nodeChroma->t2;
+ limit_method_ = nodeChroma->algorithm;
+ limit_channel_ = nodeChroma->channel;
+ matte_channel_ = custom2;
}
void update_memory_buffer_partial(MemoryBuffer *output,