38 if (!performs_conversion(*settings)) {
59 "Color space conversion bypassed for node: %s. From color space is data: %s.",
61 settings.from_color_space);
68 "Color space conversion bypassed for node: %s. To color space is data: %s.",
70 settings.to_color_space);
75 settings.from_color_space, settings.to_color_space,
sizeof(settings.from_color_space)))
79 "Color space conversion bypassed for node: %s. To and from are the same: %s.",
81 settings.from_color_space);
#define STREQLEN(a, b, n)
#define CLOG_INFO(clg_ref, level,...)
bool IMB_colormanagement_space_name_is_data(const char *name)
Overall context of the compositor.
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
ConvertColorSpaceNode(bNode *editorNode)
void set_settings(NodeConvertColorSpace *node_color_space)
void map_output_socket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
NodeOperationOutput * add_input_proxy(NodeInput *input, bool use_conversion)
void add_operation(NodeOperation *operation)
void map_input_socket(NodeInput *node_socket, NodeOperationInput *operation_socket)
NodeOperationOutput * get_output_socket(unsigned int index=0)
NodeOperationInput * get_input_socket(unsigned int index)
NodeOutput are sockets that can send data/input.
NodeOutput * get_output_socket(unsigned int index=0) const
NodeInput * get_input_socket(unsigned int index) const
const bNode * get_bnode() const
get the reference to the SDNA bNode struct