Go to the source code of this file.
|
#define | REAL_TO_SHORT(x) (short)(x) |
|
#define | REAL_TO_S32(x) (int32_t)(x) |
|
#define | REAL_PLUS_32767 32767.0 |
|
#define | REAL_MINUS_32768 -32768.0 |
|
#define | REAL_PLUS_S32 2147483647.0 |
|
#define | REAL_MINUS_S32 -2147483648.0 |
|
#define | WRITE_SHORT_SAMPLE(samples, sum, clip) |
|
#define | WRITE_SHORT_SAMPLE_ACCURATE(samples, sum, clip) |
|
#define | WRITE_S32_SAMPLE(samples, sum, clip) |
|
#define | WRITE_8BIT_SAMPLE(samples, sum, clip) |
|
#define | WRITE_REAL_SAMPLE(samples, sum, clip) *(samples) = ((real)1./SHORT_SCALE)*(sum) |
|
#define | CONV_SU32(s) |
|
#define | CONV_SU16(s) (uint16_t)((int32_t)(s)+32768) |
|
#define | CONV_SU8(s) (uint8_t)((int16_t)s+128) |
|
#define | CONV_US32(u) |
|
#define | CONV_US16(s) (int16_t)((int32_t)s-32768) |
|
#define | CONV_US8(s) (int8_t)((int16_t)s-128) |
|
#define | DROP4BYTE(w, r) {(w)[0]=(r)[1]; (w)[1]=(r)[2]; (w)[2]=(r)[3];} |
|
#define | ADD4BYTE(w, r) {(w)[0]=0; (w)[1]=(r)[0]; (w)[2]=(r)[1]; (w)[3]=(r)[2];} |
|
◆ ADD4BYTE
#define ADD4BYTE |
( |
|
w, |
|
|
|
r |
|
) |
| {(w)[0]=0; (w)[1]=(r)[0]; (w)[2]=(r)[1]; (w)[3]=(r)[2];} |
◆ CONV_SU16
◆ CONV_SU32
◆ CONV_SU8
◆ CONV_US16
◆ CONV_US32
Value:
)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition at line 170 of file sample.h.
◆ CONV_US8
◆ DROP4BYTE
#define DROP4BYTE |
( |
|
w, |
|
|
|
r |
|
) |
| {(w)[0]=(r)[1]; (w)[1]=(r)[2]; (w)[2]=(r)[3];} |
◆ REAL_MINUS_32768
#define REAL_MINUS_32768 -32768.0 |
◆ REAL_MINUS_S32
#define REAL_MINUS_S32 -2147483648.0 |
◆ REAL_PLUS_32767
#define REAL_PLUS_32767 32767.0 |
◆ REAL_PLUS_S32
#define REAL_PLUS_S32 2147483647.0 |
◆ REAL_TO_S32
◆ REAL_TO_SHORT
◆ WRITE_8BIT_SAMPLE
Value:{ \
}
static int sum(int x_, int y_)
Definition at line 142 of file sample.h.
◆ WRITE_REAL_SAMPLE
◆ WRITE_S32_SAMPLE
◆ WRITE_SHORT_SAMPLE
◆ WRITE_SHORT_SAMPLE_ACCURATE