Blender V5.0
BLI_endian_switch.h File Reference

Go to the source code of this file.

Functions

BLI_INLINE void BLI_endian_switch_int16 (short *val) ATTR_NONNULL(1)
BLI_INLINE void BLI_endian_switch_uint16 (unsigned short *val) ATTR_NONNULL(1)
BLI_INLINE void BLI_endian_switch_int32 (int *val) ATTR_NONNULL(1)
BLI_INLINE void BLI_endian_switch_uint32 (unsigned int *val) ATTR_NONNULL(1)
BLI_INLINE void BLI_endian_switch_float (float *val) ATTR_NONNULL(1)
BLI_INLINE void BLI_endian_switch_int64 (int64_t *val) ATTR_NONNULL(1)
BLI_INLINE void BLI_endian_switch_uint64 (uint64_t *val) ATTR_NONNULL(1)
BLI_INLINE void BLI_endian_switch_double (double *val) ATTR_NONNULL(1)
void BLI_endian_switch_int16_array (short *val, int size) ATTR_NONNULL(1)
void BLI_endian_switch_uint16_array (unsigned short *val, int size) ATTR_NONNULL(1)
void BLI_endian_switch_int32_array (int *val, int size) ATTR_NONNULL(1)
void BLI_endian_switch_uint32_array (unsigned int *val, int size) ATTR_NONNULL(1)
void BLI_endian_switch_float_array (float *val, int size) ATTR_NONNULL(1)
void BLI_endian_switch_int64_array (int64_t *val, int size) ATTR_NONNULL(1)
void BLI_endian_switch_uint64_array (uint64_t *val, int size) ATTR_NONNULL(1)
void BLI_endian_switch_double_array (double *val, int size) ATTR_NONNULL(1)

Function Documentation

◆ BLI_endian_switch_double()

BLI_INLINE void BLI_endian_switch_double ( double * val)

Definition at line 76 of file BLI_endian_switch_inline.h.

References BLI_endian_switch_uint64(), and BLI_INLINE.

Referenced by BLI_endian_switch_double_array().

◆ BLI_endian_switch_double_array()

void BLI_endian_switch_double_array ( double * val,
int size )

Definition at line 82 of file endian_switch.cc.

References BLI_endian_switch_double(), i, and size().

◆ BLI_endian_switch_float()

◆ BLI_endian_switch_float_array()

void BLI_endian_switch_float_array ( float * val,
int size )

Definition at line 52 of file endian_switch.cc.

References BLI_endian_switch_float(), i, and size().

Referenced by MOD_meshcache_read_mdd_index().

◆ BLI_endian_switch_int16()

BLI_INLINE void BLI_endian_switch_int16 ( short * val)

Definition at line 24 of file BLI_endian_switch_inline.h.

References BLI_endian_switch_uint16(), and BLI_INLINE.

Referenced by BLI_endian_switch_int16_array().

◆ BLI_endian_switch_int16_array()

void BLI_endian_switch_int16_array ( short * val,
int size )

Definition at line 12 of file endian_switch.cc.

References BLI_endian_switch_int16(), i, and size().

◆ BLI_endian_switch_int32()

BLI_INLINE void BLI_endian_switch_int32 ( int * val)

◆ BLI_endian_switch_int32_array()

void BLI_endian_switch_int32_array ( int * val,
int size )

Definition at line 32 of file endian_switch.cc.

References BLI_endian_switch_int32(), i, and size().

Referenced by meshcache_read_mdd_head().

◆ BLI_endian_switch_int64()

BLI_INLINE void BLI_endian_switch_int64 ( int64_t * val)

Definition at line 60 of file BLI_endian_switch_inline.h.

References BLI_endian_switch_uint64(), and BLI_INLINE.

Referenced by BLI_endian_switch_int64_array().

◆ BLI_endian_switch_int64_array()

void BLI_endian_switch_int64_array ( int64_t * val,
int size )

Definition at line 62 of file endian_switch.cc.

References BLI_endian_switch_int64(), i, and size().

◆ BLI_endian_switch_uint16()

BLI_INLINE void BLI_endian_switch_uint16 ( unsigned short * val)

◆ BLI_endian_switch_uint16_array()

void BLI_endian_switch_uint16_array ( unsigned short * val,
int size )

Definition at line 22 of file endian_switch.cc.

References BLI_endian_switch_uint16(), i, and size().

Referenced by endian_switch_array().

◆ BLI_endian_switch_uint32()

BLI_INLINE void BLI_endian_switch_uint32 ( unsigned int * val)

◆ BLI_endian_switch_uint32_array()

void BLI_endian_switch_uint32_array ( unsigned int * val,
int size )

Definition at line 42 of file endian_switch.cc.

References BLI_endian_switch_uint32(), i, and size().

Referenced by endian_switch_array().

◆ BLI_endian_switch_uint64()

◆ BLI_endian_switch_uint64_array()

void BLI_endian_switch_uint64_array ( uint64_t * val,
int size )

Definition at line 72 of file endian_switch.cc.

References BLI_endian_switch_uint64(), i, and size().

Referenced by endian_switch_array().