Bitblit operations on aligned vectors. More...
Go to the source code of this file.
Functions | |
RC_EXPORT void | rc_bitblt_va_copy_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit COPY operation. | |
RC_EXPORT void | rc_bitblt_va_not_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit NOT operation. | |
RC_EXPORT void | rc_bitblt_va_and_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit AND operation. | |
RC_EXPORT void | rc_bitblt_va_or_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit OR operation. | |
RC_EXPORT void | rc_bitblt_va_xor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit XOR operation. | |
RC_EXPORT void | rc_bitblt_va_nand_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit NAND operation. | |
RC_EXPORT void | rc_bitblt_va_nor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit NOR operation. | |
RC_EXPORT void | rc_bitblt_va_xnor_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit XNOR operation. | |
RC_EXPORT void | rc_bitblt_va_andn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit ANDN operation. | |
RC_EXPORT void | rc_bitblt_va_orn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit ORN operation. | |
RC_EXPORT void | rc_bitblt_va_nandn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit NANDN operation. | |
RC_EXPORT void | rc_bitblt_va_norn_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height) |
Vector-aligned bitblit NORN operation. |
Bitblit operations on aligned vectors.
The following restrictions apply:
RC_EXPORT void rc_bitblt_va_and_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_andn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_copy_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_nand_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_nandn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_nor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_norn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_not_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_or_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_orn_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_xnor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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_va_xor_bin | ( | uint8_t *restrict | dst, | |
int | dst_dim, | |||
const uint8_t *restrict | src, | |||
int | src_dim, | |||
int | width, | |||
int | height | |||
) |
Vector-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. |