libavutil/bswap.h File Reference

byte swapping routines More...

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

Go to the source code of this file.

Defines

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


Detailed Description

byte swapping routines

Definition in file bswap.h.


Define Documentation

#define be2me_16 (  )     bswap_16(x)

Definition at line 91 of file bswap.h.

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

#define be2me_32 (  )     bswap_32(x)

Definition at line 92 of file bswap.h.

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

#define be2me_64 (  )     bswap_64(x)

Definition at line 93 of file bswap.h.

Referenced by aac_sync(), ac3_sync(), av_des_crypt(), av_sha1_final(), and get_packetheader().

#define le2me_16 (  )     (x)

Definition at line 94 of file bswap.h.

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

#define le2me_32 (  )     (x)

Definition at line 95 of file bswap.h.

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

#define le2me_64 (  )     (x)

Definition at line 96 of file bswap.h.

Referenced by av_md5_final(), and ff_asfcrypt_dec().


Function Documentation

static av_always_inline av_const uint16_t bswap_16 ( uint16_t  x  )  [static]

Definition at line 44 of file bswap.h.

static av_always_inline av_const uint32_t bswap_32 ( uint32_t  x  )  [static]

Definition at line 52 of file bswap.h.

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

Definition at line 61 of file bswap.h.


Generated on Fri Oct 26 02:35:46 2012 for FFmpeg by  doxygen 1.5.8