From 24a1e37fc260695126090dae5786a74b46b02b86 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 25 Aug 2008 19:14:02 +0000 Subject: [PATCH] * pipi_internals.h: add two vector values for wrap around information. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2769 92316355-f0b4-4df1-b90c-862c8a59935f --- pipi/pipi_internals.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pipi/pipi_internals.h b/pipi/pipi_internals.h index cc77665..8fe1f16 100644 --- a/pipi/pipi_internals.h +++ b/pipi/pipi_internals.h @@ -31,12 +31,15 @@ struct pipi_image * u8: are the image samples still 8-bit per channel? */ int wrap, u8; - pipi_format_t codec_format, last_modified; + /* Translation vectors for wrap around and tiling. */ + int wrapx1, wrapy1, wrapx2, wrapy2; - /* List of all possible pixel formats */ + /* List of all possible pixel formats and the last active one. */ pipi_pixels_t p[PIPI_PIXELS_MAX]; + pipi_format_t last_modified; /* Private data used by the codec */ + pipi_format_t codec_format; void *codec_priv; };