/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_types.rsh File Reference

- Overview
- Globals
- Structs

Data Structures | Typedefs
/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_types.rsh File Reference
`#include "stdbool.h"`

## Data Structures
struct | rs_element
| Opaque handle to a Renderscript element. More...
struct | rs_type
| Opaque handle to a Renderscript type. More...
struct | rs_allocation
| Opaque handle to a Renderscript allocation. More...
struct | rs_sampler
| Opaque handle to a Renderscript sampler object. More...
struct | rs_script
| Opaque handle to a Renderscript script object. More...
struct | rs_mesh
| Opaque handle to a Renderscript mesh object. More...
struct | rs_program_fragment
| Opaque handle to a Renderscript ProgramFragment object. More...
struct | rs_program_vertex
| Opaque handle to a Renderscript ProgramVertex object. More...
struct | rs_program_raster
| Opaque handle to a Renderscript ProgramRaster object. More...
struct | rs_program_store
| Opaque handle to a Renderscript ProgramStore object. More...
struct | rs_font
| Opaque handle to a Renderscript font object. More...
struct | rs_matrix4x4
| 4x4 float matrix More...
struct | rs_matrix3x3
| 3x3 float matrix More...
struct | rs_matrix2x2
| 2x2 float matrix More...
## Typedefs
typedef char | int8_t
typedef short | int16_t
typedef int | int32_t
typedef long long | int64_t
typedef unsigned char | uint8_t
typedef unsigned short | uint16_t
typedef unsigned int | uint32_t
typedef unsigned long long | uint64_t
typedef uint8_t | uchar
typedef uint16_t | ushort
typedef uint32_t | uint
typedef uint64_t | ulong
typedef uint32_t | size_t
typedef int32_t | ssize_t
typedef float | float2
typedef float | float3
typedef float | float4
typedef double | double2
typedef double | double3
typedef double | double4
typedef uchar | uchar2
typedef uchar | uchar3
typedef uchar | uchar4
typedef ushort | ushort2
typedef ushort | ushort3
typedef ushort | ushort4
typedef uint | uint2
typedef uint | uint3
typedef uint | uint4
typedef ulong | ulong2
typedef ulong | ulong3
typedef ulong | ulong4
typedef char | char2
typedef char | char3
typedef char | char4
typedef short | short2
typedef short | short3
typedef short | short4
typedef int | int2
typedef int | int3
typedef int | int4
typedef long | long2
typedef long | long3
typedef long | long4
typedef float4 | rs_quaternion

## Detailed Description

Define the standard Renderscript types

Integers 8 bit: char, int8_t 16 bit: short, int16_t 32 bit: int, in32_t 64 bit: long, long long, int64_t

Unsigned Integers 8 bit: uchar, uint8_t 16 bit: ushort, uint16_t 32 bit: uint, uint32_t 64 bit: ulong, uint64_t

Floating point 32 bit: float 64 bit: double

Vectors of length 2, 3, and 4 are supported for all the types above.

Definition in file rs_types.rsh.

## Typedef Documentation

typedef char char2

Vector version of the basic char type. Provides two char fields packed into a single 16 bit field with 16 bit alignment.

Definition at line 273 of file rs_types.rsh.

typedef char char3

Vector version of the basic char type. Provides three char fields packed into a single 32 bit field with 32 bit alignment.

Definition at line 278 of file rs_types.rsh.

typedef char char4

Vector version of the basic char type. Provides four char fields packed into a single 32 bit field with 32 bit alignment.

Definition at line 283 of file rs_types.rsh.

typedef double double2

Vector version of the basic double type. Provides two double fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 193 of file rs_types.rsh.

typedef double double3

Vector version of the basic double type. Provides three double fields packed into a single 256 bit field with 256 bit alignment.

Definition at line 198 of file rs_types.rsh.

typedef double double4

Vector version of the basic double type. Provides four double fields packed into a single 256 bit field with 256 bit alignment.

Definition at line 203 of file rs_types.rsh.

typedef float float2

Vector version of the basic float type. Provides two float fields packed into a single 64 bit field with 64 bit alignment.

Definition at line 176 of file rs_types.rsh.

typedef float float3

Vector version of the basic float type. Provides three float fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 181 of file rs_types.rsh.

typedef float float4

Vector version of the basic float type. Provides four float fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 187 of file rs_types.rsh.

typedef short int16_t

16 bit integer type

Definition at line 54 of file rs_types.rsh.

typedef int int2

Vector version of the basic int type. Provides two int fields packed into a single 64 bit field with 64 bit alignment.

Definition at line 305 of file rs_types.rsh.

typedef int int3

Vector version of the basic int type. Provides three int fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 310 of file rs_types.rsh.

typedef int int32_t

32 bit integer type

Definition at line 58 of file rs_types.rsh.

typedef int int4

Vector version of the basic int type. Provides two four fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 315 of file rs_types.rsh.

typedef long long int64_t

64 bit integer type

Definition at line 62 of file rs_types.rsh.

typedef char int8_t

8 bit integer type

Definition at line 50 of file rs_types.rsh.

typedef long long2

Vector version of the basic long type. Provides two long fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 321 of file rs_types.rsh.

typedef long long3

Vector version of the basic long type. Provides three long fields packed into a single 256 bit field with 256 bit alignment.

Definition at line 326 of file rs_types.rsh.

typedef long long4

Vector version of the basic long type. Provides four long fields packed into a single 256 bit field with 256 bit alignment.

Definition at line 331 of file rs_types.rsh.

typedef float4 rs_quaternion

quaternion type for use with the quaternion functions

Definition at line 364 of file rs_types.rsh.

typedef short short2

Vector version of the basic short type. Provides two short fields packed into a single 32 bit field with 32 bit alignment.

Definition at line 289 of file rs_types.rsh.

typedef short short3

Vector version of the basic short type. Provides three short fields packed into a single 64 bit field with 64 bit alignment.

Definition at line 294 of file rs_types.rsh.

typedef short short4

Vector version of the basic short type. Provides four short fields packed into a single 64 bit field with 64 bit alignment.

Definition at line 299 of file rs_types.rsh.

typedef uint32_t size_t

Typedef for unsigned int

Definition at line 98 of file rs_types.rsh.

typedef int32_t ssize_t

Typedef for int (use for 32-bit integers)

Definition at line 102 of file rs_types.rsh.

typedef uint8_t uchar

8 bit unsigned integer type

Definition at line 82 of file rs_types.rsh.

typedef uchar uchar2

Vector version of the basic uchar type. Provides two uchar fields packed into a single 16 bit field with 16 bit alignment.

Definition at line 209 of file rs_types.rsh.

typedef uchar uchar3

Vector version of the basic uchar type. Provides three uchar fields packed into a single 32 bit field with 32 bit alignment.

Definition at line 214 of file rs_types.rsh.

typedef uchar uchar4

Vector version of the basic uchar type. Provides four uchar fields packed into a single 32 bit field with 32 bit alignment.

Definition at line 219 of file rs_types.rsh.

typedef uint32_t uint

32 bit unsigned integer type

Definition at line 90 of file rs_types.rsh.

typedef unsigned short uint16_t

16 bit unsigned integer type

Definition at line 70 of file rs_types.rsh.

typedef uint uint2

Vector version of the basic uint type. Provides two uint fields packed into a single 64 bit field with 64 bit alignment.

Definition at line 241 of file rs_types.rsh.

typedef uint uint3

Vector version of the basic uint type. Provides three uint fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 246 of file rs_types.rsh.

typedef unsigned int uint32_t

32 bit unsigned integer type

Definition at line 74 of file rs_types.rsh.

typedef uint uint4

Vector version of the basic uint type. Provides four uint fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 251 of file rs_types.rsh.

typedef unsigned long long uint64_t

64 bit unsigned integer type

Definition at line 78 of file rs_types.rsh.

typedef unsigned char uint8_t

8 bit unsigned integer type

Definition at line 66 of file rs_types.rsh.

typedef uint64_t ulong

Typedef for unsigned long (use for 64-bit unsigned integers)

Definition at line 94 of file rs_types.rsh.

typedef ulong ulong2

Vector version of the basic ulong type. Provides two ulong fields packed into a single 128 bit field with 128 bit alignment.

Definition at line 257 of file rs_types.rsh.

typedef ulong ulong3

Vector version of the basic ulong type. Provides three ulong fields packed into a single 256 bit field with 256 bit alignment.

Definition at line 262 of file rs_types.rsh.

typedef ulong ulong4

Vector version of the basic ulong type. Provides four ulong fields packed into a single 256 bit field with 256 bit alignment.

Definition at line 267 of file rs_types.rsh.

typedef uint16_t ushort

16 bit unsigned integer type

Definition at line 86 of file rs_types.rsh.

typedef ushort ushort2

Vector version of the basic ushort type. Provides two ushort fields packed into a single 32 bit field with 32 bit alignment.

Definition at line 225 of file rs_types.rsh.

typedef ushort ushort3

Vector version of the basic ushort type. Provides three ushort fields packed into a single 64 bit field with 64 bit alignment.

Definition at line 230 of file rs_types.rsh.

typedef ushort ushort4

Vector version of the basic ushort type. Provides four ushort fields packed into a single 64 bit field with 64 bit alignment.

Definition at line 235 of file rs_types.rsh.