|
Blender V5.0
|
#include <algorithm>#include <cmath>#include <cstdlib>#include "BLI_math_base.h"#include "BLI_math_color.h"#include "BLI_math_vector.h"#include "BLI_task.hh"#include "BKE_image.hh"#include "IMB_colormanagement.hh"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"#include "BLF_api.hh"Go to the source code of this file.
Macros | |
| #define | BLEND_FLOAT(real, add) |
| #define | BLEND_CHAR(real, add) |
Functions | |
| void | BKE_image_buf_fill_color (uchar *rect_byte, float *rect_float, int width, int height, const float color[4]) |
| static void | image_buf_fill_checker_slice (uchar *rect, float *rect_float, int width, int height, int offset) |
| void | BKE_image_buf_fill_checker (uchar *rect, float *rect_float, int width, int height) |
| static void | checker_board_color_fill (uchar *rect, float *rect_float, int width, int height, int offset, int total_height) |
| static void | checker_board_color_tint (uchar *rect, float *rect_float, int width, int height, int size, float blend, int offset) |
| static void | checker_board_grid_fill (uchar *rect, float *rect_float, int width, int height, float blend, int offset) |
| static void | checker_board_text (uchar *rect, float *rect_float, int width, int height, int step, int outline) |
| static void | checker_board_color_prepare_slice (uchar *rect, float *rect_float, int width, int height, int offset, int total_height) |
| void | BKE_image_buf_fill_checker_color (uchar *rect, float *rect_float, int width, int height) |
| #define BLEND_CHAR | ( | real, | |
| add ) |
Definition at line 165 of file image_gen.cc.
Referenced by checker_board_color_tint(), and checker_board_grid_fill().
| #define BLEND_FLOAT | ( | real, | |
| add ) |
Definition at line 164 of file image_gen.cc.
Referenced by checker_board_color_tint(), and checker_board_grid_fill().
Definition at line 151 of file image_gen.cc.
References IndexRange::first(), image_buf_fill_checker_slice(), blender::threading::parallel_for(), and IndexRange::size().
Referenced by BKE_image_find_nearest_tile_with_offset(), and image_buf_fill_isolated().
Definition at line 372 of file image_gen.cc.
References checker_board_color_prepare_slice(), checker_board_text(), IndexRange::first(), IB_PROFILE_LINEAR_RGB, IB_PROFILE_SRGB, IMB_buffer_float_from_float_threaded(), blender::threading::parallel_for(), and IndexRange::size().
Referenced by BKE_image_find_nearest_tile_with_offset(), and image_buf_fill_isolated().
| void BKE_image_buf_fill_color | ( | uchar * | rect_byte, |
| float * | rect_float, | ||
| int | width, | ||
| int | height, | ||
| const float | color[4] ) |
Definition at line 26 of file image_gen.cc.
References copy_v4_v4(), IndexRange::first(), i, blender::threading::parallel_for(), and rgba_float_to_uchar().
Referenced by BKE_image_find_nearest_tile_with_offset(), and image_buf_fill_isolated().
|
static |
Definition at line 168 of file image_gen.cc.
References float, hsv_to_rgb_v(), IMB_colormanagement_rec709_to_scene_linear(), power_of_2_max_i(), x, and y.
Referenced by checker_board_color_prepare_slice().
|
static |
Definition at line 361 of file image_gen.cc.
References checker_board_color_fill(), checker_board_color_tint(), and checker_board_grid_fill().
Referenced by BKE_image_buf_fill_checker_color().
|
static |
Definition at line 206 of file image_gen.cc.
References blend(), BLEND_CHAR, BLEND_FLOAT, size(), x, and y.
Referenced by checker_board_color_prepare_slice().
|
static |
Definition at line 256 of file image_gen.cc.
References blend(), BLEND_CHAR, BLEND_FLOAT, x, and y.
Referenced by checker_board_color_prepare_slice().
|
static |
Definition at line 294 of file image_gen.cc.
References BLF_buffer(), BLF_buffer_col(), BLF_draw_buffer(), blf_mono_font_render, BLF_position(), BLF_size(), step, x, and y.
Referenced by BKE_image_buf_fill_checker_color().
|
static |
Definition at line 54 of file image_gen.cc.
References abs, fabsf, floorf, fmodf, hsv_to_rgb_v(), IMB_colormanagement_srgb_to_scene_linear_v3(), powf, srgb_to_linearrgb(), x, and y.
Referenced by BKE_image_buf_fill_checker().