libavutil/avutil.h File Reference

external API header More...

#include "common.h"
#include "error.h"
#include "mathematics.h"
#include "rational.h"
#include "intfloat_readwrite.h"
#include "log.h"
#include "pixfmt.h"

Go to the source code of this file.

Defines

#define AV_STRINGIFY(s)   AV_TOSTRING(s)
#define AV_TOSTRING(s)   #s
#define AV_GLUE(a, b)   a ## b
#define AV_JOIN(a, b)   AV_GLUE(a, b)
#define AV_PRAGMA(s)   _Pragma(#s)
#define AV_VERSION_INT(a, b, c)   (a<<16 | b<<8 | c)
#define AV_VERSION_DOT(a, b, c)   a ##.## b ##.## c
#define AV_VERSION(a, b, c)   AV_VERSION_DOT(a, b, c)
#define LIBAVUTIL_VERSION_MAJOR   50
#define LIBAVUTIL_VERSION_MINOR   43
#define LIBAVUTIL_VERSION_MICRO   0
#define LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_VERSION
#define LIBAVUTIL_BUILD   LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_IDENT   "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
#define FF_API_OLD_EVAL_NAMES   (LIBAVUTIL_VERSION_MAJOR < 52)
 Those FF_API_* defines are not part of public API.
#define FF_API_GET_BITS_PER_SAMPLE_FMT   (LIBAVUTIL_VERSION_MAJOR < 52)
#define FF_API_FIND_OPT   (LIBAVUTIL_VERSION_MAJOR < 52)
#define FF_LAMBDA_SHIFT   7
#define FF_LAMBDA_SCALE   (1<<FF_LAMBDA_SHIFT)
#define FF_QP2LAMBDA   118
 factor to convert from H.263 QP to lambda
#define FF_LAMBDA_MAX   (256*128-1)
#define FF_QUALITY_SCALE   FF_LAMBDA_SCALE
#define AV_NOPTS_VALUE   INT64_C(0x8000000000000000)
#define AV_TIME_BASE   1000000
#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}
#define FF_API_OLD_IMAGE_NAMES   (LIBAVUTIL_VERSION_MAJOR < 51)
 Those FF_API_* defines are not part of public API.

Enumerations

enum  AVMediaType {
  AVMEDIA_TYPE_UNKNOWN = -1, AVMEDIA_TYPE_VIDEO, AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_DATA,
  AVMEDIA_TYPE_SUBTITLE, AVMEDIA_TYPE_ATTACHMENT, AVMEDIA_TYPE_NB
}
enum  AVPictureType {
  AV_PICTURE_TYPE_NONE = 0, AV_PICTURE_TYPE_I, AV_PICTURE_TYPE_P, AV_PICTURE_TYPE_B,
  AV_PICTURE_TYPE_S, AV_PICTURE_TYPE_SI, AV_PICTURE_TYPE_SP, AV_PICTURE_TYPE_BI
}

Functions

unsigned avutil_version (void)
 Return the LIBAVUTIL_VERSION_INT constant.
const char * avutil_configuration (void)
 Return the libavutil build-time configuration.
const char * avutil_license (void)
 Return the libavutil license.
char av_get_picture_type_char (enum AVPictureType pict_type)
 Return a single letter to describe the given picture type pict_type.


Detailed Description

external API header

Definition in file avutil.h.


Define Documentation

#define AV_GLUE ( a,
 )     a ## b

Definition at line 33 of file avutil.h.

#define AV_JOIN ( a,
 )     AV_GLUE(a, b)

Definition at line 34 of file avutil.h.

#define AV_NOPTS_VALUE   INT64_C(0x8000000000000000)

Definition at line 103 of file avutil.h.

Referenced by add_pes_stream(), asf_read_frame_header(), asf_read_marker(), asf_read_pts(), asf_write_packet(), audio_decode_frame(), av_dump_format(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_gen_search(), av_has_duration(), av_init_packet(), av_interleaved_write_frame(), av_new_stream(), av_parser_parse(), av_read_frame(), av_read_frame_internal(), av_seek_frame_binary(), av_update_stream_timings(), avcodec_default_get_buffer(), avcodec_default_reget_buffer(), avcodec_get_context_defaults2(), avcodec_get_frame_defaults(), avcodec_get_subtitle_defaults(), avformat_find_stream_info(), avformat_open_input(), avformat_write_header(), avi_write_packet(), compute_chapters_end(), compute_pkt_fields(), compute_pkt_fields2(), copy_frame(), decode_frame(), decode_vop_header(), dirac_combine_frame(), do_audio_out(), do_subtitle_out(), do_video_out(), dvbsub_parse(), end_frame(), event_loop(), fbdev_read_header(), fbdev_read_packet(), ff_fetch_timestamp(), ff_gen_syncpoint_search(), ff_mov_write_packet(), ff_rate_estimate_qscale(), ff_read_frame_flush(), ff_rm_retrieve_cache(), ff_store_parser_state(), ff_write_chained(), fill_all_stream_timings(), finalize_packet(), flush_packet(), flv_read_packet(), get_pts(), get_vcd_padding_size(), get_video_frame(), guess_correct_pts(), gxf_header(), gxf_material_tags(), gxf_read_timestamp(), gxf_resync_media(), http_prepare_data(), load_input_picture(), matroska_parse_block(), matroska_read_header(), matroska_read_seek(), mkv_write_packet_internal(), mov_read_chpl(), mov_read_packet(), movie_get_frame(), movie_init(), mpeg_mux_write_packet(), mpegps_read_dts(), mpegps_read_pes_header(), mpegts_get_pcr(), mpegts_push_data(), mpegts_write_header(), mpegts_write_packet(), mpegts_write_pes(), MPV_encode_init(), mxf_parse_structural_metadata(), mxg_read_header(), new_pes_packet(), nut_read_timestamp(), ogg_calc_pts(), ogg_get_length(), ogg_gptopts(), ogg_read_timestamp(), ogg_reset(), ogm_chapter(), open_input_stream(), opt_input_file(), output_packet(), parse_chunks(), parse_timecode(), pkt_dump_internal(), pva_read_timestamp(), read_chapter(), read_header(), read_part_of_packet(), read_seek(), read_thread(), return_frame(), rm_assemble_video_frame(), rm_read_dts(), rm_read_packet(), rtcp_parse_packet(), rtp_check_and_send_back_rr(), rtp_parse_open(), rtsp_cmd_pause(), rtsp_parse_range_npt(), rtsp_read_play(), search_hi_lo_keyframes(), set_frame_distances(), speex_packet(), start_frame(), subtitle_thread(), sync(), time_value_string(), transcode(), ts_str(), ts_value_string(), update_initial_durations(), update_initial_timestamps(), video_thread(), write_audio_frame(), write_hint_packets(), write_packet(), and write_video_frame().

#define AV_PRAGMA (  )     _Pragma(#s)

Definition at line 36 of file avutil.h.

#define AV_STRINGIFY (  )     AV_TOSTRING(s)

#define AV_TIME_BASE   1000000

#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}

#define AV_TOSTRING (  )     #s

Definition at line 31 of file avutil.h.

#define AV_VERSION ( a,
b,
c   )     AV_VERSION_DOT(a, b, c)

Definition at line 40 of file avutil.h.

#define AV_VERSION_DOT ( a,
b,
c   )     a ##.## b ##.## c

Definition at line 39 of file avutil.h.

#define AV_VERSION_INT ( a,
b,
c   )     (a<<16 | b<<8 | c)

Definition at line 38 of file avutil.h.

#define FF_API_FIND_OPT   (LIBAVUTIL_VERSION_MAJOR < 52)

Definition at line 68 of file avutil.h.

#define FF_API_GET_BITS_PER_SAMPLE_FMT   (LIBAVUTIL_VERSION_MAJOR < 52)

Definition at line 65 of file avutil.h.

#define FF_API_OLD_EVAL_NAMES   (LIBAVUTIL_VERSION_MAJOR < 52)

Those FF_API_* defines are not part of public API.

They may change, break or disappear at any time.

Definition at line 61 of file avutil.h.

#define FF_API_OLD_IMAGE_NAMES   (LIBAVUTIL_VERSION_MAJOR < 51)

Those FF_API_* defines are not part of public API.

They may change, break or disappear at any time.

Definition at line 112 of file avutil.h.

#define FF_LAMBDA_MAX   (256*128-1)

Definition at line 99 of file avutil.h.

Referenced by get_qminmax(), and libspeex_encode_init().

#define FF_LAMBDA_SCALE   (1<<FF_LAMBDA_SHIFT)

Definition at line 97 of file avutil.h.

Referenced by ff_init_qscale_tab(), svq1_encode_plane(), and update_qscale().

#define FF_LAMBDA_SHIFT   7

#define FF_QP2LAMBDA   118

#define FF_QUALITY_SCALE   FF_LAMBDA_SCALE

Definition at line 101 of file avutil.h.

#define LIBAVUTIL_BUILD   LIBAVUTIL_VERSION_INT

Definition at line 52 of file avutil.h.

#define LIBAVUTIL_IDENT   "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)

Definition at line 54 of file avutil.h.

#define LIBAVUTIL_VERSION

#define LIBAVUTIL_VERSION_MAJOR   50

Definition at line 42 of file avutil.h.

#define LIBAVUTIL_VERSION_MICRO   0

Definition at line 44 of file avutil.h.

#define LIBAVUTIL_VERSION_MINOR   43

Definition at line 43 of file avutil.h.


Enumeration Type Documentation

Enumerator:
AVMEDIA_TYPE_UNKNOWN 
AVMEDIA_TYPE_VIDEO 
AVMEDIA_TYPE_AUDIO 
AVMEDIA_TYPE_DATA 
AVMEDIA_TYPE_SUBTITLE 
AVMEDIA_TYPE_ATTACHMENT 
AVMEDIA_TYPE_NB 

Definition at line 86 of file avutil.h.

Enumerator:
AV_PICTURE_TYPE_NONE  Undefined.
AV_PICTURE_TYPE_I  Intra.
AV_PICTURE_TYPE_P  Predicted.
AV_PICTURE_TYPE_B  Bi-dir predicted.
AV_PICTURE_TYPE_S  S(GMC)-VOP MPEG4.
AV_PICTURE_TYPE_SI  Switching Intra.
AV_PICTURE_TYPE_SP  Switching Predicted.
AV_PICTURE_TYPE_BI  BI type.

Definition at line 114 of file avutil.h.


Function Documentation

char av_get_picture_type_char ( enum AVPictureType  pict_type  ) 

Return a single letter to describe the given picture type pict_type.

Parameters:
[in] pict_type the picture type
Returns:
a single character representing the picture type, '?' if pict_type is unknown

Definition at line 43 of file utils.c.

Referenced by av_get_pict_type_char(), decode_slice_header(), do_video_stats(), end_frame(), ff_dlog_ref(), ff_flv_decode_picture_header(), ff_h263_show_pict_info(), ff_h264_decode_mb_cavlc(), ff_print_debug_info(), ff_rate_estimate_qscale(), queue_picture(), select_frame(), and svq3_decode_frame().

const char* avutil_configuration ( void   ) 

Return the libavutil build-time configuration.

Definition at line 32 of file utils.c.

const char* avutil_license ( void   ) 

Return the libavutil license.

Definition at line 37 of file utils.c.

unsigned avutil_version ( void   ) 

Return the LIBAVUTIL_VERSION_INT constant.

Definition at line 27 of file utils.c.


Generated on Fri Oct 26 02:38:21 2012 for FFmpeg by  doxygen 1.5.8