#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
Go to the source code of this file.
Defines | |
#define | DEF_T(type, name, bytes, read, write) |
#define | DEF(name, bytes, read, write) DEF_T(unsigned int, name, bytes, read, write) |
#define | DEF64(name, bytes, read, write) DEF_T(uint64_t, name, bytes, read, write) |
Functions | |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL AV_WB16_TMPL static AV_WB8_TMPL av_always_inline unsigned int | bytestream_get_buffer (const uint8_t **b, uint8_t *dst, unsigned int size) |
static av_always_inline void | bytestream_put_buffer (uint8_t **b, const uint8_t *src, unsigned int size) |
Variables | |
le32 | |
AV_RL32 | |
AV_WL32_TMPL | le24 |
AV_WL32_TMPL | AV_RL24 |
AV_WL32_TMPL AV_WL24_TMPL | le16 |
AV_WL32_TMPL AV_WL24_TMPL | AV_RL16 |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL | be32 |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL | AV_RB32 |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL | be24 |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL | AV_RB24 |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL | be16 |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL | AV_RB16 |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL AV_WB16_TMPL | byte |
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL AV_WB16_TMPL | AV_RB8 |
Definition at line 39 of file bytestream.h.
Definition at line 41 of file bytestream.h.
#define DEF_T | ( | type, | |||
name, | |||||
bytes, | |||||
read, | |||||
write | ) |
Value:
static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\ (*b) += bytes;\ return read(*b - bytes);\ }\ static av_always_inline void bytestream_put_ ##name(uint8_t **b, const type value){\ write(*b, value);\ (*b) += bytes;\ }
Definition at line 29 of file bytestream.h.
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL AV_WB16_TMPL static AV_WB8_TMPL av_always_inline unsigned int bytestream_get_buffer | ( | const uint8_t ** | b, | |
uint8_t * | dst, | |||
unsigned int | size | |||
) | [static] |
Definition at line 58 of file bytestream.h.
Referenced by bethsoftvid_decode_frame(), bfi_decode_frame(), decode_frame(), gif_read_header1(), gif_read_image(), and ogm_header().
static av_always_inline void bytestream_put_buffer | ( | uint8_t ** | b, | |
const uint8_t * | src, | |||
unsigned int | size | |||
) | [static] |
Definition at line 65 of file bytestream.h.
Referenced by gif_image_write_header(), gif_image_write_image(), imx_dump_header(), mjpega_dump_header(), ogg_build_flac_headers(), qtrle_encode_line(), write_codebooks(), and write_typecode().
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL AV_RB16 |
Definition at line 45 of file bytestream.h.
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_RB24 |
Definition at line 45 of file bytestream.h.
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_RB32 |
Definition at line 45 of file bytestream.h.
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL AV_WB16_TMPL AV_RB8 |
Definition at line 45 of file bytestream.h.
AV_WL32_TMPL AV_WL24_TMPL AV_RL16 |
Definition at line 45 of file bytestream.h.
AV_WL32_TMPL AV_RL24 |
Definition at line 45 of file bytestream.h.
Definition at line 45 of file bytestream.h.
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL be16 |
Definition at line 45 of file bytestream.h.
Referenced by pcm_decode_frame(), and pcm_encode_frame().
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL be24 |
Definition at line 45 of file bytestream.h.
Referenced by pcm_decode_frame(), and pcm_encode_frame().
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL be32 |
Definition at line 45 of file bytestream.h.
Referenced by pcm_decode_frame(), and pcm_encode_frame().
AV_WL32_TMPL AV_WL24_TMPL AV_WL16_TMPL AV_WB32_TMPL AV_WB24_TMPL AV_WB16_TMPL byte |
Definition at line 45 of file bytestream.h.
Referenced by bfi_decode_frame(), dpcm_decode_frame(), process_audio_header_elements(), read_arbitary(), and xan_huffman_decode().
AV_WL32_TMPL AV_WL24_TMPL le16 |
Definition at line 45 of file bytestream.h.
Referenced by pcm_decode_frame(), and pcm_encode_frame().
AV_WL32_TMPL le24 |
Definition at line 45 of file bytestream.h.
Referenced by pcm_decode_frame(), and pcm_encode_frame().
Definition at line 45 of file bytestream.h.
Referenced by pcm_decode_frame(), and pcm_encode_frame().