Bitblit operations on misaligned words. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_bitblt_wm_copy_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit COPY operation. | |
RC_EXPORT void | rc_bitblt_wm_not_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit NOT operation. | |
RC_EXPORT void | rc_bitblt_wm_and_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit AND operation. | |
RC_EXPORT void | rc_bitblt_wm_or_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit OR operation. | |
RC_EXPORT void | rc_bitblt_wm_xor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit XOR operation. | |
RC_EXPORT void | rc_bitblt_wm_nand_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit NAND operation. | |
RC_EXPORT void | rc_bitblt_wm_nor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit NOR operation. | |
RC_EXPORT void | rc_bitblt_wm_xnor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit XNOR operation. | |
RC_EXPORT void | rc_bitblt_wm_andn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit ANDN operation. | |
RC_EXPORT void | rc_bitblt_wm_orn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit ORN operation. | |
RC_EXPORT void | rc_bitblt_wm_nandn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit NANDN operation. | |
RC_EXPORT void | rc_bitblt_wm_norn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, int offset) |
Misaligned bitblit NORN operation. |
Bitblit operations on misaligned words.
The following restrictions apply:
RC_EXPORT void rc_bitblt_wm_and_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_andn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_copy_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_nand_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_nandn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_nor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_norn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_not_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_or_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_orn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_xnor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |
RC_EXPORT void rc_bitblt_wm_xor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height, | |||
int | offset | |||
) |
Misaligned 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. | |
offset | Source buffer bit offset. |