Bitblit operations on aligned words. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_bitblt_wa_copy_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit COPY operation. | |
RC_EXPORT void | rc_bitblt_wa_not_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit NOT operation. | |
RC_EXPORT void | rc_bitblt_wa_and_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit AND operation. | |
RC_EXPORT void | rc_bitblt_wa_or_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit OR operation. | |
RC_EXPORT void | rc_bitblt_wa_xor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit XOR operation. | |
RC_EXPORT void | rc_bitblt_wa_nand_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit NAND operation. | |
RC_EXPORT void | rc_bitblt_wa_nor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit NOR operation. | |
RC_EXPORT void | rc_bitblt_wa_xnor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit XNOR operation. | |
RC_EXPORT void | rc_bitblt_wa_andn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit ANDN operation. | |
RC_EXPORT void | rc_bitblt_wa_orn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit ORN operation. | |
RC_EXPORT void | rc_bitblt_wa_nandn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit NANDN operation. | |
RC_EXPORT void | rc_bitblt_wa_norn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Word-aligned bitblit NORN operation. |
Bitblit operations on aligned words.
The following restrictions apply:
RC_EXPORT void rc_bitblt_wa_and_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit AND operation.
Computes dst = dst & src.
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_andn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit ANDN operation.
Computes dst = dst & ~src.
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_copy_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit COPY operation.
Computes dst = src.
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_nand_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit NAND operation.
Computes dst = ~(dst & src).
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_nandn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit NANDN operation.
Computes dst = ~(dst & ~src).
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_nor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit NOR operation.
Computes dst = ~(dst | src).
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_norn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit NORN operation.
Computes dst = ~(dst | ~src).
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_not_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit NOT operation.
Computes dst = ~src.
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_or_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit OR operation.
Computes dst = dst | src.
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_orn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit ORN operation.
Computes dst = dst | ~src.
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_xnor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit XNOR operation.
Computes dst = ~(dst ^ src).
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |
RC_EXPORT void rc_bitblt_wa_xor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Word-aligned bitblit XOR operation.
Computes dst = dst ^ src.
[in,out] | dst | Destination buffer. |
dst_dim | Row dimension of the destination buffer. | |
[in] | src | Source buffer. |
src_dim | Row dimension of the destination buffer. | |
width | Image width in pixels. | |
height | Image height in pixels. |