#include "Envision/env_types.h"
Go to the source code of this file.
Functions | |
void | env_c_lowpass_5_x_dec_x_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst, const env_size_t w2) |
void | env_c_lowpass_5_y_dec_y_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst, const env_size_t h2) |
void | env_c_lowpass_9_x_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst) |
Like env_c_lowpass_9_x_fewbits() but uses optimized filter coefficients. | |
void | env_c_lowpass_9_y_fewbits_optim (const intg32 *src, const env_size_t w, const env_size_t h, intg32 *dst) |
Like env_c_lowpass_9_y_fewbits() but uses optimized filter coefficients. | |
void | env_c_get_min_max (const intg32 *src, const env_size_t sz, intg32 *mini, intg32 *maxi) |
Get min and max values. | |
void | env_c_inplace_rectify (intg32 *dst, const env_size_t sz) |
Saturate values < 0. | |
void | env_c_inplace_normalize (intg32 *dst, const env_size_t sz, const intg32 nmin, const intg32 nmax, intg32 *actualmin, intg32 *actualmax, intg32 rangeThresh) |
void | env_c_luminance_from_byte (const struct env_rgb_pixel *const src, const env_size_t sz, const env_size_t nbits, intg32 *const dst) |
get the luminance with nbits of precision of the input image | |
void | env_c_image_div_scalar (const intg32 *const a, const env_size_t sz, intg32 val, intg32 *const dst) |
result = a / val | |
void | env_c_image_div_scalar_accum (const intg32 *const a, const env_size_t sz, intg32 val, intg32 *const dst) |
result += a / val | |
void | env_c_image_minus_image (const intg32 *const a, const intg32 *const b, const env_size_t sz, intg32 *const dst) |
result = a - b |
Fixed-point integer math versions of some of our floating-point image functions
Definition in file env_c_math_ops.h.
Get min and max values.
Definition at line 292 of file env_c_math_ops.c.
void env_c_image_div_scalar | ( | const intg32 *const | a, | |
const env_size_t | sz, | |||
intg32 | val, | |||
intg32 *const | dst | |||
) |
result = a / val
Definition at line 426 of file env_c_math_ops.c.
Referenced by env_chan_orientation(), env_motion_channel_input_and_consume_pyr(), env_mt_chan_orientation(), and env_mt_motion_channel_input_and_consume_pyr().
void env_c_image_div_scalar_accum | ( | const intg32 *const | a, | |
const env_size_t | sz, | |||
intg32 | val, | |||
intg32 *const | dst | |||
) |
result += a / val
Definition at line 436 of file env_c_math_ops.c.
Referenced by env_chan_orientation(), env_motion_channel_input_and_consume_pyr(), env_mt_chan_orientation(), and env_mt_motion_channel_input_and_consume_pyr().
void env_c_image_minus_image | ( | const intg32 *const | a, | |
const intg32 *const | b, | |||
const env_size_t | sz, | |||
intg32 *const | dst | |||
) |
result = a - b
Definition at line 446 of file env_c_math_ops.c.
void env_c_inplace_rectify | ( | intg32 * | dst, | |
const env_size_t | sz | |||
) |
Saturate values < 0.
Definition at line 305 of file env_c_math_ops.c.
void env_c_lowpass_9_x_fewbits_optim | ( | const intg32 * | src, | |
const env_size_t | w, | |||
const env_size_t | h, | |||
intg32 * | dst | |||
) |
Like env_c_lowpass_9_x_fewbits() but uses optimized filter coefficients.
Definition at line 134 of file env_c_math_ops.c.
void env_c_lowpass_9_y_fewbits_optim | ( | const intg32 * | src, | |
const env_size_t | w, | |||
const env_size_t | h, | |||
intg32 * | dst | |||
) |
Like env_c_lowpass_9_y_fewbits() but uses optimized filter coefficients.
Definition at line 202 of file env_c_math_ops.c.
void env_c_luminance_from_byte | ( | const struct env_rgb_pixel *const | src, | |
const env_size_t | sz, | |||
const env_size_t | nbits, | |||
intg32 *const | dst | |||
) |
get the luminance with nbits of precision of the input image
Definition at line 409 of file env_c_math_ops.c.