libavcodec/bytestream.h File Reference

#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

 DEF_T (unsigned int, le32, 4, AV_RL32, AV_WL32) DEF_T(unsigned int
AV_WL24 DEF_T (unsigned int, le16, 2, AV_RL16, AV_WL16) DEF_T(unsigned int
AV_WL24 AV_WB32 DEF_T (unsigned int, be24, 3, AV_RB24, AV_WB24) DEF_T(unsigned int
AV_WL24 AV_WB32 AV_WB16 DEF_T (unsigned int, byte, 1, AV_RB8, AV_WB8) static av_always_inline unsigned int bytestream_get_buffer(const uint8_t **b

Variables

 le24
 AV_RL24
AV_WL24 be32
AV_WL24 AV_RB32
AV_WL24 AV_WB32 be16
AV_WL24 AV_WB32 AV_RB16
AV_WL24 AV_WB32 AV_WB16 uint8_t * dst

Define Documentation

#define DEF ( name,
bytes,
read,
write   )     DEF_T(unsigned int, name, bytes, read, write)

Definition at line 39 of file bytestream.h.

#define DEF64 ( name,
bytes,
read,
write   )     DEF_T(uint64_t, name, bytes, read, write)

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.


Function Documentation

AV_WL24 AV_WB32 AV_WB16 DEF_T ( unsigned  int,
byte  ,
,
AV_RB8  ,
AV_WB8   
) const
Type Constraints
AV_WL24 AV_WB32 DEF_T ( unsigned  int,
be24  ,
,
AV_RB24  ,
AV_WB24   
)
Type Constraints
AV_WL24 DEF_T ( unsigned  int,
le16  ,
,
AV_RL16  ,
AV_WL16   
)
Type Constraints
DEF_T ( unsigned  int,
le32  ,
,
AV_RL32  ,
AV_WL32   
)

Variable Documentation

AV_WL24 AV_WB32 AV_RB16

Definition at line 51 of file bytestream.h.

AV_WL24 AV_RB32

Definition at line 49 of file bytestream.h.

Definition at line 46 of file bytestream.h.

AV_WL24 AV_WB32 be16

Definition at line 51 of file bytestream.h.

Referenced by pcm_decode_frame(), and pcm_encode_frame().

AV_WL24 be32

Definition at line 49 of file bytestream.h.

Referenced by pcm_decode_frame(), and pcm_encode_frame().

AV_WL24 AV_WB32 AV_WB16 uint8_t* dst

Definition at line 58 of file bytestream.h.

Referenced by add_frame_default(), adx_encode_frame(), av_base64_decode(), av_base64_encode(), av_get_number(), av_get_string(), av_set_number2(), av_set_string3(), avfilter_draw_slice(), avfilter_start_frame(), avg_pixels16_l2(), avg_pixels4_l2(), avg_pixels8_l2(), bethsoftvid_decode_frame(), bfi_decode_frame(), bmp_decode_frame(), cmp(), cmv_decode_inter(), cmv_decode_intra(), copy(), copy_backptr(), copy_frame_default(), decode(), decode_frame(), decode_i2_frame(), decode_i_frame(), decode_p_frame(), DEF(), doTest(), ff_h264_decode_nal(), ff_mjpeg_decode_frame(), ff_snow_horizontal_compose97i_altivec(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_inner_add_yblock(), fill_buffer(), get_4block_rd(), get_block_rd(), get_dc(), glue(), h264_handle_packet(), id3v2_read_ttag(), idct_put(), inner_add_yblock_a_bw_16_obmc_32_altivec(), inner_add_yblock_a_bw_8_obmc_16_altivec(), inner_add_yblock_bw_16_obmc_32_altivec(), inner_add_yblock_bw_8_obmc_16_altivec(), insert_mb_into_sb(), iterative_me(), load_input_picture(), main(), metadata_conv(), mv_pred_sym(), parse_h264_sdp_line(), pcm_encode_frame(), planar2x_SSE2(), PlanarToNV12Wrapper(), PlanarToUyvyWrapper(), PlanarToYuy2Wrapper(), put_no_rnd_pixels16_l2(), put_no_rnd_pixels8_l2(), put_pixels16_l2(), put_pixels4_l2(), put_pixels8_l2(), read_header(), reorder_block(), rgb15to16_SSE2(), rgb15to32_SSE2(), rgb15tobgr24_SSE2(), rgb16to15_SSE2(), rgb16to32_SSE2(), rgb16tobgr24_SSE2(), rgb24to15_SSE2(), rgb24to16_SSE2(), rgb24tobgr15_SSE2(), rgb24tobgr16_SSE2(), rgb24tobgr24_SSE2(), rgb24tobgr32_SSE2(), rgb32to15_SSE2(), rgb32to16_SSE2(), rgb32tobgr15_SSE2(), rgb32tobgr16_SSE2(), rgb32tobgr24_SSE2(), rgb32tobgr32_SSE2(), sdp_parse_fmtp_config_h264(), seqvideo_decode(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_motion_inter_4v_block(), svq1_motion_inter_block(), svq1_skip_block(), vc1_inv_trans_4x4_c(), vc1_inv_trans_4x8_c(), vc1_inv_trans_8x4_c(), vc1_inv_trans_8x8_c(), vp56_mc(), wavpack_decode_frame(), yuv2yuv1_SSE2(), yuv422ptouyvy_SSE2(), YUV422PToUyvyWrapper(), yuv422ptoyuy2_SSE2(), YUV422PToYuy2Wrapper(), yuvPlanartouyvy_SSE2(), yuvPlanartoyuy2_SSE2(), yv12touyvy_SSE2(), yv12touyvy_unscaled_altivec(), yv12toyuy2_SSE2(), yv12toyuy2_unscaled_altivec(), and yvu9_to_yuy2_SSE2().

Definition at line 46 of file bytestream.h.

Referenced by pcm_decode_frame(), and pcm_encode_frame().

Generated on Tue Dec 18 18:04:22 2012 for ffmpeg by  doxygen 1.6.3