5#include "testing/testing.h"
138 src_col[254] = col_r;
139 src_col[255] = col_g;
140 src_col[256] = col_b;
TEST_F(ColorManagementConfigSwitchTest, colorspace_pointers_survive_switch)
static ImBuf * create_6x2_test_image()
static ImBuf * transform_2x_smaller(eIMBInterpolationFilterMode filter)
static ImBuf * transform_fractional_larger(eIMBInterpolationFilterMode filter)
MatT from_scale(const VecBase< typename MatT::base_type, ScaleDim > &scale)
MatT from_loc_rot_scale(const typename MatT::loc_type &location, const RotationT &rotation, const VecBase< typename MatT::base_type, ScaleDim > &scale)
ColorTheme4< uint8_t > ColorTheme4b
void IMB_transform(const ImBuf *src, ImBuf *dst, eIMBTransformMode mode, eIMBInterpolationFilterMode filter, const float3x3 &transform_matrix, const rctf *src_crop)
Transform source image buffer onto destination image buffer using a transform matrix.
void IMB_freeImBuf(ImBuf *ibuf)
VecBase< float, 2 > float2
eIMBInterpolationFilterMode
@ IMB_FILTER_CUBIC_BSPLINE
@ IMB_FILTER_CUBIC_MITCHELL
MatBase< float, 3, 3 > float3x3
ImBuf * IMB_allocImBuf(unsigned int x, unsigned int y, ImBufFlags flags)
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
VecBase< float, 3 > float3
@ IMB_TRANSFORM_MODE_REGULAR
Do not crop or repeat.
const uint8_t * byte_data() const
uint8_t * byte_data_for_write()