|
Blender V4.3
|
Namespaces | |
| namespace | tests |
Typedefs | |
| using | Size2f = float2 |
| template<typename T > | |
| using | BuffersIterator = typename BuffersIteratorBuilder<T>::Iterator |
| typedef NodeOperation | SocketReader |
| using | Tags = std::set<NodeOperation *> |
| using | PixelsSum = CalculateMeanOperation::PixelsSum |
| typedef float | fRGB[4] |
| typedef enum blender::compositor::MovieClipAttribute | MovieClipAttribute |
| typedef struct blender::compositor::AvgLogLum | AvgLogLum |
| temporarily storage during execution of Tone-map | |
Functions | |
| int2 | encode_jump_flooding_value (int2 closest_seed_texel, bool is_flooded) |
| int2 | initialize_jump_flooding_value (int2 texel, bool is_seed) |
| static int2 | load_jump_flooding (Span< int2 > input, int2 texel, int2 size, int2 fallback) |
| static void | jump_flooding_pass (Span< int2 > input, MutableSpan< int2 > output, int2 size, int step_size) |
| Array< int2 > | jump_flooding (Span< int2 > input, int2 size) |
| static MemoryBuffer | compute_symmetric_separable_blur_weights (int type, float radius) |
| static float | sample_weight (const MemoryBuffer &weights, float parameter) |
| static void | blur_pass (const MemoryBuffer &input, const MemoryBuffer &radius_buffer, const MemoryBuffer &weights, MemoryBuffer &output, bool is_vertical) |
| void | symmetric_separable_blur_variable_size (const MemoryBuffer &input, MemoryBuffer &output, const MemoryBuffer &radius, int filter_type, int weights_resolution) |
| constexpr int | COM_data_type_num_channels (const DataType datatype) |
| constexpr int | COM_data_type_bytes_len (DataType data_type) |
| constexpr DataType | COM_num_channels_data_type (const int num_channels) |
| static bool | is_constant_foldable (NodeOperation *operation) |
| static Set< NodeOperation * > | find_constant_foldable_operations (Span< NodeOperation * > operations) |
| static ConstantOperation * | create_constant_operation (DataType data_type, const float *constant_elem) |
| Node * | COM_convert_bnode (bNode *b_node) |
| Wraps a bNode in its Node instance. | |
| NodeOperation * | COM_convert_data_type (const NodeOperationOutput &from, const NodeOperationInput &to) |
| This function will add a date-type conversion rule when the to-socket does not support the from-socket actual data type. | |
| void | COM_convert_canvas (NodeOperationBuilder &builder, NodeOperationOutput *from_socket, NodeOperationInput *to_socket) |
| This function will add a resolution rule based on the settings of the NodeInput. | |
| static std::string | operation_class_name (const NodeOperation *op) |
| static std::string | get_operations_export_dir () |
| void | expand_area_for_sampler (rcti &area, PixelSampler sampler) |
| std::ostream & | operator<< (std::ostream &os, const eCompositorPriority &priority) |
| static Vector< NodeOperation * > | get_operation_dependencies (NodeOperation *operation) |
| static rcti | create_rect (const int width, const int height) |
| static void | colorspace_to_scene_linear (MemoryBuffer *buf, const rcti &area, ColorSpace *colorspace) |
| static void | premultiply_alpha (MemoryBuffer *buf, const rcti &area) |
| static void | read_ewa_elem_checked (void *userdata, int x, int y, float result[4]) |
| static void | read_ewa_elem_clamped (void *userdata, int x, int y, float result[4]) |
| constexpr blender::StringRef | META_DATA_KEY_CRYPTOMATTE_HASH ("cryptomatte/{hash}/hash") |
| constexpr blender::StringRef | META_DATA_KEY_CRYPTOMATTE_CONVERSION ("cryptomatte/{hash}/conversion") |
| constexpr blender::StringRef | META_DATA_KEY_CRYPTOMATTE_MANIFEST ("cryptomatte/{hash}/manifest") |
| constexpr blender::StringRef | META_DATA_KEY_CRYPTOMATTE_NAME ("cryptomatte/{hash}/name") |
| std::ostream & | operator<< (std::ostream &os, const NodeOperationFlags &node_operation_flags) |
| std::ostream & | operator<< (std::ostream &os, const NodeOperation &node_operation) |
| static Vector< NodeOperationHash > | generate_hashes (Span< NodeOperation * > operations) |
| static void | find_reachable_operations_recursive (Tags &reachable, NodeOperation *op) |
| static void | sort_operations_recursive (Vector< NodeOperation * > &sorted, Tags &visited, NodeOperation *op) |
| std::ostream & | operator<< (std::ostream &os, const NodeOperationBuilder &builder) |
| std::ostream & | operator<< (std::ostream &os, const NodeOperationBuilder::Link &link) |
| constexpr ThreadingModel | COM_threading_model () |
| static | ThreadLocal (CPUDevice *) g_thread_device |
| static float | get_threshold (const NodeAntiAliasingData *data) |
| static float | get_local_contrast_adaptation_factor (const NodeAntiAliasingData *data) |
| static int | get_corner_rounding (const NodeAntiAliasingData *data) |
| static DataType | get_input_data_type (NodeInput *input) |
| static TrackPositionOperation * | create_motion_operation (NodeConverter &converter, MovieClip *clip, NodeTrackPosData *trackpos_data, int axis, int frame_number, int delta) |
| static void | blur_pixel (PixelCursor &p) |
| static float | compute_exterior_angle (int sides) |
| static float | compute_rotation (float angle, int sides) |
| float | colorbalance_cdl (float in, float offset, float power, float slope) |
| float | colorbalance_lgg (float in, float lift_lgg, float gamma_inv, float gain) |
| BLI_INLINE float | color_correct_powf_safe (const float x, const float y, const float fallback_value) |
| bool | COM_is_denoise_supported () |
| static bool | are_guiding_passes_noise_free (const NodeDenoise *settings) |
| BLI_INLINE int | color_diff (const float a[3], const float b[3], const float threshold) |
| template<template< typename > typename TCompare> | |
| static float | get_min_distance (DilateErodeThresholdOperation::PixelData &p) |
| template<template< typename > typename TCompare> | |
| static float | get_distance_value (DilateDistanceOperation::PixelData &p, const float start_value) |
| template<typename TCompareSelector > | |
| static void | step_update_memory_buffer (MemoryBuffer *output, const MemoryBuffer *input, const rcti &area, const int num_iterations, const float compare_min_value) |
| static float | load_mask (const float *input, int2 texel, int2 size) |
| static float | load_mask (const float *input, int2 texel, int2 size, float fallback) |
| static int | get_channels_count (DataType datatype) |
| static float * | initialize_buffer (uint width, uint height, DataType datatype) |
| static void | add_meta_data_for_input (realtime_compositor::FileOutput &file_output, const FileOutputInput &input) |
| static float * | float4_to_float3_image (int2 size, float *float4_image) |
| static float * | inflate_input (const FileOutputInput &input, const int2 size) |
| static void | upsample (const MemoryBuffer &input, MemoryBuffer &output) |
| static float4 | karis_brightness_weighted_sum (float4 color1, float4 color2, float4 color3, float4 color4) |
| static void | downsample (const MemoryBuffer &input, MemoryBuffer &output, bool use_karis_average) |
| static Array< std::unique_ptr< MemoryBuffer > > | compute_bloom_downsample_chain (MemoryBuffer &highlights, int chain_length) |
| static int | get_bloom_size (const NodeGlare *settings) |
| static int | compute_bloom_size_halving_count (const NodeGlare *settings) |
| static float | compute_fog_glow_kernel_value (int x, int y, int kernel_size) |
| static float | smooth_mask (float x, float y) |
| static float | get_pixel_saturation (const float pixel_color[4], float screen_balance, int primary_channel) |
| static bool | check_corners (float corners[4][2]) |
| static void | set_default_corner (const int corner_idx, float r_corner[2]) |
| static void | read_input_corners (NodeOperation *op, const int first_input_idx, float r_corners[4][2]) |
| BLI_INLINE void | warp_coord (float x, float y, float matrix[3][3], float uv[2], float deriv[2][2]) |
| static void | SMAAMovc (float2 cond, float2 &variable, float2 value) |
| static void | SMAAMovc (float4 cond, float4 &variable, float4 value) |
| static void | SMAAEdgeDetectionVS (float2 texcoord, int2 size, float4 offset[3]) |
| static void | SMAABlendingWeightCalculationVS (float2 texcoord, int2 size, float2 &pixcoord, float4 offset[3]) |
| static void | SMAANeighborhoodBlendingVS (float2 texcoord, int2 size, float4 &offset) |
| static float2 | SMAALumaEdgeDetectionPS (float2 texcoord, float4 offset[3], SMAATexture2D(colorTex), float edge_threshold, float3 luminance_coefficients, float local_contrast_adaptation_factor) |
| static float2 | SMAADecodeDiagBilinearAccess (float2 e) |
| static float4 | SMAADecodeDiagBilinearAccess (float4 e) |
| static float2 | SMAASearchDiag1 (SMAATexture2D(edgesTex), float2 texcoord, float2 dir, int2 size, float2 &e) |
| static float2 | SMAASearchDiag2 (SMAATexture2D(edgesTex), float2 texcoord, float2 dir, int2 size, float2 &e) |
| static float2 | SMAAAreaDiag (SMAATexture2D(areaTex), float2 dist, float2 e, float offset) |
| static float2 | SMAACalculateDiagWeights (SMAATexture2D(edgesTex), SMAATexture2D(areaTex), float2 texcoord, float2 e, float4 subsampleIndices, int2 size) |
| static float | SMAASearchLength (SMAATexture2D(searchTex), float2 e, float offset) |
| static float | SMAASearchXLeft (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float | SMAASearchXRight (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float | SMAASearchYUp (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float | SMAASearchYDown (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float2 | SMAAArea (SMAATexture2D(areaTex), float2 dist, float e1, float e2, float offset) |
| static void | SMAADetectHorizontalCornerPattern (SMAATexture2D(edgesTex), float2 &weights, float4 texcoord, float2 d, int2 size, int corner_rounding) |
| static void | SMAADetectVerticalCornerPattern (SMAATexture2D(edgesTex), float2 &weights, float4 texcoord, float2 d, int2 size, int corner_rounding) |
| static float4 | SMAABlendingWeightCalculationPS (float2 texcoord, float2 pixcoord, float4 offset[3], MemoryBuffer *edgesTex, MemoryBuffer *areaTex, MemoryBuffer *searchTex, float4 subsampleIndices, int2 size, int corner_rounding) |
| static float4 | SMAANeighborhoodBlendingPS (float2 texcoord, float4 offset, SMAATexture2D(colorTex), SMAATexture2D(blendTex), int2 size) |
| float4 | summed_area_table_sum (MemoryBuffer *buffer, const rcti &area) |
| static Luminance | calc_area_luminance (const MemoryBuffer *input, const rcti &area) |
| static float2 | max_velocity (const float2 &a, const float2 &b) |
| static uint32_t | velocity_atomic_max_value (const float2 &value, const int2 &texel) |
| static float2 | max_velocity_approximate (const float2 &a, const float2 &b, const int2 &a_texel, const int2 &b_texel) |
| static MemoryBuffer | compute_max_tile_velocity (MemoryBuffer *velocity_buffer) |
| static MotionRect | compute_motion_rect (int2 tile, float2 motion, int2 size) |
| static MotionLine | compute_motion_line (int2 tile, float2 motion) |
| static bool | is_inside_motion_line (int2 tile, MotionLine motion_line) |
| static MemoryBuffer | dilate_max_velocity (MemoryBuffer &max_tile_velocity, float shutter_speed) |
| static float | interleaved_gradient_noise (int2 p) |
| static float2 | spread_compare (float center_motion_length, float sample_motion_length, float offset_length) |
| static float2 | depth_compare (float center_depth, float sample_depth) |
| static float | dir_compare (float2 offset, float2 sample_motion, float sample_motion_length) |
| static float2 | sample_weights (float center_depth, float sample_depth, float center_motion_length, float sample_motion_length, float offset_length) |
| static void | gather_sample (MemoryBuffer *image_buffer, MemoryBuffer *depth_buffer, MemoryBuffer *velocity_buffer, int2 size, float2 screen_uv, float center_depth, float center_motion_len, float2 offset, float offset_len, const bool next, float shutter_speed, Accumulator &accum) |
| static void | gather_blur (MemoryBuffer *image_buffer, MemoryBuffer *depth_buffer, MemoryBuffer *velocity_buffer, int2 size, float2 screen_uv, float2 center_motion, float center_depth, float2 max_motion, float ofs, const bool next, int samples_count, float shutter_speed, Accumulator &accum) |
| static void | motion_blur (MemoryBuffer *image_buffer, MemoryBuffer *depth_buffer, MemoryBuffer *velocity_buffer, MemoryBuffer *max_velocity_buffer, MemoryBuffer *output, int samples_count, float shutter_speed) |
Single threaded Scheduling | |
| static void | threading_model_single_thread_execute (WorkPackage *package) |
Queue Scheduling | |
| static void * | threading_model_queue_execute (void *data) |
| static void | threading_model_queue_schedule (WorkPackage *package) |
| static void | threading_model_queue_start () |
| static void | threading_model_queue_finish () |
| static void | threading_model_queue_stop () |
| static void | threading_model_queue_initialize (const int num_cpu_threads) |
| static void | threading_model_queue_deinitialize () |
Task Scheduling | |
| static void | threading_model_task_execute (TaskPool *__restrict, void *task_data) |
| static void | threading_model_task_schedule (WorkPackage *package) |
| static void | threading_model_task_start () |
| static void | threading_model_task_finish () |
| static void | threading_model_task_stop () |
Cryptomatte V2 | |
| static std::string | prefix_from_node (const bNode &node) |
| static std::string | combined_layer_pass_name (RenderLayer *render_layer, RenderPass *render_pass) |
| typedef struct blender::compositor::AvgLogLum blender::compositor::AvgLogLum |
temporarily storage during execution of Tone-map
| using blender::compositor::BuffersIterator = typename BuffersIteratorBuilder<T>::Iterator |
Definition at line 179 of file COM_BuffersIterator.h.
| typedef float blender::compositor::fRGB[4] |
Definition at line 14 of file COM_GlareBaseOperation.h.
| typedef CalculateMeanOperation::PixelsSum blender::compositor::PixelsSum = CalculateMeanOperation::PixelsSum |
Definition at line 118 of file COM_CalculateMeanOperation.cc.
| using blender::compositor::Size2f = float2 |
Definition at line 13 of file COM_defines.h.
Definition at line 33 of file COM_NodeOperation.h.
| using blender::compositor::Tags = std::set<NodeOperation *> |
Definition at line 508 of file COM_NodeOperationBuilder.cc.
|
strong |
| Enumerator | |
|---|---|
| X | |
| Y | |
Definition at line 15 of file COM_defines.h.
|
strong |
| Enumerator | |
|---|---|
| Clip | |
| Extend | |
| Repeat | |
Definition at line 26 of file COM_MemoryBuffer.h.
| Enumerator | |
|---|---|
| MCA_SCALE | |
| MCA_X | |
| MCA_Y | |
| MCA_ANGLE | |
Definition at line 13 of file COM_MovieClipAttributeOperation.h.
|
strong |
| Enumerator | |
|---|---|
| Nearest | |
| Bilinear | |
| Bicubic | |
Definition at line 39 of file COM_Enums.h.
|
strong |
| Enumerator | |
|---|---|
| SingleThreaded | Everything is executed in the caller thread. easy for debugging. |
| Queue | Multi-threaded model, which uses the BLI_thread_queue pattern. |
| Task | Uses BLI_task as threading backend. |
Definition at line 19 of file COM_WorkScheduler.cc.
|
static |
Definition at line 104 of file COM_FileOutputOperation.cc.
References blender::realtime_compositor::FileOutput::add_meta_data(), blender::bke::cryptomatte::BKE_cryptomatte_extract_layer_name(), and BLI_strnlen().
|
static |
Definition at line 139 of file COM_DenoiseOperation.cc.
References CMP_NODE_DENOISE_PREFILTER_ACCURATE, CMP_NODE_DENOISE_PREFILTER_FAST, and CMP_NODE_DENOISE_PREFILTER_NONE.
Referenced by blender::compositor::DenoiseOperation::generate_denoise(), and blender::compositor::DenoiseOperation::hash_output_params().
|
static |
Definition at line 53 of file COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc.
References blender::threading::parallel_for().
Referenced by symmetric_separable_blur_variable_size().
|
static |
Definition at line 42 of file COM_BilateralBlurOperation.cc.
References add_v4_v4(), COM_COLOR_BLACK, copy_v4_v4(), blender::compositor::PixelCursor::determ_reference_color, fabsf, blender::compositor::PixelCursor::input_color, blender::compositor::PixelCursor::input_determinator, mul_v4_fl(), blender::compositor::PixelCursor::out, blender::compositor::PixelCursor::radius, blender::compositor::MemoryBuffer::read_elem_clamped(), blender::compositor::PixelCursor::sigma_color, blender::compositor::PixelCursor::step, blender::compositor::PixelCursor::temp_color, blender::compositor::PixelCursor::x, blender::compositor::PixelCursor::y, and zero_v4().
Referenced by blender::compositor::BilateralBlurOperation::update_memory_buffer_partial().
|
static |
Definition at line 39 of file COM_TonemapOperation.cc.
References add_v3_v3(), blender::compositor::Luminance::color_sum, IMB_colormanagement_get_luminance(), blender::compositor::Luminance::log_sum, logf, blender::compositor::Luminance::max, blender::compositor::Luminance::min, blender::compositor::Luminance::num_pixels, and blender::compositor::Luminance::sum.
Referenced by blender::compositor::TonemapOperation::update_memory_buffer_started().
|
static |
Definition at line 15 of file COM_PlaneCornerPinOperation.cc.
References cross(), cross_v2v2(), fabsf, next, sub_v2_v2v2(), and v2.
Referenced by read_input_corners().
| BLI_INLINE float blender::compositor::color_correct_powf_safe | ( | const float | x, |
| const float | y, | ||
| const float | fallback_value ) |
Definition at line 23 of file COM_ColorCorrectionOperation.cc.
References powf.
Referenced by blender::compositor::ColorCorrectionOperation::update_memory_buffer_row().
| BLI_INLINE int blender::compositor::color_diff | ( | const float | a[3], |
| const float | b[3], | ||
| const float | threshold ) |
Definition at line 20 of file COM_DespeckleOperation.cc.
Referenced by blender::compositor::DespeckleOperation::update_memory_buffer_partial().
|
inline |
Definition at line 9 of file COM_ColorBalanceASCCDLOperation.cc.
Referenced by blender::compositor::ColorBalanceASCCDLOperation::update_memory_buffer_row().
|
inline |
Definition at line 11 of file COM_ColorBalanceLGGOperation.cc.
References linearrgb_to_srgb(), powf, and srgb_to_linearrgb().
Referenced by blender::compositor::ColorBalanceLGGOperation::update_memory_buffer_row().
|
static |
Definition at line 287 of file COM_MemoryBuffer.cc.
References BLI_rcti_size_x(), BLI_rcti_size_y(), blender::compositor::MemoryBuffer::get_elem(), blender::compositor::MemoryBuffer::get_num_channels(), blender::compositor::MemoryBuffer::get_width(), IMB_colormanagement_colorspace_to_scene_linear(), and blender::compositor::MemoryBuffer::row_stride.
Wraps a bNode in its Node instance.
For all node-types a wrapper class is created.
Definition at line 113 of file COM_Converter.cc.
References CMP_NODE_ALPHAOVER, CMP_NODE_ANTIALIASING, CMP_NODE_BILATERALBLUR, CMP_NODE_BLUR, CMP_NODE_BOKEHBLUR, CMP_NODE_BOKEHIMAGE, CMP_NODE_BRIGHTCONTRAST, CMP_NODE_CHANNEL_MATTE, CMP_NODE_CHROMA_MATTE, CMP_NODE_COLOR_MATTE, CMP_NODE_COLOR_SPILL, CMP_NODE_COLORBALANCE, CMP_NODE_COLORCORRECTION, CMP_NODE_COMBHSVA_LEGACY, CMP_NODE_COMBINE_COLOR, CMP_NODE_COMBINE_XYZ, CMP_NODE_COMBRGBA_LEGACY, CMP_NODE_COMBYCCA_LEGACY, CMP_NODE_COMBYUVA_LEGACY, CMP_NODE_COMPOSITE, CMP_NODE_CONVERT_COLOR_SPACE, CMP_NODE_CORNERPIN, CMP_NODE_CROP, CMP_NODE_CRYPTOMATTE, CMP_NODE_CRYPTOMATTE_LEGACY, CMP_NODE_CURVE_RGB, CMP_NODE_CURVE_VEC, CMP_NODE_DBLUR, CMP_NODE_DEFOCUS, CMP_NODE_DENOISE, CMP_NODE_DESPECKLE, CMP_NODE_DIFF_MATTE, CMP_NODE_DILATEERODE, CMP_NODE_DISPLACE, CMP_NODE_DIST_MATTE, CMP_NODE_DOUBLEEDGEMASK, CMP_NODE_EXPOSURE, CMP_NODE_FILTER, CMP_NODE_FLIP, CMP_NODE_GAMMA, CMP_NODE_GLARE, CMP_NODE_HUE_SAT, CMP_NODE_HUECORRECT, CMP_NODE_ID_MASK, CMP_NODE_IMAGE, CMP_NODE_INPAINT, CMP_NODE_INVERT, CMP_NODE_KEYING, CMP_NODE_KEYINGSCREEN, CMP_NODE_KUWAHARA, CMP_NODE_LENSDIST, CMP_NODE_LUMA_MATTE, CMP_NODE_MAP_RANGE, CMP_NODE_MAP_UV, CMP_NODE_MAP_VALUE, CMP_NODE_MASK, CMP_NODE_MASK_BOX, CMP_NODE_MASK_ELLIPSE, CMP_NODE_MATH, CMP_NODE_MIX_RGB, CMP_NODE_MOVIECLIP, CMP_NODE_MOVIEDISTORTION, CMP_NODE_NORMAL, CMP_NODE_NORMALIZE, CMP_NODE_OUTPUT_FILE, CMP_NODE_PIXELATE, CMP_NODE_PLANETRACKDEFORM, CMP_NODE_POSTERIZE, CMP_NODE_PREMULKEY, CMP_NODE_R_LAYERS, CMP_NODE_RGB, CMP_NODE_RGBTOBW, CMP_NODE_ROTATE, CMP_NODE_SCALE, CMP_NODE_SCENE_TIME, CMP_NODE_SEPARATE_COLOR, CMP_NODE_SEPARATE_XYZ, CMP_NODE_SEPHSVA_LEGACY, CMP_NODE_SEPRGBA_LEGACY, CMP_NODE_SEPYCCA_LEGACY, CMP_NODE_SEPYUVA_LEGACY, CMP_NODE_SETALPHA, CMP_NODE_SPLIT, CMP_NODE_STABILIZE2D, CMP_NODE_SUNBEAMS, CMP_NODE_SWITCH, CMP_NODE_SWITCH_VIEW, CMP_NODE_TEXTURE, CMP_NODE_TIME, CMP_NODE_TONEMAP, CMP_NODE_TRACKPOS, CMP_NODE_TRANSFORM, CMP_NODE_TRANSLATE, CMP_NODE_VALTORGB, CMP_NODE_VALUE, CMP_NODE_VECBLUR, CMP_NODE_VIEW_LEVELS, CMP_NODE_VIEWER, CMP_NODE_ZCOMBINE, node, NODE_GROUP, NODE_GROUP_INPUT, NODE_GROUP_OUTPUT, blender::bke::node_type_is_undefined(), and bNode::type.
Referenced by blender::compositor::NodeGraph::add_bNode().
| void blender::compositor::COM_convert_canvas | ( | NodeOperationBuilder & | builder, |
| NodeOperationOutput * | from_socket, | ||
| NodeOperationInput * | to_socket ) |
This function will add a resolution rule based on the settings of the NodeInput.
Definition at line 459 of file COM_Converter.cc.
References blender::compositor::NodeOperationBuilder::add_link(), blender::compositor::NodeOperationBuilder::add_operation(), Align, BLI_assert, Center, FitAny, FitHeight, FitWidth, blender::compositor::NodeOperation::get_canvas(), blender::compositor::NodeOperationInput::get_data_type(), blender::compositor::NodeOperationOutput::get_data_type(), blender::compositor::NodeOperation::get_height(), blender::compositor::NodeOperation::get_input_socket(), blender::compositor::NodeOperationInput::get_operation(), blender::compositor::NodeOperationOutput::get_operation(), blender::compositor::NodeOperation::get_output_socket(), blender::compositor::NodeOperationInput::get_resize_mode(), blender::compositor::NodeOperation::get_width(), None, blender::compositor::NodeOperationBuilder::remove_input_link(), blender::compositor::ScaleOperation::scale_area(), blender::compositor::NodeOperation::set_canvas(), blender::compositor::NodeOperationInput::set_resize_mode(), blender::compositor::SetValueOperation::set_value(), Stretch, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by blender::compositor::NodeOperationBuilder::determine_canvases().
| NodeOperation * blender::compositor::COM_convert_data_type | ( | const NodeOperationOutput & | from, |
| const NodeOperationInput & | to ) |
This function will add a date-type conversion rule when the to-socket does not support the from-socket actual data type.
Definition at line 430 of file COM_Converter.cc.
References Color, Value, and Vector.
Referenced by blender::compositor::NodeOperationBuilder::add_datatype_conversions().
Definition at line 50 of file COM_defines.h.
References COM_data_type_num_channels(), and float.
Referenced by blender::compositor::SplitOperation::update_memory_buffer_partial().
Utility to get the number of channels of the given data type.
Definition at line 35 of file COM_defines.h.
References Color, Float2, Value, and Vector.
Referenced by COM_data_type_bytes_len(), blender::compositor::NodeOperation::generate_hash(), blender::compositor::MemoryBuffer::MemoryBuffer(), blender::compositor::MemoryBuffer::MemoryBuffer(), and blender::compositor::PreviewOperation::update_memory_buffer_partial().
| bool blender::compositor::COM_is_denoise_supported | ( | ) |
Definition at line 15 of file COM_DenoiseOperation.cc.
References BLI_cpu_support_sse42().
Referenced by blender::compositor::DenoiseNode::convert_to_operations(), and blender::compositor::DenoiseOperation::generate_denoise().
Utility to get data type for given number of channels.
Definition at line 70 of file COM_defines.h.
References Color, Float2, Value, and Vector.
Referenced by blender::compositor::MemoryBuffer::MemoryBuffer().
|
constexpr |
Returns the active threading model.
Default is ThreadingModel::Queue.
Definition at line 33 of file COM_WorkScheduler.cc.
References Queue.
Referenced by blender::compositor::WorkScheduler::current_thread_id(), blender::compositor::WorkScheduler::deinitialize(), blender::compositor::WorkScheduler::finish(), blender::compositor::WorkScheduler::initialize(), blender::compositor::WorkScheduler::schedule(), blender::compositor::WorkScheduler::start(), and blender::compositor::WorkScheduler::stop().
|
static |
Definition at line 75 of file COM_CryptomatteNode.cc.
References BLI_strnlen(), RenderLayer::name, and RenderPass::name.
|
static |
Definition at line 213 of file COM_GlareBloomOperation.cc.
References BLI_rcti_init(), compute_bloom_downsample_chain(), downsample(), blender::IndexRange::first(), and int2.
Referenced by compute_bloom_downsample_chain(), and blender::compositor::GlareBloomOperation::generate_glare().
|
static |
Definition at line 256 of file COM_GlareBloomOperation.cc.
References compute_bloom_size_halving_count(), get_bloom_size(), and MAX_GLARE_SIZE.
Referenced by compute_bloom_size_halving_count(), and blender::compositor::GlareBloomOperation::generate_glare().
Definition at line 22 of file COM_BokehImageOperation.cc.
References blender::math::numbers::pi.
Referenced by compute_rotation(), and blender::compositor::BokehImageOperation::init_execution().
|
static |
Definition at line 28 of file COM_GlareFogGlowOperation.cc.
References blender::math::cos(), blender::math::exp(), blender::math::numbers::pi, blender::math::sqrt(), blender::math::square(), and v.
|
static |
Definition at line 66 of file COM_VectorBlurOperation.cc.
References Color, blender::math::divide_ceil(), blender::compositor::MemoryBuffer::get_height(), blender::compositor::MemoryBuffer::get_width(), MOTION_BLUR_TILE_SIZE, output, and blender::threading::parallel_for().
Referenced by blender::compositor::VectorBlurOperation::update_memory_buffer().
|
static |
Definition at line 130 of file COM_VectorBlurOperation.cc.
References compute_motion_line(), blender::math::length(), blender::compositor::MotionLine::origin, and tile.
Referenced by compute_motion_line(), and dilate_max_velocity().
|
static |
Definition at line 104 of file COM_VectorBlurOperation.cc.
References blender::math::abs(), blender::compositor::MotionRect::bottom_left, blender::math::ceil(), compute_motion_rect(), blender::compositor::MotionRect::extent, blender::math::max(), blender::math::min(), MOTION_BLUR_TILE_SIZE, blender::math::sign(), and tile.
Referenced by compute_motion_rect(), and dilate_max_velocity().
Definition at line 27 of file COM_BokehImageOperation.cc.
References compute_exterior_angle(), and blender::math::numbers::pi.
Referenced by blender::compositor::BokehImageOperation::init_execution().
|
static |
Definition at line 18 of file COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc.
References BLI_rcti_init(), blender::math::ceil(), blender::IndexRange::drop_front(), blender::compositor::MemoryBuffer::get_elem(), RE_filter_value(), sum(), and Value.
Referenced by symmetric_separable_blur_variable_size().
|
static |
Definition at line 53 of file COM_ConstantFolder.cc.
References BLI_assert_msg, Color, blender::compositor::SetColorOperation::set_channels(), blender::compositor::SetValueOperation::set_value(), blender::compositor::SetVectorOperation::set_vector(), Value, and Vector.
|
static |
Definition at line 21 of file COM_TrackPositionNode.cc.
References blender::compositor::NodeConverter::add_operation(), CMP_NODE_TRACK_POSITION_ABSOLUTE, blender::compositor::TrackPositionOperation::set_axis(), blender::compositor::TrackPositionOperation::set_framenumber(), blender::compositor::TrackPositionOperation::set_movie_clip(), blender::compositor::TrackPositionOperation::set_position(), blender::compositor::TrackPositionOperation::set_relative_frame(), blender::compositor::TrackPositionOperation::set_speed_output(), blender::compositor::TrackPositionOperation::set_track_name(), blender::compositor::TrackPositionOperation::set_tracking_object(), NodeTrackPosData::track_name, and NodeTrackPosData::tracking_object.
Referenced by blender::compositor::TrackPositionNode::convert_to_operations().
Definition at line 24 of file COM_MemoryBuffer.cc.
References BLI_rcti_init().
Definition at line 227 of file COM_VectorBlurOperation.cc.
References blender::math::clamp(), depth_compare(), and DEPTH_SCALE.
Referenced by depth_compare(), and sample_weights().
|
static |
Definition at line 157 of file COM_VectorBlurOperation.cc.
References blender::compositor::MotionRect::bottom_left, compute_motion_line(), compute_motion_rect(), copy_v2_v2(), dilate_max_velocity(), blender::compositor::MotionRect::extent, blender::compositor::MemoryBuffer::get_elem(), blender::compositor::MemoryBuffer::get_height(), blender::compositor::MemoryBuffer::get_width(), is_inside_motion_line(), max_velocity_approximate(), output, tile, KernelWorkTile::x, blender::VecBase< T, Size >::xy(), KernelWorkTile::y, and blender::VecBase< T, Size >::zw().
Referenced by dilate_max_velocity(), and blender::compositor::VectorBlurOperation::update_memory_buffer().
|
static |
Definition at line 234 of file COM_VectorBlurOperation.cc.
References dir_compare(), and blender::math::dot().
Referenced by dir_compare(), and gather_sample().
|
static |
Definition at line 99 of file COM_GlareBloomOperation.cc.
References downsample(), and int2.
Referenced by compute_bloom_downsample_chain(), and downsample().
Definition at line 22 of file COM_JumpFloodingAlgorithm.cc.
References JUMP_FLOODING_NON_FLOODED_VALUE.
Referenced by initialize_jump_flooding_value().
| void blender::compositor::expand_area_for_sampler | ( | rcti & | area, |
| PixelSampler | sampler ) |
Definition at line 9 of file COM_Enums.cc.
References Bicubic, Bilinear, Nearest, and sampler().
Referenced by blender::compositor::DisplaceOperation::get_area_of_interest(), blender::compositor::MapUVOperation::get_area_of_interest(), blender::compositor::RotateOperation::get_area_of_interest(), blender::compositor::ScaleFixedSizeOperation::get_area_of_interest(), blender::compositor::ScaleOperation::get_area_of_interest(), and blender::compositor::TransformOperation::get_area_of_interest().
|
static |
Definition at line 42 of file COM_ConstantFolder.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and is_constant_foldable().
|
static |
Definition at line 510 of file COM_NodeOperationBuilder.cc.
References find_reachable_operations_recursive(), blender::compositor::NodeOperation::get_input_socket(), and blender::compositor::NodeOperation::get_number_of_input_sockets().
Referenced by find_reachable_operations_recursive(), and blender::compositor::NodeOperationBuilder::prune_operations().
|
static |
Definition at line 267 of file COM_FileOutputOperation.cc.
References MEM_malloc_arrayN, and blender::threading::parallel_for().
|
static |
Definition at line 299 of file COM_VectorBlurOperation.cc.
References float, gather_blur(), gather_sample(), blender::math::length(), and next.
Referenced by gather_blur().
|
static |
Definition at line 263 of file COM_VectorBlurOperation.cc.
References blender::compositor::Accumulator::bg, dir_compare(), blender::compositor::Accumulator::fg, gather_sample(), blender::math::length(), next, sample_weights(), blender::compositor::MemoryBuffer::texture_bilinear_extend(), blender::compositor::Accumulator::weight, blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by gather_blur(), and gather_sample().
|
static |
Definition at line 453 of file COM_NodeOperationBuilder.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), and hash.
Definition at line 248 of file COM_GlareBloomOperation.cc.
References get_bloom_size().
Referenced by compute_bloom_size_halving_count(), and get_bloom_size().
Definition at line 38 of file COM_FileOutputOperation.cc.
References Color, Value, and Vector.
Referenced by initialize_buffer(), and blender::compositor::FileOutputOperation::update_memory_buffer().
|
static |
Definition at line 26 of file COM_AntiAliasingNode.cc.
References int.
Referenced by blender::compositor::AntiAliasingNode::convert_to_operations().
|
static |
Definition at line 207 of file COM_DilateErodeOperation.cc.
References blender::compositor::DilateDistanceOperation::PixelData::elem, blender::compositor::DilateDistanceOperation::PixelData::elem_stride, blender::compositor::DilateDistanceOperation::PixelData::min_distance, blender::compositor::DilateDistanceOperation::PixelData::row_stride, blender::compositor::DilateDistanceOperation::PixelData::x, blender::compositor::DilateDistanceOperation::PixelData::xmax, blender::compositor::DilateDistanceOperation::PixelData::xmin, blender::compositor::DilateDistanceOperation::PixelData::y, blender::compositor::DilateDistanceOperation::PixelData::ymax, and blender::compositor::DilateDistanceOperation::PixelData::ymin.
Referenced by blender::compositor::DilateDistanceOperation::update_memory_buffer_partial(), and blender::compositor::ErodeDistanceOperation::update_memory_buffer_partial().
Definition at line 16 of file COM_FileOutputNode.cc.
Referenced by blender::compositor::FileOutputNode::convert_to_operations().
|
static |
Definition at line 19 of file COM_AntiAliasingNode.cc.
Referenced by blender::compositor::AntiAliasingNode::convert_to_operations().
|
static |
Definition at line 65 of file COM_DilateErodeOperation.cc.
References blender::compositor::DilateErodeThresholdOperation::PixelData::distance, blender::compositor::DilateErodeThresholdOperation::PixelData::elem, blender::compositor::DilateErodeThresholdOperation::PixelData::elem_stride, blender::compositor::DilateErodeThresholdOperation::PixelData::row_stride, blender::compositor::DilateErodeThresholdOperation::PixelData::sw, blender::compositor::DilateErodeThresholdOperation::PixelData::x, blender::compositor::DilateErodeThresholdOperation::PixelData::xmax, blender::compositor::DilateErodeThresholdOperation::PixelData::xmin, blender::compositor::DilateErodeThresholdOperation::PixelData::y, blender::compositor::DilateErodeThresholdOperation::PixelData::ymax, and blender::compositor::DilateErodeThresholdOperation::PixelData::ymin.
Referenced by blender::compositor::DilateErodeThresholdOperation::update_memory_buffer_partial().
|
static |
Returns all dependencies from inputs to outputs. A dependency may be repeated when several operations depend on it.
Definition at line 163 of file COM_FullFrameExecutionModel.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), outputs, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
static |
Definition at line 369 of file COM_Debug.cc.
References BKE_tempdir_session, and SEP_STR.
Referenced by blender::compositor::DebugInfo::delete_operation_exports(), and blender::compositor::DebugInfo::export_operation().
|
static |
Definition at line 11 of file COM_KeyingOperation.cc.
References fabsf.
Referenced by blender::compositor::KeyingOperation::update_memory_buffer_partial().
|
static |
Definition at line 12 of file COM_AntiAliasingNode.cc.
Referenced by blender::compositor::AntiAliasingNode::convert_to_operations().
|
static |
Definition at line 289 of file COM_FileOutputOperation.cc.
References BLI_assert, inflate_input(), MEM_malloc_arrayN, and blender::threading::parallel_for().
Referenced by inflate_input().
|
static |
Definition at line 52 of file COM_FileOutputOperation.cc.
References get_channels_count(), and MEM_malloc_arrayN.
Referenced by blender::compositor::FileOutputOperation::init_execution().
Definition at line 27 of file COM_JumpFloodingAlgorithm.cc.
References encode_jump_flooding_value().
Definition at line 214 of file COM_VectorBlurOperation.cc.
References blender::math::fract(), and interleaved_gradient_noise().
Referenced by interleaved_gradient_noise().
|
static |
Definition at line 26 of file COM_ConstantFolder.cc.
References blender::compositor::NodeOperationFlags::can_be_constant, blender::compositor::ConstantOperation::can_get_constant_elem(), blender::compositor::NodeOperation::get_flags(), blender::compositor::NodeOperation::get_input_operation(), blender::compositor::NodeOperation::get_number_of_input_sockets(), and blender::compositor::NodeOperationFlags::is_constant_operation.
Referenced by find_constant_foldable_operations().
|
static |
Definition at line 142 of file COM_VectorBlurOperation.cc.
References blender::math::abs(), blender::math::dot(), is_inside_motion_line(), blender::compositor::MotionLine::normal, blender::compositor::MotionLine::origin, blender::math::numbers::sqrt2_v, and tile.
Referenced by dilate_max_velocity(), and is_inside_motion_line().
Definition at line 85 of file COM_JumpFloodingAlgorithm.cc.
References jump_flooding(), jump_flooding_pass(), blender::math::max(), and power_of_2_max_i().
Referenced by blender::compositor::DoubleEdgeMaskOperation::compute_double_edge_mask(), blender::compositor::InpaintSimpleOperation::inpaint(), and jump_flooding().
|
static |
Definition at line 40 of file COM_JumpFloodingAlgorithm.cc.
References blender::threading::parallel_for().
|
static |
Definition at line 83 of file COM_GlareBloomOperation.cc.
References karis_brightness_weighted_sum(), blender::math::reduce_add(), blender::math::reduce_max(), blender::math::safe_divide(), sum(), weights_sum(), and blender::VecBase< T, Size >::xyz().
Referenced by karis_brightness_weighted_sum().
|
static |
Definition at line 32 of file COM_JumpFloodingAlgorithm.cc.
Definition at line 20 of file COM_DoubleEdgeMaskOperation.cc.
References blender::math::clamp().
|
static |
Definition at line 26 of file COM_DoubleEdgeMaskOperation.cc.
Definition at line 36 of file COM_VectorBlurOperation.cc.
References b, and blender::math::length_squared().
Referenced by blender::compositor::VectorBlurOperation::update_memory_buffer().
|
static |
Definition at line 56 of file COM_VectorBlurOperation.cc.
References b, and velocity_atomic_max_value().
Referenced by dilate_max_velocity().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
static |
Definition at line 367 of file COM_VectorBlurOperation.cc.
References blender::compositor::MemoryBuffer::get_height(), blender::compositor::MemoryBuffer::get_width(), motion_blur(), and blender::threading::parallel_for().
Referenced by motion_blur(), and blender::compositor::VectorBlurOperation::update_memory_buffer().
|
static |
Definition at line 29 of file COM_Debug.cc.
References pos.
Referenced by blender::compositor::DebugInfo::export_operation(), and blender::compositor::DebugInfo::graphviz_operation().
| std::ostream & blender::compositor::operator<< | ( | std::ostream & | os, |
| const eCompositorPriority & | priority ) |
Definition at line 27 of file COM_Enums.cc.
| std::ostream & blender::compositor::operator<< | ( | std::ostream & | os, |
| const NodeOperation & | node_operation ) |
Definition at line 324 of file COM_NodeOperation.cc.
References blender::compositor::NodeOperation::get_flags(), blender::compositor::NodeOperation::get_id(), and blender::compositor::NodeOperation::get_name().
| std::ostream & blender::compositor::operator<< | ( | std::ostream & | os, |
| const NodeOperationBuilder & | builder ) |
Create a graphviz representation of the NodeOperationBuilder.
Definition at line 590 of file COM_NodeOperationBuilder.cc.
References blender::compositor::NodeOperationBuilder::get_links(), and blender::compositor::NodeOperationBuilder::get_operations().
| std::ostream & blender::compositor::operator<< | ( | std::ostream & | os, |
| const NodeOperationBuilder::Link & | link ) |
Definition at line 611 of file COM_NodeOperationBuilder.cc.
References blender::compositor::NodeOperationBuilder::Link::from(), blender::compositor::NodeOperation::get_id(), blender::compositor::NodeOperationInput::get_operation(), blender::compositor::NodeOperationOutput::get_operation(), and blender::compositor::NodeOperationBuilder::Link::to().
| std::ostream & blender::compositor::operator<< | ( | std::ostream & | os, |
| const NodeOperationFlags & | node_operation_flags ) |
Definition at line 291 of file COM_NodeOperation.cc.
References blender::compositor::NodeOperationFlags::can_be_constant, blender::compositor::NodeOperationFlags::is_canvas_set, blender::compositor::NodeOperationFlags::is_constant_operation, blender::compositor::NodeOperationFlags::is_preview_operation, blender::compositor::NodeOperationFlags::is_proxy_operation, blender::compositor::NodeOperationFlags::is_viewer_operation, blender::compositor::NodeOperationFlags::use_datatype_conversion, blender::compositor::NodeOperationFlags::use_render_border, and blender::compositor::NodeOperationFlags::use_viewer_border.
|
static |
Definition at line 68 of file COM_CryptomatteNode.cc.
References BLI_strnlen(), MAX_NAME, and ntreeCompositCryptomatteLayerPrefix().
|
static |
Definition at line 306 of file COM_MemoryBuffer.cc.
References blender::compositor::MemoryBuffer::get_elem(), and straight_to_premul_v4().
|
static |
Definition at line 428 of file COM_MemoryBuffer.cc.
References blender::compositor::MemoryBuffer::read_elem_checked().
Referenced by blender::compositor::MemoryBuffer::read_elem_filtered().
|
static |
Definition at line 434 of file COM_MemoryBuffer.cc.
References blender::compositor::MemoryBuffer::read_elem_clamped().
Referenced by blender::compositor::MemoryBuffer::read_elem_filtered().
|
static |
Definition at line 68 of file COM_PlaneCornerPinOperation.cc.
References check_corners(), copy_v2_v2(), blender::compositor::ConstantOperation::get_constant_elem(), blender::compositor::NodeOperation::get_input_operation(), and set_default_corner().
Referenced by blender::compositor::PlaneCornerPinMaskOperation::init_data(), and blender::compositor::PlaneCornerPinWarpImageOperation::init_data().
|
static |
Definition at line 45 of file COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc.
References blender::compositor::MemoryBuffer::get_width(), and blender::compositor::MemoryBuffer::read_elem_bilinear().
|
static |
Definition at line 243 of file COM_VectorBlurOperation.cc.
References depth_compare(), sample_weights(), and spread_compare().
Referenced by gather_sample(), and sample_weights().
|
static |
Definition at line 45 of file COM_PlaneCornerPinOperation.cc.
References BLI_assert, LOWER_LEFT_CORNER_INDEX, LOWER_RIGHT_CORNER_INDEX, UPPER_LEFT_CORNER_INDEX, and UPPER_RIGHT_CORNER_INDEX.
Referenced by read_input_corners().
|
static |
Ok, we have the distance and both crossing edges. So, what are the areas at each side of current edge?
Definition at line 1118 of file COM_SMAAOperation.cc.
References mad, blender::math::round(), SMAA_AREATEX_MAX_DISTANCE, SMAA_AREATEX_PIXEL_SIZE, SMAA_AREATEX_SELECT, SMAA_AREATEX_SUBTEX_SIZE, and SMAASampleLevelZero.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Similar to SMAAArea, this calculates the area corresponding to a certain diagonal distance and crossing edges 'e'.
Definition at line 870 of file COM_SMAAOperation.cc.
References e, mad, SMAA_AREATEX_MAX_DISTANCE_DIAG, SMAA_AREATEX_PIXEL_SIZE, SMAA_AREATEX_SELECT, SMAA_AREATEX_SUBTEX_SIZE, and SMAASampleLevelZero.
Referenced by SMAACalculateDiagWeights().
|
static |
Definition at line 1187 of file COM_SMAAOperation.cc.
References blender::math::abs(), e, mad, blender::math::round(), SMAA_BRANCH, SMAAArea(), SMAACalculateDiagWeights(), SMAADetectHorizontalCornerPattern(), SMAADetectVerticalCornerPattern(), SMAASampleLevelZero, SMAASampleLevelZeroOffset, SMAASamplePoint, SMAASearchXLeft(), SMAASearchXRight(), SMAASearchYDown(), SMAASearchYUp(), SMAATexturePass2D, blender::math::sqrt(), w(), blender::VecBase< T, Size >::xy(), xy, z(), and blender::VecBase< T, Size >::zw().
|
static |
Blend Weight Calculation Vertex Shader
Definition at line 687 of file COM_SMAAOperation.cc.
References float, SMAA_MAX_SEARCH_STEPS, w(), blender::VecBase< T, Size >::xy(), and z().
|
static |
This searches for diagonal patterns and returns the corresponding weights.
Definition at line 891 of file COM_SMAAOperation.cc.
References e, float, mad, SMAA_BRANCH, SMAAAreaDiag(), SMAADecodeDiagBilinearAccess(), SMAAMovc(), SMAASampleLevelZeroOffset, SMAASamplePointOffset, SMAASearchDiag1(), SMAASearchDiag2(), SMAATexturePass2D, blender::math::step(), blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by SMAABlendingWeightCalculationPS().
Allows to decode two binary values from a bilinear-filtered access.
Definition at line 794 of file COM_SMAAOperation.cc.
References blender::math::abs(), e, and blender::math::round().
Referenced by SMAACalculateDiagWeights(), and SMAASearchDiag2().
Definition at line 814 of file COM_SMAAOperation.cc.
References blender::math::abs(), e, and blender::math::round().
|
static |
Definition at line 1138 of file COM_SMAAOperation.cc.
References saturate, SMAASampleLevelZeroOffset, blender::math::step(), blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1161 of file COM_SMAAOperation.cc.
References saturate, SMAASampleLevelZeroOffset, blender::math::step(), blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 674 of file COM_SMAAOperation.cc.
References blender::VecBase< T, Size >::xy().
|
static |
Luma Edge Detection
IMPORTANT NOTICE: luma edge detection requires gamma-corrected colors, and thus 'colorTex' should be a non-sRGB texture.
Definition at line 721 of file COM_SMAAOperation.cc.
References blender::math::abs(), blender::math::dot(), L, blender::math::max(), SMAASamplePoint, SMAATexturePass2D, blender::math::step(), blender::VecBase< T, Size >::xy(), xy, and blender::VecBase< T, Size >::zw().
Conditional move:
Definition at line 655 of file COM_SMAAOperation.cc.
References blender::math::interpolate().
Referenced by SMAACalculateDiagWeights(), and SMAANeighborhoodBlendingPS().
Definition at line 661 of file COM_SMAAOperation.cc.
References blender::math::interpolate().
|
static |
Definition at line 1344 of file COM_SMAAOperation.cc.
References blender::math::dot(), blender::math::length(), blender::math::max(), SMAA_BRANCH, SMAA_DECODE_VELOCITY, SMAAMovc(), SMAASample, SMAASampleLevelZero, blender::math::sqrt(), blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
|
static |
Neighborhood Blending Vertex Shader
Definition at line 709 of file COM_SMAAOperation.cc.
|
static |
These functions allows to perform diagonal pattern searches.
Definition at line 824 of file COM_SMAAOperation.cc.
References blender::math::dot(), e, mad, SMAA_MAX_SEARCH_STEPS_DIAG, SMAASamplePoint, blender::VecBase< T, Size >::xy(), blender::VecBase< T, Size >::xyz(), and blender::VecBase< T, Size >::zw().
Referenced by SMAACalculateDiagWeights().
|
static |
Definition at line 840 of file COM_SMAAOperation.cc.
References blender::math::dot(), e, mad, SMAA_MAX_SEARCH_STEPS_DIAG, SMAADecodeDiagBilinearAccess(), SMAASampleLevelZero, blender::VecBase< T, Size >::xy(), blender::VecBase< T, Size >::xyz(), and blender::VecBase< T, Size >::zw().
Referenced by SMAACalculateDiagWeights().
|
static |
This allows to determine how much length should we add in the last step of the searches. It takes the bilinearly interpolated edge (see @PSEUDO_GATHER4), and adds 0, 1 or 2, depending on which edges and crossing edges are active.
Definition at line 1006 of file COM_SMAAOperation.cc.
References e, mad, SMAA_SEARCHTEX_PACKED_SIZE, SMAA_SEARCHTEX_SELECT, SMAA_SEARCHTEX_SIZE, and SMAASampleLevelZero.
Referenced by SMAASearchXLeft(), SMAASearchXRight(), SMAASearchYDown(), and SMAASearchYUp().
|
static |
Horizontal/vertical search functions for the 2nd pass.
@PSEUDO_GATHER4 This texcoord has been offset by (-0.25, -0.125) in the vertex shader to sample between edge, thus fetching four edges in a row. Sampling with different offsets in each direction allows to disambiguate which edges are active from the four fetched ones.
Definition at line 1029 of file COM_SMAAOperation.cc.
References e, mad, SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1065 of file COM_SMAAOperation.cc.
References e, mad, SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1097 of file COM_SMAAOperation.cc.
References e, mad, SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1080 of file COM_SMAAOperation.cc.
References e, mad, SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
Definition at line 10 of file COM_GlareGhostOperation.cc.
References sqrtf.
Referenced by blender::compositor::GlareGhostOperation::generate_glare().
|
static |
Definition at line 550 of file COM_NodeOperationBuilder.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::compositor::NodeOperation::get_input_socket(), blender::compositor::NodeOperation::get_number_of_input_sockets(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), sort_operations_recursive(), and visited.
Referenced by blender::compositor::NodeOperationBuilder::sort_operations(), and sort_operations_recursive().
|
static |
Definition at line 219 of file COM_VectorBlurOperation.cc.
References blender::math::clamp(), and spread_compare().
Referenced by sample_weights(), and spread_compare().
|
static |
Definition at line 280 of file COM_DilateErodeOperation.cc.
References BLI_rcti_init(), MEM_freeN(), MEM_mallocN, result, Value, x, rcti::xmin, and y.
Referenced by blender::compositor::DilateStepOperation::update_memory_buffer_partial(), and blender::compositor::ErodeStepOperation::update_memory_buffer_partial().
| float4 blender::compositor::summed_area_table_sum | ( | MemoryBuffer * | buffer, |
| const rcti & | area ) |
Definition at line 74 of file COM_SummedAreaTableOperation.cc.
References b, BLI_assert, blender::compositor::MemoryBuffer::get_height(), blender::compositor::MemoryBuffer::get_width(), blender::math::min(), blender::compositor::MemoryBuffer::read_elem_checked(), sum(), and summed_area_table_sum().
Referenced by summed_area_table_sum(), blender::compositor::tests::TEST_F(), blender::compositor::tests::TEST_F(), blender::compositor::tests::TEST_F(), blender::compositor::tests::TEST_F(), blender::compositor::tests::TEST_F(), blender::compositor::tests::TEST_F(), and blender::compositor::KuwaharaClassicOperation::update_memory_buffer_partial().
| void blender::compositor::symmetric_separable_blur_variable_size | ( | const MemoryBuffer & | input, |
| MemoryBuffer & | output, | ||
| const MemoryBuffer & | radius, | ||
| int | filter_type, | ||
| int | weights_resolution ) |
Definition at line 88 of file COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc.
References BLI_rcti_init(), blur_pass(), compute_symmetric_separable_blur_weights(), and symmetric_separable_blur_variable_size().
Referenced by blender::compositor::InpaintSimpleOperation::inpaint(), and symmetric_separable_blur_variable_size().
|
static |
Definition at line 137 of file COM_WorkScheduler.cc.
References BLI_thread_local_delete, and g_work_scheduler.
Referenced by blender::compositor::WorkScheduler::deinitialize().
|
static |
Definition at line 76 of file COM_WorkScheduler.cc.
References BLI_thread_local_set, BLI_thread_queue_pop(), blender::compositor::CPUDevice::execute(), and g_work_scheduler.
Referenced by threading_model_queue_start().
|
static |
Definition at line 104 of file COM_WorkScheduler.cc.
References BLI_thread_queue_wait_finish(), and g_work_scheduler.
Referenced by blender::compositor::WorkScheduler::finish().
|
static |
Definition at line 117 of file COM_WorkScheduler.cc.
References BLI_thread_local_create, BLI_thread_local_delete, g_work_scheduler, and num_cpu_threads.
Referenced by blender::compositor::WorkScheduler::initialize().
|
static |
Definition at line 88 of file COM_WorkScheduler.cc.
References BLI_thread_queue_push(), and g_work_scheduler.
Referenced by blender::compositor::WorkScheduler::schedule().
|
static |
Definition at line 93 of file COM_WorkScheduler.cc.
References BLI_thread_queue_init(), BLI_threadpool_init(), BLI_threadpool_insert(), g_work_scheduler, and threading_model_queue_execute().
Referenced by blender::compositor::WorkScheduler::start().
|
static |
Definition at line 109 of file COM_WorkScheduler.cc.
References BLI_thread_queue_free(), BLI_thread_queue_nowait(), BLI_threadpool_end(), and g_work_scheduler.
Referenced by blender::compositor::WorkScheduler::stop().
|
static |
Definition at line 64 of file COM_WorkScheduler.cc.
References blender::compositor::CPUDevice::execute().
Referenced by blender::compositor::WorkScheduler::schedule().
|
static |
Definition at line 154 of file COM_WorkScheduler.cc.
References BLI_task_parallel_thread_id(), and BLI_thread_local_set.
Referenced by threading_model_task_schedule().
|
static |
Definition at line 174 of file COM_WorkScheduler.cc.
References BLI_task_pool_work_and_wait(), and g_work_scheduler.
Referenced by blender::compositor::WorkScheduler::finish().
|
static |
Definition at line 162 of file COM_WorkScheduler.cc.
References BLI_task_pool_push(), g_work_scheduler, and threading_model_task_execute().
Referenced by blender::compositor::WorkScheduler::schedule().
|
static |
Definition at line 168 of file COM_WorkScheduler.cc.
References BLI_task_pool_create(), BLI_thread_local_create, g_work_scheduler, and TASK_PRIORITY_HIGH.
Referenced by blender::compositor::WorkScheduler::start().
|
static |
Definition at line 179 of file COM_WorkScheduler.cc.
References BLI_task_pool_free(), BLI_thread_local_delete, and g_work_scheduler.
Referenced by blender::compositor::WorkScheduler::stop().
|
static |
|
static |
Definition at line 22 of file COM_GlareBloomOperation.cc.
References blender::threading::parallel_for().
Referenced by blender::compositor::GlareBloomOperation::generate_glare().
|
static |
Definition at line 45 of file COM_VectorBlurOperation.cc.
References blender::math::ceil(), blender::math::length(), and blender::math::min().
Referenced by max_velocity_approximate().
| BLI_INLINE void blender::compositor::warp_coord | ( | float | x, |
| float | y, | ||
| float | matrix[3][3], | ||
| float | uv[2], | ||
| float | deriv[2][2] ) |
Definition at line 42 of file COM_PlaneDistortCommonOperation.cc.
References mul_m3_v3(), x, and y.
Referenced by blender::compositor::PlaneDistortWarpImageOperation::get_area_of_interest(), and blender::compositor::PlaneDistortWarpImageOperation::update_memory_buffer_partial().
|
constexpr |
Definition at line 14 of file COM_BokehBlurOperation.cc.
Referenced by blender::compositor::BokehBlurOperation::get_area_of_interest(), and blender::compositor::BokehBlurOperation::update_memory_buffer_partial().
|
constexpr |
Definition at line 15 of file COM_BokehBlurOperation.cc.
Referenced by blender::compositor::BokehBlurOperation::get_area_of_interest(), and blender::compositor::BokehBlurOperation::update_memory_buffer_partial().
|
constexpr |
Definition at line 89 of file COM_defines.h.
Referenced by blender::compositor::BaseImageOperation::determine_canvas(), blender::compositor::KeyingScreenOperation::determine_canvas(), blender::compositor::MaskOperation::determine_canvas(), blender::compositor::MathBaseOperation::determine_canvas(), blender::compositor::MixBaseOperation::determine_canvas(), blender::compositor::MovieClipBaseOperation::determine_canvas(), blender::compositor::NodeOperation::determine_canvas(), blender::compositor::PlaneTrackCommon::determine_canvas(), blender::compositor::PlaneTrackMaskOperation::determine_canvas(), blender::compositor::PlaneTrackWarpImageOperation::determine_canvas(), blender::compositor::RenderLayersProg::determine_canvas(), blender::compositor::RotateOperation::determine_canvas(), blender::compositor::ScaleFixedSizeOperation::determine_canvas(), blender::compositor::ScaleOperation::determine_canvas(), blender::compositor::SplitOperation::determine_canvas(), blender::compositor::TextureBaseOperation::determine_canvas(), blender::compositor::TransformOperation::determine_canvas(), blender::compositor::TranslateCanvasOperation::determine_canvas(), blender::compositor::NodeOperationBuilder::determine_canvases(), and blender::compositor::NodeOperation::NodeOperation().
|
constexpr |
Definition at line 87 of file COM_defines.h.
Referenced by blender::compositor::VariableSizeBokehBlurOperation::get_area_of_interest().
|
constexpr |
Definition at line 63 of file COM_defines.h.
Referenced by blur_pixel().
|
constexpr |
|
constexpr |
Definition at line 90 of file COM_defines.h.
Referenced by blender::compositor::BlurBaseOperation::get_area_of_interest(), blender::compositor::BokehBlurOperation::get_area_of_interest(), blender::compositor::PlaneCornerPinMaskOperation::get_area_of_interest(), blender::compositor::PlaneCornerPinWarpImageOperation::get_area_of_interest(), blender::compositor::ProjectorLensDistortionOperation::get_area_of_interest(), blender::compositor::RotateOperation::get_area_of_interest(), blender::compositor::ScreenLensDistortionOperation::get_area_of_interest(), and blender::compositor::TransformOperation::get_area_of_interest().
|
constexpr |
Definition at line 58 of file COM_defines.h.
Referenced by blender::compositor::ViewerOperation::clear_display_buffer(), blender::compositor::GlareBloomOperation::generate_glare(), blender::compositor::GlareGhostOperation::generate_glare(), blender::compositor::CompositorOperation::update_memory_buffer_partial(), blender::compositor::RenderLayersAlphaProg::update_memory_buffer_partial(), blender::compositor::RenderLayersAOOperation::update_memory_buffer_partial(), blender::compositor::ViewerOperation::update_memory_buffer_partial(), and blender::compositor::FastGaussianBlurOperation::update_memory_buffer_started().
|
constexpr |
Definition at line 56 of file COM_defines.h.
|
constexpr |
Definition at line 55 of file COM_defines.h.
Referenced by blender::compositor::DenoiseOperation::generate_denoise(), blender::compositor::CompositorOperation::update_memory_buffer_partial(), blender::compositor::ImageAlphaOperation::update_memory_buffer_partial(), blender::compositor::MovieClipAlphaOperation::update_memory_buffer_partial(), blender::compositor::RenderLayersAlphaProg::update_memory_buffer_partial(), blender::compositor::RenderLayersAOOperation::update_memory_buffer_partial(), blender::compositor::RenderLayersDepthProg::update_memory_buffer_partial(), blender::compositor::TextureAlphaOperation::update_memory_buffer_partial(), and blender::compositor::ViewerOperation::update_memory_buffer_partial().
|
constexpr |
Definition at line 57 of file COM_defines.h.
Referenced by blender::compositor::RenderLayersAOOperation::update_memory_buffer_partial().
|
staticconstexpr |
Definition at line 18 of file COM_Debug.h.
Referenced by blender::compositor::DebugInfo::convert_started(), blender::compositor::DebugInfo::execute_started(), blender::compositor::DebugInfo::graphviz(), blender::compositor::DebugInfo::node_added(), blender::compositor::DebugInfo::node_to_operations(), blender::compositor::DebugInfo::operation_added(), and blender::compositor::DebugInfo::operation_read_write_buffer().
|
staticconstexpr |
Definition at line 22 of file COM_Debug.h.
Referenced by blender::compositor::DebugInfo::execute_started(), and blender::compositor::DebugInfo::operation_rendered().
|
constexpr |
Definition at line 61 of file COM_defines.h.
|
staticconstexpr |
Definition at line 19 of file COM_Debug.h.
Referenced by blender::compositor::DebugInfo::graphviz_operation().
|
constexpr |
Definition at line 85 of file COM_defines.h.
Referenced by compositor_init_node_previews(), and blender::compositor::PreviewOperation::determine_canvas().
|
constexpr |
Definition at line 86 of file COM_defines.h.
|
constexpr |
Definition at line 65 of file COM_defines.h.
Referenced by blender::compositor::RenderLayersAOOperation::update_memory_buffer_partial().
|
constexpr |
Definition at line 64 of file COM_defines.h.
Referenced by blender::compositor::ImageAlphaOperation::update_memory_buffer_partial(), blender::compositor::MaskOperation::update_memory_buffer_partial(), blender::compositor::MovieClipAlphaOperation::update_memory_buffer_partial(), and blender::compositor::RenderLayersAlphaProg::update_memory_buffer_partial().
|
constexpr |
Definition at line 62 of file COM_defines.h.
Referenced by blender::compositor::RenderLayersAOOperation::update_memory_buffer_partial().
list of all CPUDevices. for every hardware thread an instance of CPUDevice is created
Definition at line 44 of file COM_WorkScheduler.cc.
| struct { ... } blender::compositor::g_work_scheduler |
Referenced by blender::compositor::WorkScheduler::get_num_cpu_threads(), blender::compositor::WorkScheduler::initialize(), threading_model_queue_deinitialize(), threading_model_queue_execute(), threading_model_queue_finish(), threading_model_queue_initialize(), threading_model_queue_schedule(), threading_model_queue_start(), threading_model_queue_stop(), threading_model_task_finish(), threading_model_task_schedule(), threading_model_task_start(), and threading_model_task_stop().
|
constexpr |
| bool blender::compositor::initialized = false |
Definition at line 48 of file COM_WorkScheduler.cc.
|
constexpr |
Definition at line 10 of file COM_PlaneCornerPinOperation.cc.
Referenced by set_default_corner().
|
constexpr |
Definition at line 11 of file COM_PlaneCornerPinOperation.cc.
Referenced by set_default_corner().
| int blender::compositor::num_cpu_threads |
Definition at line 57 of file COM_WorkScheduler.cc.
Referenced by blender::compositor::WorkScheduler::initialize(), and threading_model_queue_initialize().
| TaskPool* blender::compositor::pool |
Definition at line 54 of file COM_WorkScheduler.cc.
| struct { ... } blender::compositor::queue |
all scheduled work for the cpu
Definition at line 50 of file COM_WorkScheduler.cc.
|
staticconstexpr |
RESOLUTION_INPUT_ANY is a wildcard when any resolution of an input can be used. This solves the issue that the FileInputNode in a group node cannot find the correct resolution.
Definition at line 40 of file COM_NodeOperation.h.
Referenced by blender::compositor::NodeOperation::determine_canvas(), and blender::compositor::FileOutputOperation::FileOutputOperation().
|
constexpr |
Definition at line 16 of file COM_BokehBlurOperation.cc.
Referenced by blender::compositor::BokehBlurOperation::get_area_of_interest().
| struct { ... } blender::compositor::task |
| ListBase blender::compositor::threads |
list of all thread for every CPUDevice in cpudevices a thread exists.
Definition at line 47 of file COM_WorkScheduler.cc.
|
constexpr |
Definition at line 13 of file COM_PlaneCornerPinOperation.cc.
Referenced by set_default_corner().
|
constexpr |
Definition at line 12 of file COM_PlaneCornerPinOperation.cc.
Referenced by set_default_corner().