RAPP Compute layer fixed filters. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_filter_diff_1x2_horz_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
1x2 horizontal difference. | |
RC_EXPORT void | rc_filter_diff_1x2_horz_abs_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
1x2 horizontal difference, absolute value. | |
RC_EXPORT void | rc_filter_diff_2x1_vert_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
2x1 vertical difference. | |
RC_EXPORT void | rc_filter_diff_2x1_vert_abs_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
2x1 vertical difference, absolute value. | |
RC_EXPORT void | rc_filter_diff_2x2_magn_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
2x2 difference magnitude. | |
RC_EXPORT void | rc_filter_sobel_3x3_horz_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 horizontal Sobel gradient. | |
RC_EXPORT void | rc_filter_sobel_3x3_horz_abs_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 horizontal Sobel gradient, absolute value. | |
RC_EXPORT void | rc_filter_sobel_3x3_vert_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 vertical Sobel gradient. | |
RC_EXPORT void | rc_filter_sobel_3x3_vert_abs_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 vertical Sobel gradient, absolute value. | |
RC_EXPORT void | rc_filter_sobel_3x3_magn_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 Sobel gradient magnitude. | |
RC_EXPORT void | rc_filter_gauss_3x3_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 gaussian. | |
RC_EXPORT void | rc_filter_laplace_3x3_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 laplacian. | |
RC_EXPORT void | rc_filter_laplace_3x3_abs_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 laplacian, absolute value. | |
RC_EXPORT void | rc_filter_highpass_3x3_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 highpass filter. | |
RC_EXPORT void | rc_filter_highpass_3x3_abs_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
3x3 highpass filter, absolute value. |
RAPP Compute layer fixed filters.
RC_EXPORT void rc_filter_diff_1x2_horz_abs_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
1x2 horizontal difference, absolute value.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_diff_1x2_horz_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
1x2 horizontal difference.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_diff_2x1_vert_abs_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
2x1 vertical difference, absolute value.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_diff_2x1_vert_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
2x1 vertical difference.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_diff_2x2_magn_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
2x2 difference magnitude.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_gauss_3x3_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 gaussian.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_highpass_3x3_abs_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 highpass filter, absolute value.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_highpass_3x3_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 highpass filter.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_laplace_3x3_abs_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 laplacian, absolute value.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_laplace_3x3_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 laplacian.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_sobel_3x3_horz_abs_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 horizontal Sobel gradient, absolute value.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_sobel_3x3_horz_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 horizontal Sobel gradient.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_sobel_3x3_magn_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 Sobel gradient magnitude.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_sobel_3x3_vert_abs_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 vertical Sobel gradient, absolute value.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_filter_sobel_3x3_vert_u8 | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
3x3 vertical Sobel gradient.
[out] | dst | Destination pixel buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source pixel buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |