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

Matrix transformation operators for 8x8px 1bpp bitmap images. More...

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

Functions

void im_copy_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Copy an 8x8 pixels 1bpp image.
 
void im_copy_v_BM8x8 (const BM8x8 *src)
 MSX Copy an 8x8 pixels 1bpp image.
 
void im_hflip_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Flip an 8x8 pixels 1bpp image horizontally.
 
void im_hflip_v_BM8x8 (const BM8x8 *src)
 MSX Flip an 8x8 pixels 1bpp image horizontally.
 
void im_vflip_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Flip an 8x8 pixels 1bpp image vertically.
 
void im_vflip_v_BM8x8 (const BM8x8 *src)
 MSX Flip an 8x8 pixels 1bpp image vertically.
 
void im_tr_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Transpose an 8x8 pixels 1bpp image around the main diagonal.
 
void im_tr_v_BM8x8 (const BM8x8 *src)
 MSX Transpose an 8x8 pixels 1bpp image around the main diagonal.
 
void im_adtr_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Transpose an 8x8 pixels 1bpp image around the antidiagonal.
 
void im_adtr_v_BM8x8 (const BM8x8 *src)
 MSX Transpose an 8x8 pixels 1bpp image around the antidiagonal.
 
void im_rot90_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Rotate an 8x8 pixels 1bpp image 90 degrees clockwise.
 
void im_rot90_v_BM8x8 (const BM8x8 *src)
 MSX Rotate an 8x8 pixels 1bpp image 90 degrees clockwise.
 
void im_rot180_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Rotate an 8x8 pixels 1bpp image 180 degrees.
 
void im_rot180_v_BM8x8 (const BM8x8 *src)
 MSX Rotate an 8x8 pixels 1bpp image 180 degrees.
 
void im_rot270_BM8x8 (const BM8x8 *src, BM8x8 *dst)
 MSX Rotate an 8x8 pixels 1bpp image 270 degrees clockwise.
 
void im_rot270_v_BM8x8 (const BM8x8 *src)
 MSX Rotate an 8x8 pixels 1bpp image 270 degrees clockwise.
 

Detailed Description

Matrix transformation operators for 8x8px 1bpp bitmap images.

OPERATOR ROM/RAM to RAM ROM/RAM to VRAM
COPY im_copy_BM8x8() im_copy_v_BM8x8()
FLIP HORIZONTALLY im_hflip_BM8x8() im_hflip_v_BM8x8()
FLIP VERTICALLY im_vflip_BM8x8() im_vflip_v_BM8x8()
TRANSPOSE im_tr_BM8x8() im_tr_v_BM8x8()
ANTI-DIAGONAL TRANSPOSE im_adtr_BM8x8() im_adtr_v_BM8x8()
ROTATE 90 DEG. CLOCKWISE im_rot90_BM8x8() im_rot90_v_BM8x8()
ROTATE 180 DEG. im_rot180_BM8x8() im_rot180_v_BM8x8()
ROTATE 270 DEG. CLOCKWISE im_rot270_BM8x8() im_rot270_v_BM8x8()

Function Documentation

◆ im_copy_BM8x8()

void im_copy_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Copy an 8x8 pixels 1bpp image.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_copy_v_BM8x8()

void im_copy_v_BM8x8 ( const BM8x8 src)

MSX Copy an 8x8 pixels 1bpp image.

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

◆ im_hflip_BM8x8()

void im_hflip_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Flip an 8x8 pixels 1bpp image horizontally.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_hflip_v_BM8x8()

void im_hflip_v_BM8x8 ( const BM8x8 src)

MSX Flip an 8x8 pixels 1bpp image horizontally.

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

◆ im_vflip_BM8x8()

void im_vflip_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Flip an 8x8 pixels 1bpp image vertically.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_vflip_v_BM8x8()

void im_vflip_v_BM8x8 ( const BM8x8 src)

MSX Flip an 8x8 pixels 1bpp image vertically.

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

◆ im_tr_BM8x8()

void im_tr_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Transpose an 8x8 pixels 1bpp image around the main diagonal.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_tr_v_BM8x8()

void im_tr_v_BM8x8 ( const BM8x8 src)

MSX Transpose an 8x8 pixels 1bpp image around the main diagonal.

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

◆ im_adtr_BM8x8()

void im_adtr_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Transpose an 8x8 pixels 1bpp image around the antidiagonal.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_adtr_v_BM8x8()

void im_adtr_v_BM8x8 ( const BM8x8 src)

MSX Transpose an 8x8 pixels 1bpp image around the antidiagonal.

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

◆ im_rot90_BM8x8()

void im_rot90_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Rotate an 8x8 pixels 1bpp image 90 degrees clockwise.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_rot90_v_BM8x8()

void im_rot90_v_BM8x8 ( const BM8x8 src)

MSX Rotate an 8x8 pixels 1bpp image 90 degrees clockwise.

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

◆ im_rot180_BM8x8()

void im_rot180_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Rotate an 8x8 pixels 1bpp image 180 degrees.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_rot180_v_BM8x8()

void im_rot180_v_BM8x8 ( const BM8x8 src)

MSX Rotate an 8x8 pixels 1bpp image 180 degrees.

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

◆ im_rot270_BM8x8()

void im_rot270_BM8x8 ( const BM8x8 src,
BM8x8 dst 
)

MSX Rotate an 8x8 pixels 1bpp image 270 degrees clockwise.

Parameters
srcPointer to source image.
dstPointer to destination image.

◆ im_rot270_v_BM8x8()

void im_rot270_v_BM8x8 ( const BM8x8 src)

MSX Rotate an 8x8 pixels 1bpp image 270 degrees clockwise.

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