|
bool | determine_depending_area_of_interest (rcti *input, ReadBufferOperation *read_operation, rcti *output) override |
|
void | execute_pixel_sampled (float output[4], float x, float y, PixelSampler sampler) override |
| calculate a single pixel More...
|
|
float | get_relative_scale_x_factor (float width) override |
|
float | get_relative_scale_y_factor (float height) override |
|
| ScaleOperation () |
|
| ScaleOperation (DataType data_type) |
|
void | init_data () override |
|
void | init_execution () override |
|
void | deinit_execution () override |
|
void | get_area_of_interest (int input_idx, const rcti &output_area, rcti &r_input_area) override |
| Get input operation area being read by this operation on rendering given output area. More...
|
|
void | update_memory_buffer_partial (MemoryBuffer *output, const rcti &area, Span< MemoryBuffer * > inputs) override |
|
void | determine_canvas (const rcti &preferred_area, rcti &r_area) override |
|
void | set_sampler (PixelSampler sampler) |
|
void | set_variable_size (bool variable_size) |
|
void | set_scale_canvas_max_size (Size2f size) |
|
virtual | ~NodeOperation () |
|
void | set_name (const std::string name) |
|
const std::string | get_name () const |
|
void | set_id (const int id) |
|
const int | get_id () const |
|
float | get_constant_value_default (float default_value) |
|
const float * | get_constant_elem_default (const float *default_elem) |
|
const NodeOperationFlags | get_flags () const |
|
std::optional< NodeOperationHash > | generate_hash () |
|
unsigned int | get_number_of_input_sockets () const |
|
unsigned int | get_number_of_output_sockets () const |
|
NodeOperationOutput * | get_output_socket (unsigned int index=0) |
|
NodeOperationInput * | get_input_socket (unsigned int index) |
|
NodeOperation * | get_input_operation (int index) |
|
virtual bool | is_output_operation (bool) const |
| is_output_operation determines whether this operation is an output of the ExecutionSystem during rendering or editing. More...
|
|
void | set_execution_model (const eExecutionModel model) |
|
void | set_bnodetree (const bNodeTree *tree) |
|
void | set_execution_system (ExecutionSystem *system) |
|
virtual void | execute_region (rcti *, unsigned int) |
| when a chunk is executed by a CPUDevice, this method is called More...
|
|
virtual void | execute_opencl_region (OpenCLDevice *, rcti *, unsigned int, MemoryBuffer **, MemoryBuffer *) |
| when a chunk is executed by an OpenCLDevice, this method is called More...
|
|
virtual void | execute_opencl (OpenCLDevice *, MemoryBuffer *, cl_mem, MemoryBuffer **, std::list< cl_mem > *, std::list< cl_kernel > *) |
| custom handle to add new tasks to the OpenCL command queue in order to execute a chunk on an GPUDevice. More...
|
|
void | set_canvas (const rcti &canvas_area) |
|
const rcti & | get_canvas () const |
|
void | unset_canvas () |
|
virtual bool | is_active_viewer_output () const |
| is this operation the active viewer output user can select an ViewerNode to be active (the result of this node will be drawn on the backdrop). More...
|
|
void | set_canvas_input_index (unsigned int index) |
| set the index of the input socket that will determine the canvas of this operation More...
|
|
void | set_determined_canvas_modifier (std::function< void(rcti &canvas)> fn) |
|
virtual eCompositorPriority | get_render_priority () const |
| get the render priority of this node. More...
|
|
bool | is_braked () const |
|
void | update_draw () |
|
unsigned int | get_width () const |
|
unsigned int | get_height () const |
|
void | read_sampled (float result[4], float x, float y, PixelSampler sampler) |
|
void | read_filtered (float result[4], float x, float y, float dx[2], float dy[2]) |
|
void | read (float result[4], int x, int y, void *chunk_data) |
|
virtual void * | initialize_tile_data (rcti *) |
|
virtual void | deinitialize_tile_data (rcti *, void *) |
|
virtual MemoryBuffer * | get_input_memory_buffer (MemoryBuffer **) |
|
virtual std::unique_ptr< MetaData > | get_meta_data () |
|
void | render (MemoryBuffer *output_buf, Span< rcti > areas, Span< MemoryBuffer * > inputs_bufs) |
|
virtual void | update_memory_buffer (MemoryBuffer *UNUSED(output), const rcti &UNUSED(area), Span< MemoryBuffer * > UNUSED(inputs)) |
|
void | get_area_of_interest (NodeOperation *input_op, const rcti &output_area, rcti &r_input_area) |
|
|
static float | scale_coord (const float coord, const float center, const float relative_scale) |
|
static float | scale_coord_inverted (const float coord, const float center, const float relative_scale) |
|
static void | get_scale_offset (const rcti &input_canvas, const rcti &scale_canvas, float &r_scale_offset_x, float &r_scale_offset_y) |
|
static void | scale_area (rcti &area, float relative_scale_x, float relative_scale_y) |
|
static void | get_scale_area_of_interest (const rcti &input_canvas, const rcti &scale_canvas, float relative_scale_x, float relative_scale_y, const rcti &output_area, rcti &r_input_area) |
|
static void | clamp_area_size_max (rcti &area, Size2f max_size) |
|
static constexpr float | MIN_RELATIVE_SCALE = 0.0001f |
|
static constexpr float | DEFAULT_MAX_SCALE_CANVAS_SIZE = 12000 |
|
| BaseScaleOperation () |
|
PixelSampler | get_effective_sampler (PixelSampler sampler) |
|
| MultiThreadedOperation () |
|
virtual void | update_memory_buffer_started (MemoryBuffer *UNUSED(output), const rcti &UNUSED(area), Span< MemoryBuffer * > UNUSED(inputs)) |
|
virtual void | update_memory_buffer_finished (MemoryBuffer *UNUSED(output), const rcti &UNUSED(area), Span< MemoryBuffer * > UNUSED(inputs)) |
|
| NodeOperation () |
|
virtual void | hash_output_params () |
|
template<typename T > |
void | hash_param (T param) |
|
template<typename T1 , typename T2 > |
void | hash_params (T1 param1, T2 param2) |
|
template<typename T1 , typename T2 , typename T3 > |
void | hash_params (T1 param1, T2 param2, T3 param3) |
|
void | add_input_socket (DataType datatype, ResizeMode resize_mode=ResizeMode::Center) |
|
void | add_output_socket (DataType datatype) |
|
void | set_width (unsigned int width) |
|
void | set_height (unsigned int height) |
|
SocketReader * | get_input_socket_reader (unsigned int index) |
|
void | deinit_mutex () |
|
void | init_mutex () |
|
void | lock_mutex () |
|
void | unlock_mutex () |
|
void | set_complex (bool complex) |
| set whether this operation is complex More...
|
|
virtual void | execute_pixel (float output[4], int x, int y, void *) |
| calculate a single pixel More...
|
|
virtual void | execute_pixel_filtered (float[4], float, float, float[2], float[2]) |
| calculate a single pixel using an EWA filter More...
|
|
static void | combine_hashes (size_t &combined, size_t other) |
|
SocketReader * | input_operation_ |
|
SocketReader * | input_xoperation_ |
|
SocketReader * | input_yoperation_ |
|
float | canvas_center_x_ |
|
float | canvas_center_y_ |
|
Size2f | max_scale_canvas_size_ = {DEFAULT_MAX_SCALE_CANVAS_SIZE, DEFAULT_MAX_SCALE_CANVAS_SIZE} |
|
int | sampler_ |
|
bool | variable_size_ |
|
int | num_passes_ |
|
int | current_pass_ |
|
eExecutionModel | execution_model_ |
|
rcti | canvas_ = COM_AREA_NONE |
|
NodeOperationFlags | flags_ |
|
ExecutionSystem * | exec_system_ |
|
static constexpr int | IMAGE_INPUT_INDEX = 0 |
|
static constexpr int | X_INPUT_INDEX = 1 |
|
static constexpr int | Y_INPUT_INDEX = 2 |
|
Definition at line 126 of file COM_ScaleOperation.h.