#include "avcodec.h"
#include "opt.h"
#include <float.h>
Go to the source code of this file.
Defines | |
#define | OFFSET(x) offsetof(AVCodecContext,x) |
#define | DEFAULT 0 |
#define | V AV_OPT_FLAG_VIDEO_PARAM |
#define | A AV_OPT_FLAG_AUDIO_PARAM |
#define | S AV_OPT_FLAG_SUBTITLE_PARAM |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
#define | D AV_OPT_FLAG_DECODING_PARAM |
#define | AV_CODEC_DEFAULT_BITRATE 200*1000 |
Functions | |
static const char * | context_to_name (void *ptr) |
void | avcodec_get_context_defaults2 (AVCodecContext *s, enum CodecType codec_type) |
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API! we WILL change its arguments and name a few times! | |
AVCodecContext * | avcodec_alloc_context2 (enum CodecType codec_type) |
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API! we WILL change its arguments and name a few times! | |
void | avcodec_get_context_defaults (AVCodecContext *s) |
Sets the fields of the given AVCodecContext to default values. | |
AVCodecContext * | avcodec_alloc_context (void) |
Allocates an AVCodecContext and sets its fields to default values. | |
Variables | |
static const AVOption | options [] |
static const AVClass | av_codec_context_class = { "AVCodecContext", context_to_name, options } |
Definition in file options.c.
#define A AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 44 of file options.c.
Referenced by av_random_generate_untempered_numbers(), find_and_decode_index(), gmc1_c(), h263_pred_motion(), horizX1Filter(), idct(), initFilter(), pred_16x8_motion(), pred_8x16_motion(), pred_motion(), predictor_decode_mono(), put_no_rnd_h264_chroma_mc8_c(), rv30_decode_intra_types(), rv34_pred_mv(), rv34_pred_mv_b(), rv34_pred_mv_rv3(), rv40_decode_intra_types(), vc1_pred_b_mv(), vc1_pred_mv(), wmv2_pred_motion(), wv_unpack_mono(), and wv_unpack_stereo().
#define D AV_OPT_FLAG_DECODING_PARAM |
Definition at line 47 of file options.c.
Referenced by gmc1_c(), horizX1Filter(), idct(), and put_no_rnd_h264_chroma_mc8_c().
#define OFFSET | ( | x | ) | offsetof(AVCodecContext,x) |
#define S AV_OPT_FLAG_SUBTITLE_PARAM |
Definition at line 45 of file options.c.
Referenced by dering_altivec(), fdct_row_mmx(), fdct_row_mmx2(), and wv_unpack_mono().
#define V AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 43 of file options.c.
Referenced by altivec_uyvy_rgb32(), altivec_yuv2packedX(), decode_frame(), nsv_parse_NSVf_header(), pred16x16_plane_compat_c(), pred8x8_plane_c(), rgb24toyv12_TMPL(), rv34_mc(), rv34_output_macroblock(), tm2_decode_blocks(), tm2_hi_res_block(), tm2_low_res_block(), tm2_med_res_block(), tm2_motion_block(), tm2_null_res_block(), tm2_still_block(), tm2_update_block(), and vp6_adjust().
AVCodecContext* avcodec_alloc_context | ( | void | ) |
Allocates an AVCodecContext and sets its fields to default values.
The resulting struct can be deallocated by simply calling av_free().
Definition at line 453 of file options.c.
Referenced by add_av_stream1(), add_codec(), audio_decode_example(), audio_encode_example(), av_new_stream(), estimate_best_b_count(), main(), read_ffserver_streams(), rtp_new_av_stream(), video_decode_example(), and video_encode_example().
AVCodecContext* avcodec_alloc_context2 | ( | enum CodecType | codec_type | ) |
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API! we WILL change its arguments and name a few times!
Definition at line 439 of file options.c.
Referenced by avcodec_alloc_context(), and main().
void avcodec_get_context_defaults | ( | AVCodecContext * | s | ) |
Sets the fields of the given AVCodecContext to default values.
s | The AVCodecContext of which the fields should be set to default values. |
Definition at line 449 of file options.c.
Referenced by parse_ffconfig().
void avcodec_get_context_defaults2 | ( | AVCodecContext * | s, | |
enum CodecType | codec_type | |||
) |
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API! we WILL change its arguments and name a few times!
Definition at line 411 of file options.c.
Referenced by avcodec_alloc_context2(), avcodec_get_context_defaults(), new_audio_stream(), new_subtitle_stream(), and new_video_stream().
const AVClass av_codec_context_class = { "AVCodecContext", context_to_name, options } [static] |