RAPP Compute layer binary logical margins. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_margin_horz_bin (uint8_t *restrict margin, const uint8_t *restrict src, int dim, int width, int height) |
Compute the horizontal logical margin. | |
RC_EXPORT void | rc_margin_vert_bin (uint8_t *restrict margin, const uint8_t *restrict src, int dim, int width, int height) |
Compute the vertical logical margin. |
RAPP Compute layer binary logical margins.
RC_EXPORT void rc_margin_horz_bin | ( | uint8_t *restrict | margin, | |
const uint8_t *restrict | src, | |||
int | dim, | |||
int | width, | |||
int | height | |||
) |
Compute the horizontal logical margin.
[out] | margin | Margin pixel buffer with at least width pixels. |
[in] | src | Source pixel buffer. |
dim | Row dimension of the src buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_margin_vert_bin | ( | uint8_t *restrict | margin, | |
const uint8_t *restrict | src, | |||
int | dim, | |||
int | width, | |||
int | height | |||
) |
Compute the vertical logical margin.
[out] | margin | Margin pixel buffer with at least height pixels. |
[in] | src | Source pixel buffer. |
dim | Row dimension of the src buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |