libavformat/metadata_compat.c File Reference

#include <strings.h>
#include "avformat.h"
#include "metadata.h"
#include "libavutil/avstring.h"

Go to the source code of this file.

Defines

#define SIZE_OFFSET(x)   sizeof(((AVFormatContext*)0)->x),offsetof(AVFormatContext,x)
#define FILL_METADATA(s, key, value)
#define FILL_METADATA_STR(s, key)   FILL_METADATA(s, key, s->key)
#define FILL_METADATA_INT(s, key)

Functions

void ff_metadata_demux_compat (AVFormatContext *ctx)
void ff_metadata_mux_compat (AVFormatContext *ctx)

Variables

struct {
   const char   name [16]
   int   size
   int   offset
compat_tab []


Define Documentation

#define FILL_METADATA ( s,
key,
value   ) 

Value:

{                                        \
    if (value && *value && !av_metadata_get(s->metadata, #key, NULL, 0))      \
        av_metadata_set(&s->metadata, #key, value);                           \
    }

Definition at line 107 of file metadata_compat.c.

#define FILL_METADATA_INT ( s,
key   ) 

Value:

{                                           \
    char number[10];                                                          \
    snprintf(number, sizeof(number), "%d", s->key);                           \
    if(s->key)  FILL_METADATA(s, key, number) }

Definition at line 112 of file metadata_compat.c.

Referenced by ff_metadata_mux_compat().

#define FILL_METADATA_STR ( s,
key   )     FILL_METADATA(s, key, s->key)

Definition at line 111 of file metadata_compat.c.

Referenced by ff_metadata_mux_compat().

#define SIZE_OFFSET (  )     sizeof(((AVFormatContext*)0)->x),offsetof(AVFormatContext,x)

Definition at line 28 of file metadata_compat.c.


Function Documentation

void ff_metadata_demux_compat ( AVFormatContext ctx  ) 

Definition at line 56 of file metadata_compat.c.

Referenced by av_open_input_stream().

void ff_metadata_mux_compat ( AVFormatContext ctx  ) 

Definition at line 117 of file metadata_compat.c.

Referenced by av_write_header().


Variable Documentation

struct { ... } compat_tab[] [static]

const char name[16]

Definition at line 31 of file metadata_compat.c.

int offset

Definition at line 33 of file metadata_compat.c.

Referenced by adpcm_decode_frame(), adx_decode_header(), adx_encode_header(), aiff_read_header(), alloc_and_copy(), altivec_packIntArrayToCharArray(), apply_window_and_mdct(), av_estimate_timings_from_pts(), backup_mb_border(), bfi_decode_frame(), bitplane_decoding(), chroma_4mv_motion(), chroma_4mv_motion_lowres(), cin_decode_lzss(), compute_pkt_fields(), decode_blockcode(), decode_bytes_and_gain(), decode_frame(), decode_init(), decode_init_vlc(), decode_scalefactors(), denoise_dct_mmx(), denoise_dct_sse2(), dnxhd_encode_picture(), dnxhd_init_vlc(), dnxhd_setup_threads_slices(), do_a_deblock_TMPL(), dv_frame_offset(), dv_read_seek(), encode_block(), encode_frame(), encode_init(), ff_asf_parse_packet(), ff_draw_horiz_band(), ff_mpa_synth_filter(), ff_mspel_motion(), ff_rv34_decode_frame(), filter(), fixup_vorbis_headers(), flv_read_header(), get_intra_count(), gmc1_motion(), h263_mv4_search(), h264_luma_dc_dequant_idct_c(), h_block_filter(), init_ref(), matroska_execute_seekhead(), matroska_parse_block(), matroska_read_header(), motion_search(), mov_probe(), mov_read_trun(), mp_read_changes_map(), oggvorbis_encode_init(), postProcess_TMPL(), ptx_decode_frame(), qdm2_fft_decode_tones(), qdm2_fft_tone_synthesizer(), read_braindead_odml_indx(), read_uncompressed_sgi(), rpl_read_header(), rv10_decode_frame(), seq_decode_op3(), slice_buffer_load_line(), slice_buffer_release(), svq1_encode_plane(), svq3_decode_init(), svq3_luma_dc_dequant_idct_c(), tgv_decode_inter(), unpack(), v_block_filter(), vorbis_floor1_decode(), vp56_get_vectors_predictors(), x11grab_read_header(), xan_unpack(), xchg_mb_border(), and yuv2yuvX_altivec_real().

int size

Definition at line 32 of file metadata_compat.c.

Referenced by aac_sync(), adpcm_decode_frame(), adx_encode_header(), aiff_read_header(), alloc_picture(), amr_read_packet(), ape_tag_read_field(), apply_tns(), asf_read_header(), au_read_header(), audio_decode_example(), audio_read_packet(), audio_write_packet(), av_encode(), av_fifo_size(), av_parser_change(), avcodec_default_get_buffer(), avi_write_packet(), avpicture_alloc(), avpicture_layout(), avs_read_audio_packet(), avs_read_packet(), Configure(), daud_packet(), dca_subsubframe(), decode_frame(), decode_frame_header(), dump_extradata(), dv1394_read_packet(), dv_extract_audio(), dv_extract_video_info(), dv_frame_offset(), dv_get_packet(), dv_inject_audio(), dv_produce_packet(), dv_read_packet(), dv_work_pool_size(), dvvideo_init(), dxa_read_header(), dxa_read_packet(), encode_block(), encode_init(), encode_picture_ls(), escape_FF(), extract_mpeg4_header(), ff_aac_parse_header(), ff_er_frame_end(), ff_fill_pointer(), ff_h264_decode_sei(), ff_iir_filter_init_coeffs(), ff_interleave_new_audio_packet(), ff_isom_write_avcc(), ff_metadata_demux_compat(), ff_mjpeg_decode_sof(), ff_rm_read_mdpr_codecdata(), ff_rv34_decode_frame(), ffm_read_packet(), ffm_write_trailer(), find_tag(), flashsv_decode_frame(), flic_read_packet(), flush_packet(), flv_read_packet(), flv_write_packet(), fourxm_read_header(), fourxm_read_packet(), get_codec_data(), get_packetheader(), get_tag(), gxf_write_mpeg_auxiliary(), h263_mv4_search(), http_send_data(), img_read_packet(), interlaced_search(), jpeg_put_comments(), jpeg_table_header(), klv_decode_ber_length(), klv_encode_ber_length(), matroska_probe(), mkv_blockgroup_size(), mkv_write_ass_blocks(), mkv_write_block(), mov_read_dref(), mov_read_extradata(), mov_read_stsd(), mov_write_meta_tag(), mov_write_packet(), mov_write_string_tag(), mov_write_trkn_tag(), mov_write_udta_tag(), mp3_read_packet(), mpc8_parse_seektable(), mpc8_read_header(), mpc8_read_packet(), mpc_read_packet(), mpeg_mux_write_packet(), mpegps_read_pes_header(), mpegts_probe(), mpegts_write_packet(), msnwc_tcp_read_packet(), mxf_decrypt_triplet(), mxf_read_local_tags(), mxf_write_local_tag_utf16(), nc_probe(), nc_read_packet(), nuv_packet(), ogg_get_length(), ogg_new_buf(), ogg_read_page(), ogg_write_packet(), parse_adts_frame_header(), pre_process_video_frame(), Process(), Process0(), Process1(), process_ea_header(), put_system_header(), qdm2_decode_init(), r3d_read_reda(), rdt_load_mdpr(), read_arbitary(), rtp_write_packet(), rv10_decode_frame(), rv10_write_header(), sdp_read_header(), siff_read_packet(), smacker_read_packet(), sol_read_header(), svq3_decode_init(), sws_scale(), thp_read_packet(), tm2_read_header(), tta_read_header(), tta_read_packet(), unpack(), update_sample_display(), updatePacketSize(), url_filesize(), url_fsize(), vb_decode_palette(), vc1_decode_frame(), vc1_decode_init(), video_decode_example(), video_encode_example(), vmd_read_header(), voc_get_packet(), vqa_decode_chunk(), wav_read_header(), wav_read_packet(), wavpack_decode_frame(), wc3_read_header(), wc3_read_packet(), wv_read_block_header(), xan_unpack(), and xan_wc3_decode_frame().


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