libmsx
C library for MSX
Loading...
Searching...
No Matches
Boolean operators for 8x8px 1bpp bitmap images.

Boolean operators for 8x8px 1bpp bitmap images. More...

+ Collaboration diagram for Boolean operators for 8x8px 1bpp bitmap images.:

Functions

void im_cmpl_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Bitwise NOT (complement) of an 8x8 pixel 1bpp image.
 
void im_cmpl_v_BM8x8 (const BM8x8 *src)
 MSX Bitwise NOT (complement) of an 8x8 pixel 1bpp image.
 
void im_diff_BM8x8 (const BM8x8 *src1, const BM8x8 *src2, BM8x8 *dst)
 MSX Bitwise SET-DIFFERENCE of two 8x8 pixel 1bpp images.
 
void im_diff_v_BM8x8 (const BM8x8 *src1, const BM8x8 *src2)
 MSX Bitwise SET-DIFFERENCE of two 8x8 pixel 1bpp images.
 
void im_and_BM8x8 (const BM8x8 *src1, const BM8x8 *src2, BM8x8 *dst)
 MSX Bitwise AND of two 8x8 pixel 1bpp images.
 
void im_and_v_BM8x8 (const BM8x8 *src1, const BM8x8 *src2)
 MSX Bitwise AND of two 8x8 pixel 1bpp images.
 
void im_or_BM8x8 (const BM8x8 *src1, const BM8x8 *src2, BM8x8 *dst)
 MSX Bitwise OR of two 8x8 pixel 1bpp images.
 
void im_or_v_BM8x8 (const BM8x8 *src1, const BM8x8 *src2)
 MSX Bitwise OR of two 8x8 pixel 1bpp images.
 
void im_xor_BM8x8 (const BM8x8 *src1, const BM8x8 *src2, BM8x8 *dst)
 MSX Bitwise XOR of two 8x8 pixel 1bpp images.
 
void im_xor_v_BM8x8 (const BM8x8 *src1, const BM8x8 *src2)
 MSX Bitwise XOR of two 8x8 pixel 1bpp images.
 

Detailed Description

Boolean operators for 8x8px 1bpp bitmap images.

OPERATOR ROM/RAM to RAM ROM/RAM to VRAM
BITWISE NOT (COMPLEMENT) im_cmpl_BM8x8() im_cmpl_v_BM8x8()
BITWISE AND im_and_BM8x8() im_and_v_BM8x8()
BITWISE OR im_or_BM8x8() im_or_v_BM8x8()
BITWISE XOR im_xor_BM8x8() im_xor_v_BM8x8()
PIXELWISE SET-DIFFERENCE im_diff_BM8x8() im_diff_v_BM8x8()

Function Documentation

◆ im_cmpl_BM8x8()

void im_cmpl_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Bitwise NOT (complement) of an 8x8 pixel 1bpp image.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_cmpl_v_BM8x8()

void im_cmpl_v_BM8x8 ( const BM8x8 src)

MSX Bitwise NOT (complement) of an 8x8 pixel 1bpp image.

Parameters
srcPointer to source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_diff_BM8x8()

void im_diff_BM8x8 ( const BM8x8 src1,
const BM8x8 src2,
BM8x8 dst 
)

MSX Bitwise SET-DIFFERENCE of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_diff_v_BM8x8()

void im_diff_v_BM8x8 ( const BM8x8 src1,
const BM8x8 src2 
)

MSX Bitwise SET-DIFFERENCE of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_and_BM8x8()

void im_and_BM8x8 ( const BM8x8 src1,
const BM8x8 src2,
BM8x8 dst 
)

MSX Bitwise AND of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_and_v_BM8x8()

void im_and_v_BM8x8 ( const BM8x8 src1,
const BM8x8 src2 
)

MSX Bitwise AND of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_or_BM8x8()

void im_or_BM8x8 ( const BM8x8 src1,
const BM8x8 src2,
BM8x8 dst 
)

MSX Bitwise OR of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_or_v_BM8x8()

void im_or_v_BM8x8 ( const BM8x8 src1,
const BM8x8 src2 
)

MSX Bitwise OR of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().

◆ im_xor_BM8x8()

void im_xor_BM8x8 ( const BM8x8 src1,
const BM8x8 src2,
BM8x8 dst 
)

MSX Bitwise XOR of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
dstPointer to destination image.

◆ im_xor_v_BM8x8()

void im_xor_v_BM8x8 ( const BM8x8 src1,
const BM8x8 src2 
)

MSX Bitwise XOR of two 8x8 pixel 1bpp images.

Parameters
src1Pointer to source image.
src2Pointer to another source image.
Note
The destination VRAM address must be set in advance with vmem_set_write_address().