xine-lib: xine-lib-1.2.12/src/xine-engine/ffmpeg_bswap.h File Reference

xine-lib 1.2.12

Macros | Functions
ffmpeg_bswap.h File Reference

Go to the source code of this file.

## Macros
#define | LEGACY_REGS "=q"
#define | be2me_16(x) bswap_16(x)
#define | be2me_32(x) bswap_32(x)
#define | be2me_64(x) bswap_64(x)
#define | le2me_16(x) (x)
#define | le2me_32(x) (x)
#define | le2me_64(x) (x)

## Functions
static always_inline uint16_t | bswap_16 (uint16_t x)
static always_inline uint32_t | bswap_32 (uint32_t x)
static uint64_t | bswap_64 (uint64_t x)

## Macro Definition Documentation

## ◆ be2me_16

#define be2me_16 | ( |  | x | ) | bswap_16(x)

## ◆ be2me_32

#define be2me_32 | ( |  | x | ) | bswap_32(x)

## ◆ be2me_64

#define be2me_64 | ( |  | x | ) | bswap_64(x)

## ◆ le2me_16

#define le2me_16 | ( |  | x | ) | (x)

## ◆ le2me_32

#define le2me_32 | ( |  | x | ) | (x)

## ◆ le2me_64

#define le2me_64 | ( |  | x | ) | (x)

## ◆ LEGACY_REGS

#define LEGACY_REGS "=q"

## Function Documentation

## ◆ bswap_16()

static always_inline uint16_t bswap_16 | ( | uint16_t | x | ) |
| static

Referenced by ao_file_write().

## ◆ bswap_32()

static always_inline uint32_t bswap_32 | ( | uint32_t | x | ) |
| static

Referenced by bswap_64(), dxr3_swab_clut(), and spudec_decode_data().

## ◆ bswap_64()

static uint64_t bswap_64 | ( | uint64_t | x | ) |
| inlinestatic

References bswap_32().