#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 |
Definition at line 39 of file bytestream.h.
Definition at line 41 of file bytestream.h.
#define DEF_T | ( | type, | |||
name, | |||||
bytes, | |||||
read, | |||||
write | ) |
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_WL24 AV_WB32 AV_WB16 DEF_T | ( | unsigned | int, | |
byte | , | |||
1 | , | |||
AV_RB8 | , | |||
AV_WB8 | ||||
) | const |
AV_WL24 AV_WB32 DEF_T | ( | unsigned | int, | |
be24 | , | |||
3 | , | |||
AV_RB24 | , | |||
AV_WB24 | ||||
) |
AV_WL24 DEF_T | ( | unsigned | int, | |
le16 | , | |||
2 | , | |||
AV_RL16 | , | |||
AV_WL16 | ||||
) |
DEF_T | ( | unsigned | int, | |
le32 | , | |||
4 | , | |||
AV_RL32 | , | |||
AV_WL32 | ||||
) |
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.
AV_RL24 |
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(), bink_decode_plane(), bmp_decode_frame(), bmp_encode_frame(), cmp_direct_inline(), cmv_decode_inter(), cmv_decode_intra(), copy(), copy_backptr(), copy_frame_default(), decode(), decode_const_block_data(), decode_frame(), decode_i2_frame(), decode_i_frame(), decode_p_frame(), DEF(), doTest(), extract_even_SSE2(), ff_h264_decode_nal(), ff_ivi_inverse_slant_4x4(), ff_ivi_inverse_slant_8x8(), ff_ivi_process_empty_tile(), ff_mjpeg_decode_frame(), ff_snow_horizontal_compose97i_mmx(), ff_snow_horizontal_compose97i_sse2(), ff_snow_inner_add_yblock(), fill_buffer(), h264_handle_packet(), idct_put(), insert_mb_into_sb(), 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(), raw_decode(), read_dcs(), read_header(), read_ttag(), 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(), tm2_decode_blocks(), tmv_decode_frame(), 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().