libavutil/bswap.h File Reference

byte swap. More...

#include <stdint.h>
#include "common.h"

Go to the source code of this file.

Defines

#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 av_always_inline uint16_t bswap_16 (uint16_t x)
static av_always_inline uint32_t bswap_32 (uint32_t x)
static uint64_t bswap_64 (uint64_t x)


Detailed Description

byte swap.

Definition in file bswap.h.


Define Documentation

#define be2me_16 (  )     bswap_16(x)

Definition at line 133 of file bswap.h.

Referenced by decode_frame(), ff_copy_bits(), and pnm_decode_frame().

#define be2me_32 (  )     bswap_32(x)

Definition at line 134 of file bswap.h.

Referenced by av_sha1_final(), decode_bytes(), mjpeg_decode_app(), and transform().

#define be2me_64 (  )     bswap_64(x)

Definition at line 135 of file bswap.h.

Referenced by av_sha1_final(), ff_asfcrypt_dec(), and get_packetheader().

#define le2me_16 (  )     (x)

Definition at line 136 of file bswap.h.

Referenced by bmp_decode_frame(), decode_p_block(), iv_Decode_Chunk(), and sol_probe().

#define le2me_32 (  )     (x)

Definition at line 137 of file bswap.h.

Referenced by av_crc(), av_md5_final(), iv_Decode_Chunk(), and smacker_read_header().

#define le2me_64 (  )     (x)

Definition at line 138 of file bswap.h.

Referenced by av_md5_final(), and ff_asfcrypt_dec().

#define LEGACY_REGS   "=q"

Definition at line 39 of file bswap.h.

Referenced by bswap_16(), and bswap_32().


Function Documentation

static av_always_inline uint16_t bswap_16 ( uint16_t  x  )  [static]

static av_always_inline uint32_t bswap_32 ( uint32_t  x  )  [static]

static uint64_t bswap_64 ( uint64_t  x  )  [inline, static]

Definition at line 97 of file bswap.h.


Generated on Thu Apr 2 07:15:43 2009 for ffmpeg by  doxygen 1.5.6