|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| void | IMB_sampleImageAtLocation (ImBuf *ibuf, float x, float y, float scene_linear_rgb[3]) |
Sample pixel of image using NEAREST method.
Definition at line 14 of file interp.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::colorspace, copy_v3_v3(), ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_colormanagement_colorspace_to_scene_linear_v3(), blender::imbuf::interpolate_nearest_border_byte(), blender::imbuf::interpolate_nearest_border_fl(), premul_to_straight_v4_v4(), rgb_uchar_to_float(), x, and y.
Referenced by palette_extract_img_exec().