Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_NormalizeOperation.cc
| Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| /* pass */ | /* pass */ | ||||
| } | } | ||||
| void NormalizeOperation::get_area_of_interest(const int UNUSED(input_idx), | void NormalizeOperation::get_area_of_interest(const int UNUSED(input_idx), | ||||
| const rcti &UNUSED(output_area), | const rcti &UNUSED(output_area), | ||||
| rcti &r_input_area) | rcti &r_input_area) | ||||
| { | { | ||||
| NodeOperation *input = get_input_operation(0); | r_input_area = get_input_operation(0)->get_canvas(); | ||||
| r_input_area.xmin = 0; | |||||
| r_input_area.xmax = input->getWidth(); | |||||
| r_input_area.ymin = 0; | |||||
| r_input_area.ymax = input->getHeight(); | |||||
| } | } | ||||
| void NormalizeOperation::update_memory_buffer_started(MemoryBuffer *UNUSED(output), | void NormalizeOperation::update_memory_buffer_started(MemoryBuffer *UNUSED(output), | ||||
| const rcti &UNUSED(area), | const rcti &UNUSED(area), | ||||
| Span<MemoryBuffer *> inputs) | Span<MemoryBuffer *> inputs) | ||||
| { | { | ||||
| if (m_cachedInstance == nullptr) { | if (m_cachedInstance == nullptr) { | ||||
| MemoryBuffer *input = inputs[0]; | MemoryBuffer *input = inputs[0]; | ||||
| Show All 40 Lines | |||||