rc_filter.h File Reference

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.

Detailed Description

RAPP Compute layer fixed filters.


Function Documentation

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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Parameters:
[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.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1