1.1 --- a/src/pvr2/pvr2.h Sun Jan 21 11:28:43 2007 +0000
1.2 +++ b/src/pvr2/pvr2.h Mon Jan 22 11:45:37 2007 +0000
1.5 - * $Id: pvr2.h,v 1.23 2007-01-21 11:28:43 nkeynes Exp $
1.6 + * $Id: pvr2.h,v 1.24 2007-01-22 11:45:37 nkeynes Exp $
1.8 * PVR2 (video chip) functions and macros.
1.10 @@ -129,6 +129,22 @@
1.11 void pvr2_vram64_read( char *dest, sh4addr_t src, uint32_t length );
1.14 + * Read a twiddled image from interleaved memory address space (aka 64-bit address
1.15 + * space), writing the image to the destination buffer in detwiddled format.
1.16 + * Width and height must be powers of 2
1.17 + * This version reads 8-bit pixels.
1.19 +void pvr2_vram64_read_twiddled_8( char *dest, sh4addr_t src, uint32_t width, uint32_t height );
1.22 + * Read a twiddled image from interleaved memory address space (aka 64-bit address
1.23 + * space), writing the image to the destination buffer in detwiddled format.
1.24 + * Width and height must be powers of 2, and src must be 16-bit aligned.
1.25 + * This version reads 16-bit pixels.
1.27 +void pvr2_vram64_read_twiddled_16( char *dest, sh4addr_t src, uint32_t width, uint32_t height );
1.30 * Read an image from the interleaved memory address space (aka 64-bit address space)
1.31 * where the source and destination line sizes may differ. Note that both byte
1.32 * counts must be a multiple of 4, and the src address must be 32-bit aligned.