llimage.h File Reference

Object for managing images and their textures. More...

#include "lluuid.h"
#include "llstring.h"
#include "llmemory.h"
#include "llthread.h"

Include dependency graph for llimage.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLImageBase
class  LLImageRaw
class  LLImageFormatted

Typedefs

typedef enum e_image_codec EImageCodec

Enumerations

enum  e_image_codec {
  IMG_CODEC_INVALID = 0, IMG_CODEC_RGB = 1, IMG_CODEC_J2C = 2, IMG_CODEC_BMP = 3,
  IMG_CODEC_TGA = 4, IMG_CODEC_JPEG = 5, IMG_CODEC_DXT = 6, IMG_CODEC_PNG = 7,
  IMG_CODEC_EOF = 8
}

Variables

const S32 MIN_IMAGE_MIP = 2
const S32 MAX_IMAGE_MIP = 11
const S32 MAX_DISCARD_LEVEL = 5
const S32 MIN_IMAGE_SIZE = (1<<MIN_IMAGE_MIP)
const S32 MAX_IMAGE_SIZE = (1<<MAX_IMAGE_MIP)
const S32 MIN_IMAGE_AREA = MIN_IMAGE_SIZE * MIN_IMAGE_SIZE
const S32 MAX_IMAGE_AREA = MAX_IMAGE_SIZE * MAX_IMAGE_SIZE
const S32 MAX_IMAGE_COMPONENTS = 8
const S32 MAX_IMAGE_DATA_SIZE = MAX_IMAGE_AREA * MAX_IMAGE_COMPONENTS
const S32 FIRST_PACKET_SIZE = 600
const S32 MAX_IMG_PACKET_SIZE = 1000


Detailed Description

Object for managing images and their textures.

LicenseInfo
firstyear=2000&license=viewergpl

Copyright (c) 2000-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llimage.h.


Typedef Documentation

typedef enum e_image_codec EImageCodec


Enumeration Type Documentation

Enumerator:
IMG_CODEC_INVALID 
IMG_CODEC_RGB 
IMG_CODEC_J2C 
IMG_CODEC_BMP 
IMG_CODEC_TGA 
IMG_CODEC_JPEG 
IMG_CODEC_DXT 
IMG_CODEC_PNG 
IMG_CODEC_EOF 

Definition at line 63 of file llimage.h.


Variable Documentation

const S32 FIRST_PACKET_SIZE = 600

Definition at line 48 of file llimage.h.

Referenced by LLImageBase::sanityCheck().

const S32 MAX_IMAGE_MIP = 11

Definition at line 41 of file llimage.h.

Referenced by LLImageFormatted::calcDiscardLevelBytes(), and LLImageDXT::updateData().

Definition at line 45 of file llimage.h.

const S32 MAX_IMG_PACKET_SIZE = 1000

Definition at line 46 of file llimage.h.

const S32 MIN_IMAGE_MIP = 2

Definition at line 40 of file llimage.h.


Generated on Fri May 16 08:35:03 2008 for SecondLife by  doxygen 1.5.5