Bitblit operations on misaligned vectors. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_bitblt_vm_copy_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit COPY operation. | |
RC_EXPORT void | rc_bitblt_vm_not_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit NOT operation. | |
RC_EXPORT void | rc_bitblt_vm_and_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit AND operation. | |
RC_EXPORT void | rc_bitblt_vm_or_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit OR operation. | |
RC_EXPORT void | rc_bitblt_vm_xor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit XOR operation. | |
RC_EXPORT void | rc_bitblt_vm_nand_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit NAND operation. | |
RC_EXPORT void | rc_bitblt_vm_nor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit NOR operation. | |
RC_EXPORT void | rc_bitblt_vm_xnor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit XNOR operation. | |
RC_EXPORT void | rc_bitblt_vm_andn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit ANDN operation. | |
RC_EXPORT void | rc_bitblt_vm_orn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit ORN operation. | |
RC_EXPORT void | rc_bitblt_vm_nandn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit NANDN operation. | |
RC_EXPORT void | rc_bitblt_vm_norn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Misaligned bitblit NORN operation. |
Bitblit operations on misaligned vectors.
The following restrictions apply:
RC_EXPORT void rc_bitblt_vm_and_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_andn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_copy_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_nand_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_nandn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_nor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_norn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_not_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_or_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_orn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_xnor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |
RC_EXPORT void rc_bitblt_vm_xor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
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. |