/*
 |            file: texformat.c
 |        language: 1	(ANSI C)
 |     produced by: GNU C 4.2.1
 |    compiler dir: /OST/GraphicsGFX/SDP3430/Source/SGX12.19/GFX_Linux_DDK/src/eurasia/eurasiacon/opengles2
 | program counter: <0x26c3c;0x26c3c>
 */
typedef unsigned int size_t

typedef long long int __quad_t

typedef long int __off_t

typedef __quad_t __off64_t

struct _IO_FILE {
	int _flags // @0
	char* _IO_read_ptr // @4
	char* _IO_read_end // @8
	char* _IO_read_base // @c
	char* _IO_write_base // @10
	char* _IO_write_ptr // @14
	char* _IO_write_end // @18
	char* _IO_buf_base // @1c
	char* _IO_buf_end // @20
	char* _IO_save_base // @24
	char* _IO_backup_base // @28
	char* _IO_save_end // @2c
	struct _IO_marker* _markers // @30
	struct _IO_FILE* _chain // @34
	int _fileno // @38
	int _flags2 // @3c
	__off_t _old_offset // @40
	short unsigned int _cur_column // @44
	signed char _vtable_offset // @46
	char[1] _shortbuf // @47
	_IO_lock_t* _lock // @48
	__off64_t _offset // @50
	void* __pad1 // @58
	void* __pad2 // @5c
	void* __pad3 // @60
	void* __pad4 // @64
	size_t __pad5 // @68
	int _mode // @6c
	char[40] _unused2 // @70
}

typedef void _IO_lock_t

struct _IO_marker {
	struct _IO_marker* _next // @0
	struct _IO_FILE* _sbuf // @4
	int _pos // @8
}

typedef char IMG_CHAR

typedef long unsigned int IMG_UINT32

typedef enum _USP_CHAN_CONTENT_ USP_CHAN_CONTENT

enum _USP_CHAN_CONTENT_ {
	USP_CHAN_CONTENT_NONE = 0; //0x0
	USP_CHAN_CONTENT_DATA = 1; //0x1
	USP_CHAN_CONTENT_ONE = 5; //0x5
	USP_CHAN_CONTENT_ZERO = 6; //0x6
}

typedef enum _USP_CHAN_FORMAT_ USP_CHAN_FORMAT

enum _USP_CHAN_FORMAT_ {
	USP_CHAN_FORMAT_U8 = 0; //0x0
	USP_CHAN_FORMAT_S8 = 1; //0x1
	USP_CHAN_FORMAT_U16 = 2; //0x2
	USP_CHAN_FORMAT_S16 = 3; //0x3
	USP_CHAN_FORMAT_F16 = 4; //0x4
	USP_CHAN_FORMAT_F32 = 5; //0x5
	USP_CHAN_FORMAT_U24 = 6; //0x6
}

typedef enum _USP_CHAN_SWIZZLE_ USP_CHAN_SWIZZLE

enum _USP_CHAN_SWIZZLE_ {
	USP_CHAN_SWIZZLE_CHAN_0 = 0; //0x0
	USP_CHAN_SWIZZLE_CHAN_1 = 1; //0x1
	USP_CHAN_SWIZZLE_CHAN_2 = 2; //0x2
	USP_CHAN_SWIZZLE_CHAN_3 = 3; //0x3
	USP_CHAN_SWIZZLE_ONE = 4; //0x4
	USP_CHAN_SWIZZLE_ZERO = 5; //0x5
}

typedef struct _USP_TEX_FORMAT_ USP_TEX_FORMAT

struct _USP_TEX_FORMAT_ {
	USP_CHAN_CONTENT[4] aeChanContent // @0
	USP_CHAN_FORMAT[4] aeChanForm // @10
	USP_CHAN_SWIZZLE[4] aeChanSwizzle // @20
	IMG_UINT32 uChunkSize // @30
}

struct GLES2TextureChunkRec {
	IMG_UINT32 ui32BytesPerChunk // @0
	IMG_UINT32 ui32ChunkFormat // @4
}

typedef struct GLES2TextureChunkRec GLES2TextureChunk

struct GLES2TextureFormatRec {
	IMG_UINT32 ui32NumChunks // @0
	IMG_UINT32 ui32TotalBytesPerTexel // @4
	IMG_UINT32 ui32BaseFormatIndex // @8
	USP_TEX_FORMAT sTexFormat // @c
	GLES2TextureChunk[4] asChunk // @40
}

typedef struct GLES2TextureFormatRec GLES2TextureFormat

struct GLES2_Extension_TAG {
	const IMG_CHAR* pszExtensionName // @0
	IMG_UINT32 ui32ExtensionFlag // @4
}

const IMG_UINT32 ui32ExtensionFlag

const struct GLES2_Extension_TAG[12] GLES2Extension

struct _IO_FILE* stdin

struct _IO_FILE* stdout

const GLES2TextureFormat TexFormatABGR8888

const GLES2TextureFormat TexFormatARGB1555

const GLES2TextureFormat TexFormatARGB4444

const GLES2TextureFormat TexFormatXBGR8888

const GLES2TextureFormat TexFormatRGB565

const GLES2TextureFormat TexFormatAlpha

const GLES2TextureFormat TexFormatLuminance

const GLES2TextureFormat TexFormatLuminanceAlpha

const GLES2TextureFormat TexFormatPVRTC2RGB

const GLES2TextureFormat TexFormatPVRTC4RGB

const GLES2TextureFormat TexFormatPVRTC2RGBA

const GLES2TextureFormat TexFormatPVRTC4RGBA

const GLES2TextureFormat TexFormatPVRTCII2RGB

const GLES2TextureFormat TexFormatPVRTCII4RGB

const GLES2TextureFormat TexFormatPVRTCII2RGBA

const GLES2TextureFormat TexFormatPVRTCII4RGBA

const GLES2TextureFormat TexFormatETC1RGB

const GLES2TextureFormat TexFormatRGBAFloat

const GLES2TextureFormat TexFormatRGBAHalfFloat

const GLES2TextureFormat TexFormatRGBFloat

const GLES2TextureFormat TexFormatRGBHalfFloat

const GLES2TextureFormat TexFormatFloatAlpha

const GLES2TextureFormat TexFormatHalfFloatAlpha

const GLES2TextureFormat TexFormatFloatLuminance

const GLES2TextureFormat TexFormatHalfFloatLuminance

const GLES2TextureFormat TexFormatFloatLuminanceAlpha

const GLES2TextureFormat TexFormatHalfFloatLuminanceAlpha

