hvirtual/quicktime/ffmpeg/ffmpeg.c File Reference

#include <limits.h>
#include "avformat.h"
#include "framehook.h"
#include "dsputil.h"
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <termios.h>
#include <sys/resource.h>
#include <signal.h>
#include <time.h>
#include "cmdutils.h"
#include <assert.h>

Include dependency graph for ffmpeg.c:

Go to the source code of this file.

Data Structures

struct  AVStreamMap
struct  AVMetaDataMap
struct  AVOutputStream
struct  AVInputStream
struct  AVInputFile

Defines

#define HAVE_AV_CONFIG_H
#define MAX_FILES   20
#define DEFAULT_PASS_LOGFILENAME   "ffmpeg2pass"
#define MAX_AUDIO_PACKET_SIZE   (128 * 1024)
#define AV_DELAY_MAX   0.100
#define SCALEBITS   10
#define ONE_HALF   (1 << (SCALEBITS - 1))
#define FIX(x)   ((int) ((x) * (1<<SCALEBITS) + 0.5))
#define RGB_TO_Y(r, g, b)
#define RGB_TO_U(r1, g1, b1, shift)
#define RGB_TO_V(r1, g1, b1, shift)

Functions

static void show_help (void)
static void show_license (void)
static void term_exit (void)
static void sigterm_handler (int sig)
static void term_init (void)
static int read_key (void)
static int decode_interrupt_cb (void)
static int read_ffserver_streams (AVFormatContext *s, const char *filename)
static double get_sync_ipts (const AVOutputStream *ost)
static void do_audio_out (AVFormatContext *s, AVOutputStream *ost, AVInputStream *ist, unsigned char *buf, int size)
static void pre_process_video_frame (AVInputStream *ist, AVPicture *picture, void **bufp)
static void fill_pad_region (AVPicture *img, int height, int width, int padtop, int padbottom, int padleft, int padright, int *color)
static void do_subtitle_out (AVFormatContext *s, AVOutputStream *ost, AVInputStream *ist, AVSubtitle *sub, int64_t pts)
static void do_video_out (AVFormatContext *s, AVOutputStream *ost, AVInputStream *ist, AVFrame *in_picture, int *frame_size)
static double psnr (double d)
static void do_video_stats (AVFormatContext *os, AVOutputStream *ost, int frame_size)
static void print_report (AVFormatContext **output_files, AVOutputStream **ost_table, int nb_ostreams, int is_last_report)
static int output_packet (AVInputStream *ist, int ist_index, AVOutputStream **ost_table, int nb_ostreams, const AVPacket *pkt)
static int av_encode (AVFormatContext **output_files, int nb_output_files, AVFormatContext **input_files, int nb_input_files, AVStreamMap *stream_maps, int nb_stream_maps)
static void opt_image_format (const char *arg)
static void opt_format (const char *arg)
static void opt_video_bitrate (const char *arg)
static void opt_video_bitrate_tolerance (const char *arg)
static void opt_video_bitrate_max (const char *arg)
static void opt_video_bitrate_min (const char *arg)
static void opt_video_buffer_size (const char *arg)
static void opt_video_rc_eq (char *arg)
static void opt_video_rc_override_string (char *arg)
static void opt_workaround_bugs (const char *arg)
static void opt_dct_algo (const char *arg)
static void opt_idct_algo (const char *arg)
static void opt_me_threshold (const char *arg)
static void opt_mb_threshold (const char *arg)
static void opt_error_resilience (const char *arg)
static void opt_error_concealment (const char *arg)
static void opt_debug (const char *arg)
static void opt_vismv (const char *arg)
static void opt_verbose (const char *arg)
static void opt_frame_rate (const char *arg)
static void opt_frame_crop_top (const char *arg)
static void opt_frame_crop_bottom (const char *arg)
static void opt_frame_crop_left (const char *arg)
static void opt_frame_crop_right (const char *arg)
static void opt_frame_size (const char *arg)
static void opt_pad_color (const char *arg)
static void opt_frame_pad_top (const char *arg)
static void opt_frame_pad_bottom (const char *arg)
static void opt_frame_pad_left (const char *arg)
static void opt_frame_pad_right (const char *arg)
static void opt_frame_pix_fmt (const char *arg)
static void opt_frame_aspect_ratio (const char *arg)
static void opt_gop_size (const char *arg)
static void opt_b_frames (const char *arg)
static void opt_mb_decision (const char *arg)
static void opt_mb_cmp (const char *arg)
static void opt_ildct_cmp (const char *arg)
static void opt_sub_cmp (const char *arg)
static void opt_cmp (const char *arg)
static void opt_pre_cmp (const char *arg)
static void opt_pre_me (const char *arg)
static void opt_lumi_mask (const char *arg)
static void opt_dark_mask (const char *arg)
static void opt_scplx_mask (const char *arg)
static void opt_tcplx_mask (const char *arg)
static void opt_p_mask (const char *arg)
static void opt_qscale (const char *arg)
static void opt_qsquish (const char *arg)
static void opt_lelim (const char *arg)
static void opt_celim (const char *arg)
static void opt_lmax (const char *arg)
static void opt_lmin (const char *arg)
static void opt_qmin (const char *arg)
static void opt_qmax (const char *arg)
static void opt_mb_lmin (const char *arg)
static void opt_mb_lmax (const char *arg)
static void opt_qdiff (const char *arg)
static void opt_qblur (const char *arg)
static void opt_qcomp (const char *arg)
static void opt_rc_initial_cplx (const char *arg)
static void opt_b_qfactor (const char *arg)
static void opt_i_qfactor (const char *arg)
static void opt_b_qoffset (const char *arg)
static void opt_i_qoffset (const char *arg)
static void opt_ibias (const char *arg)
static void opt_pbias (const char *arg)
static void opt_packet_size (const char *arg)
static void opt_error_rate (const char *arg)
static void opt_strict (const char *arg)
static void opt_top_field_first (const char *arg)
static void opt_noise_reduction (const char *arg)
static void opt_qns (const char *arg)
static void opt_sc_threshold (const char *arg)
static void opt_me_range (const char *arg)
static void opt_thread_count (const char *arg)
static void opt_audio_bitrate (const char *arg)
static void opt_audio_rate (const char *arg)
static void opt_audio_channels (const char *arg)
static void opt_video_device (const char *arg)
static void opt_grab_device (const char *arg)
static void opt_video_channel (const char *arg)
static void opt_video_standard (const char *arg)
static void opt_audio_device (const char *arg)
static void opt_codec (int *pstream_copy, int *pcodec_id, int codec_type, const char *arg)
static void opt_audio_codec (const char *arg)
static void opt_audio_tag (const char *arg)
static void opt_video_tag (const char *arg)
static void add_frame_hooker (const char *arg)
static void opt_motion_estimation (const char *arg)
static void opt_video_codec (const char *arg)
static void opt_subtitle_codec (const char *arg)
static void opt_map (const char *arg)
static void opt_map_meta_data (const char *arg)
static void opt_recording_time (const char *arg)
static void opt_start_time (const char *arg)
static void opt_rec_timestamp (const char *arg)
static void opt_input_ts_offset (const char *arg)
static void opt_input_file (const char *filename)
static void opt_grab (const char *arg)
static void check_audio_video_inputs (int *has_video_ptr, int *has_audio_ptr)
static void new_video_stream (AVFormatContext *oc)
static void new_audio_stream (AVFormatContext *oc)
static void opt_new_subtitle_stream (void)
static void opt_new_audio_stream (void)
static void opt_new_video_stream (void)
static void opt_output_file (const char *filename)
static void prepare_grab (void)
static void opt_pass (const char *pass_str)
static int64_t getutime (void)
static void opt_bitexact (void)
static void show_formats (void)
void parse_matrix_coeffs (uint16_t *dest, const char *str)
void opt_inter_matrix (const char *arg)
void opt_intra_matrix (const char *arg)
static void opt_target (const char *arg)
static void show_version (void)
static void show_banner (void)
void parse_arg_file (const char *filename)
int main (int argc, char **argv)

Variables

const OptionDef options []
static AVFormatContext * input_files [MAX_FILES]
static int64_t input_files_ts_offset [MAX_FILES]
static int nb_input_files = 0
static AVFormatContext * output_files [MAX_FILES]
static int nb_output_files = 0
static AVStreamMap stream_maps [MAX_FILES]
static int nb_stream_maps
static AVMetaDataMap meta_data_maps [MAX_FILES]
static int nb_meta_data_maps
static AVInputFormat * file_iformat
static AVOutputFormat * file_oformat
static AVImageFormat * image_format
static int frame_width = 0
static int frame_height = 0
static float frame_aspect_ratio = 0
static enum PixelFormat frame_pix_fmt = PIX_FMT_NONE
static int frame_padtop = 0
static int frame_padbottom = 0
static int frame_padleft = 0
static int frame_padright = 0
static int padcolor [3] = {16,128,128}
static int frame_topBand = 0
static int frame_bottomBand = 0
static int frame_leftBand = 0
static int frame_rightBand = 0
static int max_frames [4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX}
static int frame_rate = 25
static int frame_rate_base = 1
static int video_bit_rate = 200*1000
static int video_bit_rate_tolerance = 4000*1000
static float video_qscale = 0
static int video_qmin = 2
static int video_qmax = 31
static int video_lmin = 2*FF_QP2LAMBDA
static int video_lmax = 31*FF_QP2LAMBDA
static int video_mb_lmin = 2*FF_QP2LAMBDA
static int video_mb_lmax = 31*FF_QP2LAMBDA
static int video_qdiff = 3
static int video_lelim = 0
static int video_celim = 0
static float video_qblur = 0.5
static float video_qsquish = 0.0
static float video_qcomp = 0.5
static uint16_t * intra_matrix = NULL
static uint16_t * inter_matrix = NULL
static char * video_rc_override_string = NULL
static char * video_rc_eq = "tex^qComp"
static int video_rc_buffer_size = 0
static float video_rc_buffer_aggressivity = 1.0
static int video_rc_max_rate = 0
static int video_rc_min_rate = 0
static float video_rc_initial_cplx = 0
static float video_b_qfactor = 1.25
static float video_b_qoffset = 1.25
static float video_i_qfactor = -0.8
static float video_i_qoffset = 0.0
static int video_intra_quant_bias = FF_DEFAULT_QUANT_BIAS
static int video_inter_quant_bias = FF_DEFAULT_QUANT_BIAS
static int me_method = ME_EPZS
static int video_disable = 0
static int video_discard = 0
static int video_codec_id = CODEC_ID_NONE
static int video_codec_tag = 0
static int same_quality = 0
static int b_frames = 0
static int b_strategy = 0
static int mb_decision = FF_MB_DECISION_SIMPLE
static int ildct_cmp = FF_CMP_VSAD
static int mb_cmp = FF_CMP_SAD
static int sub_cmp = FF_CMP_SAD
static int cmp = FF_CMP_SAD
static int pre_cmp = FF_CMP_SAD
static int pre_me = 0
static float lumi_mask = 0
static float dark_mask = 0
static float scplx_mask = 0
static float tcplx_mask = 0
static float p_mask = 0
static int use_4mv = 0
static int use_obmc = 0
static int use_loop = 0
static int use_aic = 0
static int use_aiv = 0
static int use_umv = 0
static int use_ss = 0
static int use_alt_scan = 0
static int use_trell = 0
static int use_scan_offset = 0
static int use_qpel = 0
static int use_qprd = 0
static int use_cbprd = 0
static int use_mv0 = 0
static int do_normalize_aqp = 0
static int qns = 0
static int closed_gop = 0
static int strict_gop = 0
static int no_output = 0
static int do_deinterlace = 0
static int do_interlace_dct = 0
static int do_interlace_me = 0
static int workaround_bugs = FF_BUG_AUTODETECT
static int error_resilience = FF_ER_CAREFUL
static int error_concealment = 3
static int dct_algo = 0
static int idct_algo = 0
static int use_part = 0
static int packet_size = 0
static int error_rate = 0
static int strict = 0
static int top_field_first = -1
static int noise_reduction = 0
static int sc_threshold = 0
static int debug = 0
static int debug_mv = 0
static int me_threshold = 0
static int mb_threshold = 0
static int intra_dc_precision = 8
static int coder = 0
static int context = 0
static int predictor = 0
static int video_profile = FF_PROFILE_UNKNOWN
static int video_level = FF_LEVEL_UNKNOWN
static int nsse_weight = 8
static int subpel_quality = 8
static int me_penalty_compensation = 256
static int lowres = 0
static int frame_skip_threshold = 0
static int frame_skip_factor = 0
static int frame_skip_exp = 0
static int frame_skip_cmp = FF_CMP_DCTMAX
int loop_input
static int loop_output = AVFMT_NOOUTPUTLOOP
static int gray_only = 0
static int gop_size = 12
static int intra_only = 0
static int audio_sample_rate = 44100
static int audio_bit_rate = 64000
static int audio_disable = 0
static int audio_channels = 1
static int audio_codec_id = CODEC_ID_NONE
static int audio_codec_tag = 0
static char * audio_language = NULL
static int subtitle_codec_id = CODEC_ID_NONE
static char * subtitle_language = NULL
static int mux_rate = 0
static int mux_packet_size = 0
static float mux_preload = 0.5
static float mux_max_delay = 0.7
static int64_t recording_time = 0
static int64_t start_time = 0
static int64_t rec_timestamp = 0
static int64_t input_ts_offset = 0
static int file_overwrite = 0
static char * str_title = NULL
static char * str_author = NULL
static char * str_copyright = NULL
static char * str_comment = NULL
static int do_benchmark = 0
static int do_hex_dump = 0
static int do_pkt_dump = 0
static int do_psnr = 0
static int do_vstats = 0
static int do_pass = 0
static int bitexact = 0
static char * pass_logfilename = NULL
static int audio_stream_copy = 0
static int video_stream_copy = 0
static int subtitle_stream_copy = 0
static int video_sync_method = 1
static int audio_sync_method = 0
static int copy_ts = 0
static int opt_shortest = 0
static int video_global_header = 0
static int rate_emu = 0
static char * video_grab_format = "video4linux"
static char * video_device = NULL
static char * grab_device = NULL
static int video_channel = 0
static char * video_standard = "ntsc"
static char * audio_grab_format = "audio_device"
static char * audio_device = NULL
static int audio_volume = 256
static int using_stdin = 0
static int using_vhook = 0
static int verbose = 1
static int thread_count = 1
static int q_pressed = 0
static int me_range = 0
static int64_t video_size = 0
static int64_t audio_size = 0
static int64_t extra_size = 0
static int nb_frames_dup = 0
static int nb_frames_drop = 0
static int input_sync
static int limit_filesize = 0
static int pgmyuv_compatibility_hack = 0
static struct termios oldtty
static volatile sig_atomic_t received_sigterm = 0
static int bit_buffer_size = 1024*256
static uint8_t * bit_buffer = NULL
const char * motion_str []
int ffm_nopts


Define Documentation

#define AV_DELAY_MAX   0.100

Definition at line 672 of file ffmpeg.c.

#define DEFAULT_PASS_LOGFILENAME   "ffmpeg2pass"

Definition at line 292 of file ffmpeg.c.

Referenced by av_encode().

#define FIX (  )     ((int) ((x) * (1<<SCALEBITS) + 0.5))

Definition at line 2416 of file ffmpeg.c.

Referenced by C_JPEG_TO_CCIR(), idct32(), and quicktime_rev_dct().

#define HAVE_AV_CONFIG_H

Definition at line 19 of file ffmpeg.c.

#define MAX_AUDIO_PACKET_SIZE   (128 * 1024)

Definition at line 483 of file ffmpeg.c.

Referenced by av_encode(), and do_audio_out().

#define MAX_FILES   20

Definition at line 70 of file ffmpeg.c.

#define ONE_HALF   (1 << (SCALEBITS - 1))

Definition at line 2415 of file ffmpeg.c.

Referenced by C_JPEG_TO_CCIR().

#define RGB_TO_U ( r1,
g1,
b1,
shift   ) 

Value:

(((- FIX(0.16874) * r1 - FIX(0.33126) * g1 +         \
     FIX(0.50000) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128)

Definition at line 2422 of file ffmpeg.c.

Referenced by opt_pad_color().

#define RGB_TO_V ( r1,
g1,
b1,
shift   ) 

Value:

(((FIX(0.50000) * r1 - FIX(0.41869) * g1 -           \
   FIX(0.08131) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128)

Definition at line 2426 of file ffmpeg.c.

Referenced by opt_pad_color().

#define RGB_TO_Y ( r,
g,
b   ) 

Value:

((FIX(0.29900) * (r) + FIX(0.58700) * (g) + \
  FIX(0.11400) * (b) + ONE_HALF) >> SCALEBITS)

Definition at line 2418 of file ffmpeg.c.

#define SCALEBITS   10

Definition at line 2414 of file ffmpeg.c.

Referenced by C_JPEG_TO_CCIR().


Function Documentation

static void add_frame_hooker ( const char *  arg  )  [static]

Definition at line 2880 of file ffmpeg.c.

References av_strdup(), fprintf, NULL, and using_vhook.

Here is the call graph for this function:

static int av_encode ( AVFormatContext **  output_files,
int  nb_output_files,
AVFormatContext **  input_files,
int  nb_input_files,
AVStreamMap stream_maps,
int  nb_stream_maps 
) [static]

Definition at line 1499 of file ffmpeg.c.

References ABS, AVOutputStream::audio_resample, audio_resample_close(), audio_resample_init(), audio_sync_method, av_free(), av_freep(), av_malloc(), av_mallocz(), AV_NOPTS_VALUE, av_q2d(), av_rescale_q(), AV_TIME_BASE, AV_TIME_BASE_Q, avcodec_close(), avcodec_find_decoder(), avcodec_find_encoder(), avcodec_get_frame_defaults(), avcodec_open(), avpicture_alloc(), bit_buffer, bit_buffer_size, AVCodecContext::bit_rate, AVCodecContext::block_align, AVInputFile::buffer_size_max, AVCodecContext::channels, CODEC_FLAG_PASS1, CODEC_FLAG_PASS2, AVCodecContext::codec_id, CODEC_ID_AC3, CODEC_ID_DTS, AVCodecContext::codec_tag, AVCodecContext::codec_type, CODEC_TYPE_AUDIO, CODEC_TYPE_SUBTITLE, CODEC_TYPE_VIDEO, copy_ts, decode_interrupt_cb(), AVInputStream::decoding_needed, DEFAULT_PASS_LOGFILENAME, AVInputStream::discard, do_hex_dump, do_pkt_dump, EINVAL, AVOutputStream::encoding_needed, ENOMEM, AVInputFile::eof_reached, extra_size, AVCodecContext::extradata, AVCodecContext::extradata_size, fclose(), AVOutputStream::fifo, AVOutputStream::file_index, AVStreamMap::file_index, AVInputStream::file_index, AVCodecContext::flags, fopen(), fprintf, AVInputStream::frame, frame_bottomBand, frame_leftBand, AVOutputStream::frame_number, frame_padbottom, frame_padleft, frame_padright, frame_padtop, frame_rightBand, AVCodecContext::frame_size, frame_topBand, fread(), fseek(), ftell(), AVCodecContext::has_b_frames, AVCodecContext::height, img_resample_close(), AVOutputStream::img_resample_ctx, img_resample_full_init(), AVMetaDataMap::in_file, AVOutputStream::index, AVInputStream::index, input_files_ts_offset, input_sync, AVInputStream::is_start, AVInputFile::ist_index, AVOutputStream::leftBand, limit_filesize, LL, AVOutputStream::logfile, logfilename, MAX_AUDIO_PACKET_SIZE, max_frames, nb_meta_data_maps, AVInputFile::nb_streams, AVInputStream::next_pts, NULL, opt_shortest, AVMetaDataMap::out_file, output_packet(), AVOutputStream::padbottom, AVOutputStream::padleft, AVOutputStream::padright, AVOutputStream::padtop, pass_logfilename, AVOutputStream::pict_tmp, PIX_FMT_YUV420P, print_report(), AVInputStream::pts, q_pressed, read_key(), received_sigterm, recording_time, AVOutputStream::resample, AVCodecContext::sample_rate, AVOutputStream::source_index, AVOutputStream::st, AVInputStream::st, AVInputStream::start, AVCodecContext::stats_in, AVStreamMap::stream_index, AVStreamMap::sync_file_index, AVOutputStream::sync_ist, AVOutputStream::sync_opts, AVStreamMap::sync_stream_index, term_exit(), term_init(), AVCodecContext::time_base, AVOutputStream::topBand, using_stdin, verbose, AVOutputStream::video_crop, AVOutputStream::video_pad, AVOutputStream::video_resample, and AVCodecContext::width.

Referenced by main().

Here is the call graph for this function:

static void check_audio_video_inputs ( int *  has_video_ptr,
int *  has_audio_ptr 
) [static]

static int decode_interrupt_cb ( void   )  [static]

Definition at line 429 of file ffmpeg.c.

References q_pressed, and read_key().

Referenced by av_encode(), and decode_thread().

Here is the call graph for this function:

static void do_audio_out ( AVFormatContext *  s,
AVOutputStream ost,
AVInputStream ist,
unsigned char *  buf,
int  size 
) [static]

static void do_subtitle_out ( AVFormatContext *  s,
AVOutputStream ost,
AVInputStream ist,
AVSubtitle sub,
int64_t  pts 
) [static]

static void do_video_out ( AVFormatContext *  s,
AVOutputStream ost,
AVInputStream ist,
AVFrame in_picture,
int *  frame_size 
) [static]

static void do_video_stats ( AVFormatContext *  os,
AVOutputStream ost,
int  frame_size 
) [static]

static void fill_pad_region ( AVPicture img,
int  height,
int  width,
int  padtop,
int  padbottom,
int  padleft,
int  padright,
int *  color 
) [static]

Definition at line 676 of file ffmpeg.c.

References AVPicture::data, AVPicture::linesize, and shift().

Referenced by do_video_out().

Here is the call graph for this function:

static double get_sync_ipts ( const AVOutputStream ost  )  [static]

static int64_t getutime ( void   )  [static]

Definition at line 3827 of file ffmpeg.c.

References LL.

Referenced by main().

int main ( int  argc,
char **  argv 
)

static void new_audio_stream ( AVFormatContext *  oc  )  [static]

static void new_video_stream ( AVFormatContext *  oc  )  [static]

Definition at line 3177 of file ffmpeg.c.

References av_cmp_q(), av_d2q(), av_realloc(), av_sub_q(), avcodec_find_encoder(), avcodec_thread_init(), AVCodecContext::b_frame_strategy, b_frames, AVCodecContext::b_quant_factor, AVCodecContext::b_quant_offset, b_strategy, AVCodecContext::bit_rate, AVCodecContext::bit_rate_tolerance, bitexact, AVCodecContext::chroma_elim_threshold, closed_gop, cmp, AVCodecContext::codec, CODEC_FLAG2_LOCAL_HEADER, CODEC_FLAG2_NO_OUTPUT, CODEC_FLAG2_STRICT_GOP, CODEC_FLAG_4MV, CODEC_FLAG_ALT_SCAN, CODEC_FLAG_BITEXACT, CODEC_FLAG_CBP_RD, CODEC_FLAG_CLOSED_GOP, CODEC_FLAG_GLOBAL_HEADER, CODEC_FLAG_GRAY, CODEC_FLAG_H263P_AIC, CODEC_FLAG_H263P_AIV, CODEC_FLAG_H263P_SLICE_STRUCT, CODEC_FLAG_H263P_UMV, CODEC_FLAG_INTERLACED_DCT, CODEC_FLAG_INTERLACED_ME, CODEC_FLAG_LOOP_FILTER, CODEC_FLAG_MV0, CODEC_FLAG_NORMALIZE_AQP, CODEC_FLAG_OBMC, CODEC_FLAG_PART, CODEC_FLAG_PASS1, CODEC_FLAG_PASS2, CODEC_FLAG_PSNR, CODEC_FLAG_QP_RD, CODEC_FLAG_QPEL, CODEC_FLAG_QSCALE, CODEC_FLAG_SVCD_SCAN_OFFSET, CODEC_FLAG_TRELLIS_QUANT, AVCodecContext::codec_id, CODEC_ID_NONE, AVCodecContext::codec_tag, AVCodecContext::codec_type, CODEC_TYPE_VIDEO, coder, AVCodecContext::coder_type, context, AVCodecContext::context_model, dark_mask, AVCodecContext::dark_masking, dct_algo, AVCodecContext::dct_algo, debug, AVCodecContext::debug, debug_mv, AVCodecContext::debug_mv, AVRational::den, do_interlace_dct, do_interlace_me, do_normalize_aqp, do_pass, do_psnr, e, RcOverride::end_frame, error(), error_rate, AVCodecContext::error_rate, FF_QP2LAMBDA, AVCodecContext::flags, AVCodecContext::flags2, fprintf, frame_aspect_ratio, frame_height, frame_padbottom, frame_padleft, frame_padright, frame_padtop, frame_pix_fmt, frame_rate, frame_rate_base, frame_skip_cmp, AVCodecContext::frame_skip_cmp, frame_skip_exp, AVCodecContext::frame_skip_exp, frame_skip_factor, AVCodecContext::frame_skip_factor, frame_skip_threshold, AVCodecContext::frame_skip_threshold, frame_width, AVCodecContext::global_quality, gop_size, AVCodecContext::gop_size, gray_only, AVCodecContext::height, AVCodecContext::i_quant_factor, AVCodecContext::i_quant_offset, idct_algo, AVCodecContext::idct_algo, ildct_cmp, AVCodecContext::ildct_cmp, AVCodecContext::inter_matrix, inter_matrix, AVCodecContext::inter_quant_bias, intra_dc_precision, AVCodecContext::intra_dc_precision, AVCodecContext::intra_matrix, intra_matrix, intra_only, AVCodecContext::intra_quant_bias, AVCodecContext::level, AVCodecContext::lmax, AVCodecContext::lmin, AVCodecContext::luma_elim_threshold, lumi_mask, AVCodecContext::lumi_masking, AVCodecContext::max_b_frames, AVCodecContext::max_qdiff, mb_cmp, AVCodecContext::mb_cmp, mb_decision, AVCodecContext::mb_decision, AVCodecContext::mb_lmax, AVCodecContext::mb_lmin, mb_threshold, AVCodecContext::mb_threshold, AVCodecContext::me_cmp, me_method, AVCodecContext::me_method, me_penalty_compensation, AVCodecContext::me_penalty_compensation, AVCodecContext::me_pre_cmp, me_range, AVCodecContext::me_range, AVCodecContext::me_sub_cmp, AVCodecContext::me_subpel_quality, me_threshold, AVCodecContext::me_threshold, no_output, noise_reduction, AVCodecContext::noise_reduction, nsse_weight, AVCodecContext::nsse_weight, NULL, AVRational::num, p_mask, AVCodecContext::p_masking, packet_size, AVCodecContext::pix_fmt, pre_cmp, pre_me, AVCodecContext::pre_me, AVCodecContext::prediction_method, predictor, AVCodecContext::profile, AVCodecContext::qblur, AVCodecContext::qcompress, AVCodecContext::qmax, AVCodecContext::qmin, qns, RcOverride::qscale, RcOverride::quality_factor, AVCodecContext::quantizer_noise_shaping, AVCodecContext::rc_buffer_aggressivity, AVCodecContext::rc_buffer_size, AVCodecContext::rc_eq, AVCodecContext::rc_initial_buffer_occupancy, AVCodecContext::rc_initial_cplx, AVCodecContext::rc_max_rate, AVCodecContext::rc_min_rate, AVCodecContext::rc_override, AVCodecContext::rc_override_count, AVCodecContext::rc_qsquish, AVCodecContext::rtp_mode, AVCodecContext::rtp_payload_size, same_quality, AVCodecContext::sample_aspect_ratio, sc_threshold, AVCodecContext::scenechange_threshold, scplx_mask, AVCodecContext::spatial_cplx_masking, RcOverride::start_frame, strchr, strict, strict_gop, AVCodecContext::strict_std_compliance, sub_cmp, subpel_quality, AVCodec::supported_framerates, tcplx_mask, AVCodecContext::temporal_cplx_masking, AVCodecContext::thread_count, thread_count, AVCodecContext::time_base, use_4mv, use_aic, use_aiv, use_alt_scan, use_cbprd, use_loop, use_mv0, use_obmc, use_part, use_qpel, use_qprd, use_scan_offset, use_ss, use_trell, use_umv, video_b_qfactor, video_b_qoffset, video_bit_rate, video_bit_rate_tolerance, video_celim, video_codec_id, video_codec_tag, video_disable, video_global_header, video_i_qfactor, video_i_qoffset, video_inter_quant_bias, video_intra_quant_bias, video_lelim, video_level, video_lmax, video_lmin, video_mb_lmax, video_mb_lmin, video_profile, video_qblur, video_qcomp, video_qdiff, video_qmax, video_qmin, video_qscale, video_qsquish, video_rc_buffer_aggressivity, video_rc_buffer_size, video_rc_eq, video_rc_initial_cplx, video_rc_max_rate, video_rc_min_rate, video_rc_override_string, video_stream_copy, AVCodecContext::width, workaround_bugs, and AVCodecContext::workaround_bugs.

Referenced by opt_new_video_stream(), and opt_output_file().

Here is the call graph for this function:

static void opt_audio_bitrate ( const char *  arg  )  [static]

Definition at line 2794 of file ffmpeg.c.

References audio_bit_rate.

static void opt_audio_channels ( const char *  arg  )  [static]

Definition at line 2804 of file ffmpeg.c.

References audio_channels.

static void opt_audio_codec ( const char *  arg  )  [static]

Definition at line 2857 of file ffmpeg.c.

References audio_codec_id, audio_stream_copy, CODEC_TYPE_AUDIO, and opt_codec().

Referenced by opt_target(), and parse_ffconfig().

Here is the call graph for this function:

static void opt_audio_device ( const char *  arg  )  [static]

Definition at line 2829 of file ffmpeg.c.

References audio_device, and av_strdup().

Here is the call graph for this function:

static void opt_audio_rate ( const char *  arg  )  [static]

Definition at line 2799 of file ffmpeg.c.

References audio_sample_rate.

static void opt_audio_tag ( const char *  arg  )  [static]

Definition at line 2862 of file ffmpeg.c.

References audio_codec_tag.

static void opt_b_frames ( const char *  arg  )  [static]

Definition at line 2533 of file ffmpeg.c.

References b_frames, FF_MAX_B_FRAMES, and fprintf.

static void opt_b_qfactor ( const char *  arg  )  [static]

Definition at line 2719 of file ffmpeg.c.

References video_b_qfactor.

static void opt_b_qoffset ( const char *  arg  )  [static]

Definition at line 2727 of file ffmpeg.c.

References video_b_qoffset.

static void opt_bitexact ( void   )  [static]

Definition at line 3838 of file ffmpeg.c.

References bitexact.

static void opt_celim ( const char *  arg  )  [static]

Definition at line 2635 of file ffmpeg.c.

References fprintf, and video_celim.

static void opt_cmp ( const char *  arg  )  [static]

Definition at line 2565 of file ffmpeg.c.

References cmp.

static void opt_codec ( int *  pstream_copy,
int *  pcodec_id,
int  codec_type,
const char *  arg 
) [static]

static void opt_dark_mask ( const char *  arg  )  [static]

Definition at line 2585 of file ffmpeg.c.

References dark_mask.

static void opt_dct_algo ( const char *  arg  )  [static]

Definition at line 2274 of file ffmpeg.c.

References dct_algo.

static void opt_debug ( const char *  arg  )  [static]

Definition at line 2304 of file ffmpeg.c.

References AV_LOG_DEBUG, av_log_set_level(), and debug.

Here is the call graph for this function:

static void opt_error_concealment ( const char *  arg  )  [static]

Definition at line 2299 of file ffmpeg.c.

References error_concealment.

static void opt_error_rate ( const char *  arg  )  [static]

Definition at line 2750 of file ffmpeg.c.

References error_rate.

static void opt_error_resilience ( const char *  arg  )  [static]

Definition at line 2294 of file ffmpeg.c.

References error_resilience.

static void opt_format ( const char *  arg  )  [static]

Definition at line 2216 of file ffmpeg.c.

References file_iformat, file_oformat, fprintf, NULL, and pgmyuv_compatibility_hack.

Referenced by opt_target().

static void opt_frame_aspect_ratio ( const char *  arg  )  [static]

Definition at line 2505 of file ffmpeg.c.

References fprintf, frame_aspect_ratio, and strchr.

static void opt_frame_crop_bottom ( const char *  arg  )  [static]

Definition at line 2347 of file ffmpeg.c.

References fprintf, frame_bottomBand, and frame_height.

static void opt_frame_crop_left ( const char *  arg  )  [static]

Definition at line 2365 of file ffmpeg.c.

References fprintf, frame_leftBand, and frame_width.

static void opt_frame_crop_right ( const char *  arg  )  [static]

Definition at line 2383 of file ffmpeg.c.

References fprintf, frame_rightBand, and frame_width.

static void opt_frame_crop_top ( const char *  arg  )  [static]

Definition at line 2329 of file ffmpeg.c.

References fprintf, frame_height, and frame_topBand.

static void opt_frame_pad_bottom ( const char *  arg  )  [static]

Definition at line 2458 of file ffmpeg.c.

References fprintf, and frame_padbottom.

static void opt_frame_pad_left ( const char *  arg  )  [static]

Definition at line 2472 of file ffmpeg.c.

References fprintf, and frame_padleft.

static void opt_frame_pad_right ( const char *  arg  )  [static]

Definition at line 2486 of file ffmpeg.c.

References fprintf, and frame_padright.

static void opt_frame_pad_top ( const char *  arg  )  [static]

Definition at line 2445 of file ffmpeg.c.

References fprintf, and frame_padtop.

static void opt_frame_pix_fmt ( const char *  arg  )  [static]

Definition at line 2500 of file ffmpeg.c.

References avcodec_get_pix_fmt(), and frame_pix_fmt.

Here is the call graph for this function:

static void opt_frame_rate ( const char *  arg  )  [static]

Definition at line 2321 of file ffmpeg.c.

References fprintf, frame_rate, and frame_rate_base.

Referenced by opt_target().

static void opt_frame_size ( const char *  arg  )  [static]

Definition at line 2401 of file ffmpeg.c.

References fprintf, frame_height, and frame_width.

Referenced by opt_target().

static void opt_gop_size ( const char *  arg  )  [static]

Definition at line 2528 of file ffmpeg.c.

References gop_size.

Referenced by opt_target().

static void opt_grab ( const char *  arg  )  [static]

Definition at line 3141 of file ffmpeg.c.

References file_iformat, and opt_input_file().

Here is the call graph for this function:

static void opt_grab_device ( const char *  arg  )  [static]

Definition at line 2814 of file ffmpeg.c.

References av_strdup(), and grab_device.

Here is the call graph for this function:

static void opt_i_qfactor ( const char *  arg  )  [static]

Definition at line 2723 of file ffmpeg.c.

References video_i_qfactor.

static void opt_i_qoffset ( const char *  arg  )  [static]

Definition at line 2731 of file ffmpeg.c.

References video_i_qoffset.

static void opt_ibias ( const char *  arg  )  [static]

Definition at line 2736 of file ffmpeg.c.

References video_intra_quant_bias.

static void opt_idct_algo ( const char *  arg  )  [static]

Definition at line 2279 of file ffmpeg.c.

References idct_algo.

static void opt_ildct_cmp ( const char *  arg  )  [static]

Definition at line 2555 of file ffmpeg.c.

References ildct_cmp.

static void opt_image_format ( const char *  arg  )  [static]

Definition at line 2201 of file ffmpeg.c.

References fprintf, image_format, and NULL.

static void opt_input_file ( const char *  filename  )  [static]

Definition at line 2997 of file ffmpeg.c.

References audio_channels, audio_codec_id, audio_disable, audio_sample_rate, AV_NOPTS_VALUE, av_q2d(), AV_TIME_BASE, avcodec_thread_init(), AVDISCARD_ALL, bitexact, AVCodecContext::channels, CODEC_FLAG_BITEXACT, CODEC_FLAG_EMU_EDGE, CODEC_FLAG_GRAY, CODEC_ID_PGMYUV, AVCodecContext::codec_type, CODEC_TYPE_AUDIO, CODEC_TYPE_DATA, CODEC_TYPE_SUBTITLE, CODEC_TYPE_VIDEO, copy_ts, debug, AVCodecContext::debug, debug_mv, AVCodecContext::debug_mv, AVRational::den, error_concealment, AVCodecContext::error_concealment, error_resilience, AVCodecContext::error_resilience, FF_DEBUG_MV, file_iformat, file_oformat, AVCodecContext::flags, fprintf, frame_aspect_ratio, frame_height, frame_padbottom, frame_padleft, frame_padright, frame_padtop, frame_pix_fmt, frame_rate, frame_rate_base, frame_width, grab_device, gray_only, AVCodecContext::height, idct_algo, AVCodecContext::idct_algo, image_format, input_files, input_files_ts_offset, input_ts_offset, lowres, AVCodecContext::lowres, me_threshold, nb_input_files, NULL, AVRational::num, pgmyuv_compatibility_hack, AVCodecContext::pix_fmt, print_error(), rate_emu, AVCodecContext::rate_emu, AVCodecContext::sample_aspect_ratio, AVCodecContext::sample_rate, start_time, AVCodecContext::thread_count, thread_count, AVCodecContext::time_base, timestamp, using_stdin, verbose, video_channel, video_codec_id, video_disable, video_discard, video_standard, AVCodecContext::width, workaround_bugs, and AVCodecContext::workaround_bugs.

Referenced by opt_grab().

Here is the call graph for this function:

static void opt_input_ts_offset ( const char *  arg  )  [static]

Definition at line 2992 of file ffmpeg.c.

References input_ts_offset.

void opt_inter_matrix ( const char *  arg  ) 

Definition at line 4004 of file ffmpeg.c.

References av_mallocz(), inter_matrix, and parse_matrix_coeffs().

Here is the call graph for this function:

void opt_intra_matrix ( const char *  arg  ) 

Definition at line 4010 of file ffmpeg.c.

References av_mallocz(), intra_matrix, and parse_matrix_coeffs().

Here is the call graph for this function:

static void opt_lelim ( const char *  arg  )  [static]

Definition at line 2625 of file ffmpeg.c.

References fprintf, and video_lelim.

static void opt_lmax ( const char *  arg  )  [static]

Definition at line 2645 of file ffmpeg.c.

References FF_QP2LAMBDA, and video_lmax.

static void opt_lmin ( const char *  arg  )  [static]

Definition at line 2650 of file ffmpeg.c.

References FF_QP2LAMBDA, and video_lmin.

static void opt_lumi_mask ( const char *  arg  )  [static]

Definition at line 2580 of file ffmpeg.c.

References lumi_mask.

static void opt_map ( const char *  arg  )  [static]

static void opt_map_meta_data ( const char *  arg  )  [static]

Definition at line 2962 of file ffmpeg.c.

References AVMetaDataMap::in_file, nb_meta_data_maps, and AVMetaDataMap::out_file.

static void opt_mb_cmp ( const char *  arg  )  [static]

Definition at line 2550 of file ffmpeg.c.

References mb_cmp.

static void opt_mb_decision ( const char *  arg  )  [static]

Definition at line 2545 of file ffmpeg.c.

References mb_decision.

static void opt_mb_lmax ( const char *  arg  )  [static]

Definition at line 2685 of file ffmpeg.c.

References FF_LAMBDA_MAX, FF_QP2LAMBDA, fprintf, and video_mb_lmax.

static void opt_mb_lmin ( const char *  arg  )  [static]

Definition at line 2675 of file ffmpeg.c.

References FF_LAMBDA_MAX, FF_QP2LAMBDA, fprintf, and video_mb_lmin.

static void opt_mb_threshold ( const char *  arg  )  [static]

Definition at line 2289 of file ffmpeg.c.

References mb_threshold.

static void opt_me_range ( const char *  arg  )  [static]

Definition at line 2780 of file ffmpeg.c.

References me_range.

static void opt_me_threshold ( const char *  arg  )  [static]

Definition at line 2284 of file ffmpeg.c.

References me_threshold.

static void opt_motion_estimation ( const char *  arg  )  [static]

Definition at line 2911 of file ffmpeg.c.

References fprintf, and me_method.

static void opt_new_audio_stream ( void   )  [static]

Definition at line 3556 of file ffmpeg.c.

References fprintf, nb_output_files, new_audio_stream(), and output_files.

Here is the call graph for this function:

static void opt_new_subtitle_stream ( void   )  [static]

static void opt_new_video_stream ( void   )  [static]

Definition at line 3567 of file ffmpeg.c.

References fprintf, nb_output_files, new_video_stream(), and output_files.

Here is the call graph for this function:

static void opt_noise_reduction ( const char *  arg  )  [static]

Definition at line 2765 of file ffmpeg.c.

References noise_reduction.

static void opt_output_file ( const char *  filename  )  [static]

static void opt_p_mask ( const char *  arg  )  [static]

Definition at line 2600 of file ffmpeg.c.

References p_mask.

static void opt_packet_size ( const char *  arg  )  [static]

Definition at line 2745 of file ffmpeg.c.

References packet_size.

static void opt_pad_color ( const char *  arg  )  [static]

Definition at line 2430 of file ffmpeg.c.

References b, NULL, padcolor, r, RGB_TO_U, RGB_TO_V, and RGB_TO_Y.

static void opt_pass ( const char *  pass_str  )  [static]

Definition at line 3810 of file ffmpeg.c.

References do_pass, and fprintf.

static void opt_pbias ( const char *  arg  )  [static]

Definition at line 2740 of file ffmpeg.c.

References video_inter_quant_bias.

static void opt_pre_cmp ( const char *  arg  )  [static]

Definition at line 2570 of file ffmpeg.c.

References pre_cmp.

static void opt_pre_me ( const char *  arg  )  [static]

Definition at line 2575 of file ffmpeg.c.

References pre_me.

static void opt_qblur ( const char *  arg  )  [static]

Definition at line 2705 of file ffmpeg.c.

References video_qblur.

static void opt_qcomp ( const char *  arg  )  [static]

Definition at line 2710 of file ffmpeg.c.

References video_qcomp.

static void opt_qdiff ( const char *  arg  )  [static]

Definition at line 2695 of file ffmpeg.c.

References fprintf, and video_qdiff.

static void opt_qmax ( const char *  arg  )  [static]

Definition at line 2665 of file ffmpeg.c.

References fprintf, and video_qmax.

static void opt_qmin ( const char *  arg  )  [static]

Definition at line 2655 of file ffmpeg.c.

References fprintf, and video_qmin.

static void opt_qns ( const char *  arg  )  [static]

Definition at line 2770 of file ffmpeg.c.

References qns.

static void opt_qscale ( const char *  arg  )  [static]

Definition at line 2605 of file ffmpeg.c.

References fprintf, and video_qscale.

static void opt_qsquish ( const char *  arg  )  [static]

Definition at line 2615 of file ffmpeg.c.

References fprintf, and video_qsquish.

static void opt_rc_initial_cplx ( const char *  arg  )  [static]

Definition at line 2715 of file ffmpeg.c.

References video_rc_initial_cplx.

static void opt_rec_timestamp ( const char *  arg  )  [static]

Definition at line 2987 of file ffmpeg.c.

References rec_timestamp.

static void opt_recording_time ( const char *  arg  )  [static]

Definition at line 2977 of file ffmpeg.c.

References recording_time.

static void opt_sc_threshold ( const char *  arg  )  [static]

Definition at line 2775 of file ffmpeg.c.

References sc_threshold.

static void opt_scplx_mask ( const char *  arg  )  [static]

Definition at line 2590 of file ffmpeg.c.

References scplx_mask.

static void opt_start_time ( const char *  arg  )  [static]

Definition at line 2982 of file ffmpeg.c.

References start_time.

static void opt_strict ( const char *  arg  )  [static]

Definition at line 2755 of file ffmpeg.c.

References strict.

static void opt_sub_cmp ( const char *  arg  )  [static]

Definition at line 2560 of file ffmpeg.c.

References sub_cmp.

static void opt_subtitle_codec ( const char *  arg  )  [static]

Definition at line 2932 of file ffmpeg.c.

References CODEC_TYPE_SUBTITLE, opt_codec(), subtitle_codec_id, and subtitle_stream_copy.

Here is the call graph for this function:

static void opt_target ( const char *  arg  )  [static]

static void opt_tcplx_mask ( const char *  arg  )  [static]

Definition at line 2595 of file ffmpeg.c.

References tcplx_mask.

static void opt_thread_count ( const char *  arg  )  [static]

Definition at line 2785 of file ffmpeg.c.

References fprintf, thread_count, and verbose.

static void opt_top_field_first ( const char *  arg  )  [static]

Definition at line 2760 of file ffmpeg.c.

References top_field_first.

static void opt_verbose ( const char *  arg  )  [static]

Definition at line 2315 of file ffmpeg.c.

References av_log_set_level(), and verbose.

Here is the call graph for this function:

static void opt_video_bitrate ( const char *  arg  )  [static]

Definition at line 2233 of file ffmpeg.c.

References video_bit_rate.

static void opt_video_bitrate_max ( const char *  arg  )  [static]

Definition at line 2243 of file ffmpeg.c.

References video_rc_max_rate.

static void opt_video_bitrate_min ( const char *  arg  )  [static]

Definition at line 2248 of file ffmpeg.c.

References video_rc_min_rate.

static void opt_video_bitrate_tolerance ( const char *  arg  )  [static]

Definition at line 2238 of file ffmpeg.c.

References video_bit_rate_tolerance.

static void opt_video_buffer_size ( const char *  arg  )  [static]

Definition at line 2253 of file ffmpeg.c.

References video_rc_buffer_size.

static void opt_video_channel ( const char *  arg  )  [static]

Definition at line 2819 of file ffmpeg.c.

References NULL, and video_channel.

static void opt_video_codec ( const char *  arg  )  [static]

Definition at line 2927 of file ffmpeg.c.

References CODEC_TYPE_VIDEO, opt_codec(), video_codec_id, and video_stream_copy.

Referenced by opt_target(), and parse_ffconfig().

Here is the call graph for this function:

static void opt_video_device ( const char *  arg  )  [static]

Definition at line 2809 of file ffmpeg.c.

References av_strdup(), and video_device.

Here is the call graph for this function:

static void opt_video_rc_eq ( char *  arg  )  [static]

Definition at line 2258 of file ffmpeg.c.

References video_rc_eq.

static void opt_video_rc_override_string ( char *  arg  )  [static]

Definition at line 2263 of file ffmpeg.c.

References video_rc_override_string.

static void opt_video_standard ( const char *  arg  )  [static]

Definition at line 2824 of file ffmpeg.c.

References av_strdup(), and video_standard.

Here is the call graph for this function:

static void opt_video_tag ( const char *  arg  )  [static]

Definition at line 2871 of file ffmpeg.c.

References video_codec_tag.

static void opt_vismv ( const char *  arg  )  [static]

Definition at line 2310 of file ffmpeg.c.

References debug_mv.

static void opt_workaround_bugs ( const char *  arg  )  [static]

Definition at line 2269 of file ffmpeg.c.

References workaround_bugs.

static int output_packet ( AVInputStream ist,
int  ist_index,
AVOutputStream **  ost_table,
int  nb_ostreams,
const AVPacket *  pkt 
) [static]

void parse_arg_file ( const char *  filename  ) 

Definition at line 4459 of file ffmpeg.c.

References opt_output_file().

Here is the call graph for this function:

void parse_matrix_coeffs ( uint16_t *  dest,
const char *  str 
)

Definition at line 3987 of file ffmpeg.c.

References fprintf, and strchr.

Referenced by opt_inter_matrix(), and opt_intra_matrix().

static void pre_process_video_frame ( AVInputStream ist,
AVPicture picture,
void **  bufp 
) [static]

static void prepare_grab ( void   )  [static]

static void print_report ( AVFormatContext **  output_files,
AVOutputStream **  ost_table,
int  nb_ostreams,
int  is_last_report 
) [static]

static double psnr ( double  d  )  [static]

Definition at line 1021 of file ffmpeg.c.

Referenced by do_video_stats(), and print_report().

static int read_ffserver_streams ( AVFormatContext *  s,
const char *  filename 
) [static]

Definition at line 454 of file ffmpeg.c.

References av_mallocz(), memcpy, and NULL.

Referenced by opt_output_file().

Here is the call graph for this function:

static int read_key ( void   )  [static]

Definition at line 405 of file ffmpeg.c.

References NULL.

Referenced by av_encode(), and decode_interrupt_cb().

static void show_banner ( void   )  [static]

Definition at line 4375 of file ffmpeg.c.

References FFMPEG_VERSION, fprintf, and LIBAVCODEC_BUILD.

Referenced by main(), show_help(), and show_license().

static void show_formats ( void   )  [static]

static void show_help ( void   )  [static]

Definition at line 4427 of file ffmpeg.c.

References OPT_AUDIO, OPT_EXPERT, OPT_GRAB, OPT_SUBTITLE, OPT_VIDEO, show_banner(), and show_help_options().

Referenced by main(), and opt_sync().

Here is the call graph for this function:

static void show_license ( void   )  [static]

Definition at line 4388 of file ffmpeg.c.

References show_banner().

Referenced by main().

Here is the call graph for this function:

static void show_version ( void   )  [static]

Definition at line 4157 of file ffmpeg.c.

References avcodec_build(), FFMPEG_VERSION, and fprintf.

Here is the call graph for this function:

static void sigterm_handler ( int  sig  )  [static]

Definition at line 368 of file ffmpeg.c.

References received_sigterm, and term_exit().

Referenced by term_init().

Here is the call graph for this function:

static void term_exit ( void   )  [static]

Definition at line 360 of file ffmpeg.c.

References oldtty.

Referenced by av_encode(), sigterm_handler(), and term_init().

static void term_init ( void   )  [static]

Definition at line 374 of file ffmpeg.c.

References atexit(), oldtty, sigterm_handler(), and term_exit().

Referenced by av_encode().

Here is the call graph for this function:


Variable Documentation

int audio_bit_rate = 64000 [static]

Definition at line 218 of file ffmpeg.c.

Referenced by compute_stats(), new_audio_stream(), opt_audio_bitrate(), and opt_target().

int audio_channels = 1 [static]

int audio_codec_id = CODEC_ID_NONE [static]

Definition at line 221 of file ffmpeg.c.

Referenced by new_audio_stream(), opt_audio_codec(), opt_input_file(), and opt_output_file().

int audio_codec_tag = 0 [static]

Definition at line 222 of file ffmpeg.c.

Referenced by new_audio_stream(), and opt_audio_tag().

char* audio_device = NULL [static]

Definition at line 272 of file ffmpeg.c.

Referenced by opt_audio_device(), and prepare_grab().

int audio_disable = 0 [static]

Definition at line 219 of file ffmpeg.c.

Referenced by decode_thread(), new_audio_stream(), opt_input_file(), and opt_output_file().

char* audio_grab_format = "audio_device" [static]

Definition at line 271 of file ffmpeg.c.

Referenced by prepare_grab().

char* audio_language = NULL [static]

Definition at line 223 of file ffmpeg.c.

Referenced by new_audio_stream().

int audio_sample_rate = 44100 [static]

Definition at line 217 of file ffmpeg.c.

Referenced by new_audio_stream(), opt_audio_rate(), opt_input_file(), and opt_target().

int64_t audio_size = 0 [static]

int audio_stream_copy = 0 [static]

Definition at line 250 of file ffmpeg.c.

Referenced by new_audio_stream(), opt_audio_codec(), and opt_output_file().

int audio_sync_method = 0 [static]

Definition at line 254 of file ffmpeg.c.

Referenced by av_encode(), and do_audio_out().

int audio_volume = 256 [static]

Definition at line 273 of file ffmpeg.c.

Referenced by output_packet().

int b_frames = 0 [static]

Definition at line 145 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_b_frames().

int b_strategy = 0 [static]

Definition at line 146 of file ffmpeg.c.

Referenced by new_video_stream().

uint8_t* bit_buffer = NULL [static]

Definition at line 760 of file ffmpeg.c.

Referenced by av_encode(), do_video_out(), and output_packet().

int bit_buffer_size = 1024*256 [static]

Definition at line 759 of file ffmpeg.c.

Referenced by av_encode(), do_video_out(), and output_packet().

int bitexact = 0 [static]

Definition at line 248 of file ffmpeg.c.

Referenced by new_video_stream(), opt_bitexact(), and opt_input_file().

int closed_gop = 0 [static]

Definition at line 175 of file ffmpeg.c.

Referenced by mpeg3video_getgophdr(), and new_video_stream().

int cmp = FF_CMP_SAD [static]

int coder = 0 [static]

Definition at line 198 of file ffmpeg.c.

Referenced by new_video_stream().

int context = 0 [static]

int copy_ts = 0 [static]

Definition at line 255 of file ffmpeg.c.

Referenced by av_encode(), and opt_input_file().

float dark_mask = 0 [static]

Definition at line 155 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_dark_mask().

int dct_algo = 0 [static]

Definition at line 184 of file ffmpeg.c.

Referenced by dsputil_init_mmx(), MPV_common_init_mmx(), new_video_stream(), and opt_dct_algo().

int debug = 0 [static]

int debug_mv = 0 [static]

Definition at line 194 of file ffmpeg.c.

Referenced by new_video_stream(), opt_input_file(), opt_vismv(), and stream_component_open().

int do_benchmark = 0 [static]

Definition at line 242 of file ffmpeg.c.

Referenced by main().

int do_deinterlace = 0 [static]

Definition at line 178 of file ffmpeg.c.

Referenced by pre_process_video_frame().

int do_hex_dump = 0 [static]

Definition at line 243 of file ffmpeg.c.

Referenced by av_encode().

int do_interlace_dct = 0 [static]

Definition at line 179 of file ffmpeg.c.

Referenced by do_video_out(), and new_video_stream().

int do_interlace_me = 0 [static]

Definition at line 180 of file ffmpeg.c.

Referenced by do_video_out(), and new_video_stream().

int do_normalize_aqp = 0 [static]

Definition at line 173 of file ffmpeg.c.

Referenced by new_video_stream().

int do_pass = 0 [static]

Definition at line 247 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_pass().

int do_pkt_dump = 0 [static]

Definition at line 244 of file ffmpeg.c.

Referenced by av_encode().

int do_psnr = 0 [static]

Definition at line 245 of file ffmpeg.c.

Referenced by new_video_stream().

int do_vstats = 0 [static]

Definition at line 246 of file ffmpeg.c.

Referenced by output_packet().

int error_concealment = 3 [static]

Definition at line 183 of file ffmpeg.c.

Referenced by opt_error_concealment(), opt_input_file(), and stream_component_open().

int error_rate = 0 [static]

Definition at line 188 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_error_rate().

int error_resilience = FF_ER_CAREFUL [static]

Definition at line 182 of file ffmpeg.c.

Referenced by opt_error_resilience(), opt_input_file(), and stream_component_open().

int64_t extra_size = 0 [static]

Definition at line 283 of file ffmpeg.c.

Referenced by av_encode(), and print_report().

int ffm_nopts

AVInputFormat* file_iformat [static]

Definition at line 85 of file ffmpeg.c.

Referenced by main(), opt_format(), opt_grab(), opt_input_file(), and opt_output_file().

AVOutputFormat* file_oformat [static]

Definition at line 86 of file ffmpeg.c.

Referenced by opt_format(), opt_input_file(), and opt_output_file().

int file_overwrite = 0 [static]

Definition at line 237 of file ffmpeg.c.

Referenced by opt_output_file().

float frame_aspect_ratio = 0 [static]

Definition at line 90 of file ffmpeg.c.

Referenced by new_video_stream(), opt_frame_aspect_ratio(), and opt_input_file().

int frame_bottomBand = 0 [static]

Definition at line 98 of file ffmpeg.c.

Referenced by av_encode(), and opt_frame_crop_bottom().

int frame_height = 0 [static]

int frame_leftBand = 0 [static]

Definition at line 99 of file ffmpeg.c.

Referenced by av_encode(), and opt_frame_crop_left().

int frame_padbottom = 0 [static]

Definition at line 93 of file ffmpeg.c.

Referenced by av_encode(), new_video_stream(), opt_frame_pad_bottom(), and opt_input_file().

int frame_padleft = 0 [static]

Definition at line 94 of file ffmpeg.c.

Referenced by av_encode(), new_video_stream(), opt_frame_pad_left(), and opt_input_file().

int frame_padright = 0 [static]

Definition at line 95 of file ffmpeg.c.

Referenced by av_encode(), new_video_stream(), opt_frame_pad_right(), and opt_input_file().

int frame_padtop = 0 [static]

Definition at line 92 of file ffmpeg.c.

Referenced by av_encode(), new_video_stream(), opt_frame_pad_top(), and opt_input_file().

enum PixelFormat frame_pix_fmt = PIX_FMT_NONE [static]

Definition at line 91 of file ffmpeg.c.

Referenced by new_video_stream(), opt_frame_pix_fmt(), and opt_input_file().

int frame_rate = 25 [static]

Definition at line 102 of file ffmpeg.c.

int frame_rate_base = 1 [static]

Definition at line 103 of file ffmpeg.c.

Referenced by new_video_stream(), opt_frame_rate(), opt_input_file(), and opt_target().

int frame_rightBand = 0 [static]

Definition at line 100 of file ffmpeg.c.

Referenced by av_encode(), and opt_frame_crop_right().

int frame_skip_cmp = FF_CMP_DCTMAX [static]

Definition at line 210 of file ffmpeg.c.

Referenced by new_video_stream().

int frame_skip_exp = 0 [static]

Definition at line 209 of file ffmpeg.c.

Referenced by new_video_stream().

int frame_skip_factor = 0 [static]

Definition at line 208 of file ffmpeg.c.

Referenced by new_video_stream().

int frame_skip_threshold = 0 [static]

Definition at line 207 of file ffmpeg.c.

Referenced by new_video_stream().

int frame_topBand = 0 [static]

Definition at line 97 of file ffmpeg.c.

Referenced by av_encode(), and opt_frame_crop_top().

int frame_width = 0 [static]

int gop_size = 12 [static]

Definition at line 215 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_gop_size().

char* grab_device = NULL [static]

Definition at line 267 of file ffmpeg.c.

Referenced by opt_grab_device(), and opt_input_file().

int gray_only = 0 [static]

Definition at line 213 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_input_file().

int idct_algo = 0 [static]

int ildct_cmp = FF_CMP_VSAD [static]

Definition at line 148 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_ildct_cmp().

AVImageFormat* image_format [static]

Definition at line 87 of file ffmpeg.c.

Referenced by decode_thread(), opt_image_format(), opt_input_file(), and opt_output_file().

AVFormatContext* input_files[MAX_FILES] [static]

Definition at line 72 of file ffmpeg.c.

Referenced by check_audio_video_inputs(), main(), opt_input_file(), opt_target(), and prepare_grab().

int64_t input_files_ts_offset[MAX_FILES] [static]

Definition at line 73 of file ffmpeg.c.

Referenced by av_encode(), do_subtitle_out(), get_sync_ipts(), opt_input_file(), and output_packet().

int input_sync [static]

Definition at line 286 of file ffmpeg.c.

Referenced by av_encode(), and main().

int64_t input_ts_offset = 0 [static]

Definition at line 236 of file ffmpeg.c.

Referenced by opt_input_file(), and opt_input_ts_offset().

uint16_t* inter_matrix = NULL [static]

Definition at line 120 of file ffmpeg.c.

Referenced by main(), new_video_stream(), and opt_inter_matrix().

int intra_dc_precision = 8 [static]

Definition at line 197 of file ffmpeg.c.

Referenced by new_video_stream().

uint16_t* intra_matrix = NULL [static]

Definition at line 119 of file ffmpeg.c.

Referenced by main(), new_video_stream(), and opt_intra_matrix().

int intra_only = 0 [static]

Definition at line 216 of file ffmpeg.c.

Referenced by new_video_stream().

int limit_filesize = 0 [static]

Definition at line 287 of file ffmpeg.c.

Referenced by av_encode().

int loop_output = AVFMT_NOOUTPUTLOOP [static]

Definition at line 212 of file ffmpeg.c.

Referenced by opt_output_file().

int lowres = 0 [static]

float lumi_mask = 0 [static]

Definition at line 154 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_lumi_mask().

int max_frames[4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX} [static]

Definition at line 101 of file ffmpeg.c.

Referenced by av_encode(), and do_video_out().

int mb_cmp = FF_CMP_SAD [static]

Definition at line 149 of file ffmpeg.c.

Referenced by ff_init_me(), new_video_stream(), and opt_mb_cmp().

int mb_decision = FF_MB_DECISION_SIMPLE [static]

Definition at line 147 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_mb_decision().

int mb_threshold = 0 [static]

Definition at line 196 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_mb_threshold().

int me_method = ME_EPZS [static]

Definition at line 139 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_motion_estimation().

int me_penalty_compensation = 256 [static]

Definition at line 205 of file ffmpeg.c.

Referenced by new_video_stream().

int me_range = 0 [static]

Definition at line 280 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_me_range().

int me_threshold = 0 [static]

Definition at line 195 of file ffmpeg.c.

Referenced by do_video_out(), new_video_stream(), opt_input_file(), and opt_me_threshold().

AVMetaDataMap meta_data_maps[MAX_FILES] [static]

Definition at line 82 of file ffmpeg.c.

const char* motion_str[]

Initial value:

 {
    "zero",
    "full",
    "log",
    "phods",
    "epzs",
    "x1",
    NULL,
}

Definition at line 2901 of file ffmpeg.c.

float mux_max_delay = 0.7 [static]

Definition at line 231 of file ffmpeg.c.

Referenced by opt_output_file().

int mux_packet_size = 0 [static]

Definition at line 229 of file ffmpeg.c.

Referenced by opt_output_file(), and opt_target().

float mux_preload = 0.5 [static]

Definition at line 230 of file ffmpeg.c.

Referenced by opt_output_file(), and opt_target().

int mux_rate = 0 [static]

Definition at line 228 of file ffmpeg.c.

Referenced by opt_output_file(), and opt_target().

int nb_frames_drop = 0 [static]

Definition at line 285 of file ffmpeg.c.

Referenced by do_video_out(), and print_report().

int nb_frames_dup = 0 [static]

Definition at line 284 of file ffmpeg.c.

Referenced by do_video_out(), and print_report().

int nb_input_files = 0 [static]

int nb_meta_data_maps [static]

Definition at line 83 of file ffmpeg.c.

Referenced by av_encode(), and opt_map_meta_data().

int nb_output_files = 0 [static]

int nb_stream_maps [static]

Definition at line 80 of file ffmpeg.c.

Referenced by main(), and opt_map().

int no_output = 0 [static]

Definition at line 177 of file ffmpeg.c.

Referenced by new_video_stream().

int noise_reduction = 0 [static]

Definition at line 191 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_noise_reduction().

int nsse_weight = 8 [static]

Definition at line 203 of file ffmpeg.c.

Referenced by new_video_stream().

struct termios oldtty [static]

Definition at line 358 of file ffmpeg.c.

Referenced by term_exit(), and term_init().

int opt_shortest = 0 [static]

Definition at line 256 of file ffmpeg.c.

Referenced by av_encode().

Definition at line 4166 of file ffmpeg.c.

AVFormatContext* output_files[MAX_FILES] [static]

float p_mask = 0 [static]

Definition at line 158 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_p_mask().

int packet_size = 0 [static]

Definition at line 187 of file ffmpeg.c.

Referenced by handle_subtitle(), new_video_stream(), and opt_packet_size().

int padcolor[3] = {16,128,128} [static]

Definition at line 96 of file ffmpeg.c.

Referenced by do_video_out(), and opt_pad_color().

char* pass_logfilename = NULL [static]

Definition at line 249 of file ffmpeg.c.

Referenced by av_encode().

int pgmyuv_compatibility_hack = 0 [static]

Definition at line 289 of file ffmpeg.c.

Referenced by opt_format(), and opt_input_file().

int pre_cmp = FF_CMP_SAD [static]

Definition at line 152 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_pre_cmp().

int pre_me = 0 [static]

Definition at line 153 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_pre_me().

int predictor = 0 [static]

int q_pressed = 0 [static]

Definition at line 279 of file ffmpeg.c.

Referenced by av_encode(), and decode_interrupt_cb().

int qns = 0 [static]

Definition at line 174 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qns().

int rate_emu = 0 [static]

Definition at line 259 of file ffmpeg.c.

Referenced by opt_input_file().

int64_t rec_timestamp = 0 [static]

Definition at line 235 of file ffmpeg.c.

Referenced by opt_output_file(), and opt_rec_timestamp().

volatile sig_atomic_t received_sigterm = 0 [static]

Definition at line 365 of file ffmpeg.c.

Referenced by av_encode(), main(), and sigterm_handler().

int64_t recording_time = 0 [static]

Definition at line 233 of file ffmpeg.c.

Referenced by av_encode(), and opt_recording_time().

int same_quality = 0 [static]

Definition at line 144 of file ffmpeg.c.

Referenced by do_video_out(), and new_video_stream().

int sc_threshold = 0 [static]

Definition at line 192 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_sc_threshold().

float scplx_mask = 0 [static]

Definition at line 156 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_scplx_mask().

int64_t start_time = 0 [static]

char* str_author = NULL [static]

Definition at line 239 of file ffmpeg.c.

Referenced by opt_output_file().

char* str_comment = NULL [static]

Definition at line 241 of file ffmpeg.c.

Referenced by opt_output_file().

char* str_copyright = NULL [static]

Definition at line 240 of file ffmpeg.c.

Referenced by opt_output_file().

char* str_title = NULL [static]

Definition at line 238 of file ffmpeg.c.

Referenced by opt_output_file().

AVStreamMap stream_maps[MAX_FILES] [static]

Definition at line 79 of file ffmpeg.c.

int strict = 0 [static]

Definition at line 189 of file ffmpeg.c.

Referenced by new_audio_stream(), new_video_stream(), and opt_strict().

int strict_gop = 0 [static]

Definition at line 176 of file ffmpeg.c.

Referenced by new_video_stream().

int sub_cmp = FF_CMP_SAD [static]

Definition at line 150 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_sub_cmp().

int subpel_quality = 8 [static]

Definition at line 204 of file ffmpeg.c.

Referenced by new_video_stream(), and qpel_motion_search().

int subtitle_codec_id = CODEC_ID_NONE [static]

Definition at line 225 of file ffmpeg.c.

Referenced by opt_new_subtitle_stream(), and opt_subtitle_codec().

char* subtitle_language = NULL [static]

Definition at line 226 of file ffmpeg.c.

Referenced by opt_new_subtitle_stream().

int subtitle_stream_copy = 0 [static]

Definition at line 252 of file ffmpeg.c.

Referenced by opt_new_subtitle_stream(), and opt_subtitle_codec().

float tcplx_mask = 0 [static]

Definition at line 157 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_tcplx_mask().

int thread_count = 1 [static]

int top_field_first = -1 [static]

Definition at line 190 of file ffmpeg.c.

Referenced by do_video_out(), mpegvideo_extract_headers(), and opt_top_field_first().

int use_4mv = 0 [static]

Definition at line 159 of file ffmpeg.c.

Referenced by new_video_stream().

int use_aic = 0 [static]

Definition at line 162 of file ffmpeg.c.

Referenced by new_video_stream().

int use_aiv = 0 [static]

Definition at line 163 of file ffmpeg.c.

Referenced by new_video_stream().

int use_alt_scan = 0 [static]

Definition at line 166 of file ffmpeg.c.

Referenced by new_video_stream().

int use_cbprd = 0 [static]

Definition at line 171 of file ffmpeg.c.

Referenced by new_video_stream().

int use_loop = 0 [static]

Definition at line 161 of file ffmpeg.c.

Referenced by new_video_stream().

int use_mv0 = 0 [static]

Definition at line 172 of file ffmpeg.c.

Referenced by new_video_stream().

int use_obmc = 0 [static]

Definition at line 160 of file ffmpeg.c.

Referenced by new_video_stream().

int use_part = 0 [static]

Definition at line 186 of file ffmpeg.c.

Referenced by new_video_stream().

int use_qpel = 0 [static]

Definition at line 169 of file ffmpeg.c.

Referenced by new_video_stream().

int use_qprd = 0 [static]

Definition at line 170 of file ffmpeg.c.

Referenced by new_video_stream().

int use_scan_offset = 0 [static]

Definition at line 168 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_target().

int use_ss = 0 [static]

Definition at line 165 of file ffmpeg.c.

Referenced by new_video_stream().

int use_trell = 0 [static]

Definition at line 167 of file ffmpeg.c.

Referenced by new_video_stream().

int use_umv = 0 [static]

Definition at line 164 of file ffmpeg.c.

Referenced by new_video_stream().

int using_stdin = 0 [static]

Definition at line 275 of file ffmpeg.c.

Referenced by av_encode(), opt_input_file(), and opt_output_file().

int using_vhook = 0 [static]

Definition at line 276 of file ffmpeg.c.

Referenced by add_frame_hooker(), and pre_process_video_frame().

int verbose = 1 [static]

Definition at line 277 of file ffmpeg.c.

float video_b_qfactor = 1.25 [static]

Definition at line 133 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_b_qfactor().

float video_b_qoffset = 1.25 [static]

Definition at line 134 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_b_qoffset().

int video_bit_rate = 200*1000 [static]

Definition at line 104 of file ffmpeg.c.

Referenced by compute_stats(), new_video_stream(), opt_target(), and opt_video_bitrate().

int video_bit_rate_tolerance = 4000*1000 [static]

Definition at line 105 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_video_bitrate_tolerance().

int video_celim = 0 [static]

Definition at line 115 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_celim().

int video_channel = 0 [static]

int video_codec_id = CODEC_ID_NONE [static]

Definition at line 142 of file ffmpeg.c.

Referenced by new_video_stream(), opt_input_file(), opt_output_file(), and opt_video_codec().

int video_codec_tag = 0 [static]

Definition at line 143 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_video_tag().

char* video_device = NULL [static]

Definition at line 266 of file ffmpeg.c.

Referenced by opt_video_device(), and prepare_grab().

int video_disable = 0 [static]

Definition at line 140 of file ffmpeg.c.

Referenced by decode_thread(), main(), new_video_stream(), opt_input_file(), and opt_output_file().

int video_discard = 0 [static]

Definition at line 141 of file ffmpeg.c.

Referenced by opt_input_file().

int video_global_header = 0 [static]

Definition at line 257 of file ffmpeg.c.

Referenced by new_video_stream().

char* video_grab_format = "video4linux" [static]

Definition at line 264 of file ffmpeg.c.

Referenced by prepare_grab().

float video_i_qfactor = -0.8 [static]

Definition at line 135 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_i_qfactor().

float video_i_qoffset = 0.0 [static]

Definition at line 136 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_i_qoffset().

int video_inter_quant_bias = FF_DEFAULT_QUANT_BIAS [static]

Definition at line 138 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_pbias().

int video_intra_quant_bias = FF_DEFAULT_QUANT_BIAS [static]

Definition at line 137 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_ibias().

int video_lelim = 0 [static]

Definition at line 114 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_lelim().

int video_level = FF_LEVEL_UNKNOWN [static]

Definition at line 202 of file ffmpeg.c.

Referenced by new_video_stream().

int video_lmax = 31*FF_QP2LAMBDA [static]

Definition at line 110 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_lmax().

int video_lmin = 2*FF_QP2LAMBDA [static]

Definition at line 109 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_lmin().

int video_mb_lmax = 31*FF_QP2LAMBDA [static]

Definition at line 112 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_mb_lmax().

int video_mb_lmin = 2*FF_QP2LAMBDA [static]

Definition at line 111 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_mb_lmin().

int video_profile = FF_PROFILE_UNKNOWN [static]

Definition at line 201 of file ffmpeg.c.

Referenced by new_video_stream().

float video_qblur = 0.5 [static]

Definition at line 116 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qblur().

float video_qcomp = 0.5 [static]

Definition at line 118 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qcomp().

int video_qdiff = 3 [static]

Definition at line 113 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qdiff().

int video_qmax = 31 [static]

Definition at line 108 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qmax().

int video_qmin = 2 [static]

Definition at line 107 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qmin().

float video_qscale = 0 [static]

Definition at line 106 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qscale().

float video_qsquish = 0.0 [static]

Definition at line 117 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_qsquish().

float video_rc_buffer_aggressivity = 1.0 [static]

Definition at line 129 of file ffmpeg.c.

Referenced by new_video_stream().

int video_rc_buffer_size = 0 [static]

Definition at line 128 of file ffmpeg.c.

Referenced by new_video_stream(), opt_target(), and opt_video_buffer_size().

char* video_rc_eq = "tex^qComp" [static]

Definition at line 127 of file ffmpeg.c.

Referenced by encode(), new_video_stream(), and opt_video_rc_eq().

float video_rc_initial_cplx = 0 [static]

Definition at line 132 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_rc_initial_cplx().

int video_rc_max_rate = 0 [static]

Definition at line 130 of file ffmpeg.c.

Referenced by new_video_stream(), opt_target(), and opt_video_bitrate_max().

int video_rc_min_rate = 0 [static]

Definition at line 131 of file ffmpeg.c.

Referenced by new_video_stream(), opt_target(), and opt_video_bitrate_min().

char* video_rc_override_string = NULL [static]

Definition at line 126 of file ffmpeg.c.

Referenced by new_video_stream(), and opt_video_rc_override_string().

int64_t video_size = 0 [static]

Definition at line 281 of file ffmpeg.c.

Referenced by do_video_stats(), output_packet(), and print_report().

char* video_standard = "ntsc" [static]

Definition at line 269 of file ffmpeg.c.

Referenced by opt_input_file(), opt_video_standard(), and prepare_grab().

int video_stream_copy = 0 [static]

Definition at line 251 of file ffmpeg.c.

Referenced by new_video_stream(), opt_output_file(), and opt_video_codec().

int video_sync_method = 1 [static]

Definition at line 253 of file ffmpeg.c.

Referenced by do_video_out().

int workaround_bugs = FF_BUG_AUTODETECT [static]


Generated on Mon Apr 28 14:02:56 2008 for Cinelerra by  doxygen 1.5.5