#include "Envision/env_alloc.h"
#include "Envision/env_types.h"
Go to the source code of this file.
Classes | |
struct | env_image |
Basic image class. More... | |
Defines | |
#define | env_img_initializer { {0,0}, 0 } |
Functions | |
void | env_img_init (struct env_image *img, const struct env_dims d) |
static void | env_img_init_empty (struct env_image *img) |
static env_size_t | env_img_size (const struct env_image *img) |
Get image size (width * height). | |
static int | env_img_initialized (const struct env_image *img) |
Check whether image is non-empty (i.e., non-zero height and width). | |
void | env_img_swap (struct env_image *img1, struct env_image *img2) |
void | env_img_make_empty (struct env_image *img) |
void | env_img_resize_dims (struct env_image *img, const struct env_dims d) |
static const intg32 * | env_img_pixels (const struct env_image *img) |
static intg32 * | env_img_pixelsw (struct env_image *img) |
void | env_img_copy_src_dst (const struct env_image *src, struct env_image *dst) |
static int | env_dims_equal (const struct env_dims d1, const struct env_dims d2) |
A basic image class
Definition in file env_image.h.
static int env_img_initialized | ( | const struct env_image * | img | ) | [inline, static] |
Check whether image is non-empty (i.e., non-zero height and width).
Definition at line 105 of file env_image.h.
References env_dims::h, and env_dims::w.
Referenced by env_chan_orientation(), env_motion_channel_input_and_consume_pyr(), env_mt_chan_orientation(), env_mt_motion_channel_input_and_consume_pyr(), and env_pyr_build_lowpass_5().
static env_size_t env_img_size | ( | const struct env_image * | img | ) | [inline, static] |
Get image size (width * height).
Definition at line 99 of file env_image.h.
References env_dims::h, and env_dims::w.
Referenced by env_chan_color(), env_chan_orientation(), env_get_rgby(), env_merge_range(), env_motion_channel_input_and_consume_pyr(), env_mt_chan_orientation(), env_mt_motion_channel_input_and_consume_pyr(), and env_rescale_range_inplace().