#include "libmpeg3.h"#include "mpeg2enc.h"#include "quicktime.h"#include <pthread.h>#include <stdint.h>


Go to the source code of this file.
Data Structures | |
| struct | mc_result |
| struct | motion_comp |
| struct | pict_data |
| struct | motion_engine_t |
| struct | ratectl_t |
| struct | transform_engine_t |
| struct | slice_engine_t |
Defines | |
| #define | EXTERN_ extern |
| #define | MAX_44_MATCHES (256*256/(4*4)) |
| #define | K_AVG_WINDOW_I 4.0 |
| #define | K_AVG_WINDOW_P 10.0 |
| #define | K_AVG_WINDOW_B 20.0 |
| #define | IQUANT_SCALE_POW2 16 |
| #define | IQUANT_SCALE (1<<IQUANT_SCALE_POW2) |
| #define | COEFFSUM_SCALE (1<<16) |
| #define | READ_LOOK_AHEAD 4 |
Typedefs | |
| typedef struct mc_result | mc_result_s |
| typedef struct motion_comp | motion_comp_s |
| typedef struct mbinfo | mbinfo_s |
| typedef struct pict_data | pict_data_s |
Functions | |
| void range_checks | _ANSI_ARGS_ ((void)) |
| void profile_and_level_checks | _ANSI_ARGS_ (()) |
| void motion_estimation | _ANSI_ARGS_ ((pict_data_s *picture, motion_comp_s *mc_data, int secondfield, int ipflag)) |
| void error | _ANSI_ARGS_ ((char *text)) |
| void predict | _ANSI_ARGS_ ((pict_data_s *picture, uint8_t *reff[], uint8_t *refb[], uint8_t *cur[3], int secondfield)) |
| void | slice_initbits (slice_engine_t *engine) |
| void | slice_putbits (slice_engine_t *engine, long val, int n) |
| void | slice_alignbits (slice_engine_t *engine) |
| void | slice_finishslice (slice_engine_t *engine) |
| void putbits | _ANSI_ARGS_ ((int val, int n)) |
| void putuserdata | _ANSI_ARGS_ ((char *userdata)) |
| void putgophdr | _ANSI_ARGS_ ((int frame, int closed_gop)) |
| void putpicthdr | _ANSI_ARGS_ ((pict_data_s *picture)) |
| void putintrablk | _ANSI_ARGS_ ((slice_engine_t *engine, pict_data_s *picture, short *blk, int cc)) |
| void putnonintrablk | _ANSI_ARGS_ ((slice_engine_t *engine, pict_data_s *picture, short *blk)) |
| void putmv | _ANSI_ARGS_ ((slice_engine_t *engine, int dmv, int f_code)) |
| void putDClum | _ANSI_ARGS_ ((slice_engine_t *engine, int val)) |
| void putACfirst | _ANSI_ARGS_ ((slice_engine_t *engine, int run, int val)) |
| void putAC | _ANSI_ARGS_ ((slice_engine_t *engine, int run, int signed_level, int vlcformat)) |
| void putaddrinc | _ANSI_ARGS_ ((slice_engine_t *engine, int addrinc)) |
| void putmbtype | _ANSI_ARGS_ ((slice_engine_t *engine, int pict_type, int mb_type)) |
| void putmotioncode | _ANSI_ARGS_ ((slice_engine_t *engine, int motion_code)) |
| void putdmv | _ANSI_ARGS_ ((slice_engine_t *engine, int dmv)) |
| void putcbp | _ANSI_ARGS_ ((slice_engine_t *engine, int cbp)) |
| void | iquantize (pict_data_s *picture) |
| void | quant_intra_hv (pict_data_s *picture, int16_t *src, int16_t *dst, int mquant, int *nonsat_mquant) |
| int | quant_non_intra_hv (pict_data_s *picture, int16_t *src, int16_t *dst, int mquant, int *nonsat_mquant) |
| void | iquant_intra (int16_t *src, int16_t *dst, int dc_prec, int mquant) |
| void | iquant_non_intra (int16_t *src, int16_t *dst, int mquant) |
| void | init_quantizer_hv () |
| int | next_larger_quant_hv (pict_data_s *picture, int quant) |
| int(*) | pquant_non_intra (pict_data_s *picture, int16_t *src, int16_t *dst, int mquant, int *nonsat_mquant) |
| int(*) | pquant_weight_coeff_sum (int16_t *blk, uint16_t *i_quant_mat) |
| void ratectl_init_seq | _ANSI_ARGS_ ((ratectl_t *ratectl)) |
| void ratectl_init_GOP | _ANSI_ARGS_ ((ratectl_t *ratectl, int np, int nb)) |
| void ratectl_init_pict | _ANSI_ARGS_ ((ratectl_t *ratectl, pict_data_s *picture)) |
| int ratectl_calc_mquant | _ANSI_ARGS_ ((ratectl_t *ratectl, pict_data_s *picture, int j)) |
| void readframe | _ANSI_ARGS_ ((int frame_num, uint8_t *frame[])) |
| void calcSNR | _ANSI_ARGS_ ((unsigned char *org[3], unsigned char *rec[3])) |
| void transform | _ANSI_ARGS_ ((pict_data_s *picture, uint8_t *pred[], uint8_t *cur[])) |
| void dct_type_estimation | _ANSI_ARGS_ ((pict_data_s *picture, uint8_t *pred, uint8_t *cur)) |
Variables | |
| EXTERN_ unsigned char | mpeg2_zig_zag_scan [64] |
| EXTERN_ unsigned char | alternate_scan_hv [64] |
| EXTERN_ uint16_t | default_intra_quantizer_matrix_hv [64] |
| EXTERN_ uint16_t | hires_intra_quantizer_matrix_hv [64] |
| EXTERN_ uint16_t | default_nonintra_quantizer_matrix_hv [64] |
| EXTERN_ uint16_t | hires_nonintra_quantizer_matrix_hv [64] |
| EXTERN_ unsigned char | non_linear_mquant_table_hv [32] |
| EXTERN_ unsigned char | map_non_linear_mquant_hv [113] |
| EXTERN_ pthread_mutex_t | test_lock |
| EXTERN_ motion_engine_t * | motion_engines |
| EXTERN_ transform_engine_t * | transform_engines |
| EXTERN_ transform_engine_t * | itransform_engines |
| EXTERN_ slice_engine_t * | slice_engines |
| EXTERN_ ratectl_t ** | ratectl |
| EXTERN_ int | quiet |
| EXTERN_ pict_data_s | cur_picture |
| EXTERN_ unsigned char * | newrefframe [3] |
| EXTERN_ unsigned char * | oldrefframe [3] |
| EXTERN_ unsigned char * | auxframe [3] |
| EXTERN_ unsigned char * | neworgframe [3] |
| EXTERN_ unsigned char * | oldorgframe [3] |
| EXTERN_ unsigned char * | auxorgframe [3] |
| EXTERN_ unsigned char * | predframe [3] |
| EXTERN_ struct motion_data * | motion_data |
| EXTERN_ uint16_t | intra_q [64] |
| EXTERN_ uint16_t | inter_q [64] |
| EXTERN_ uint16_t | i_intra_q [64] |
| EXTERN_ uint16_t | i_inter_q [64] |
| EXTERN_ uint16_t | intra_q_tbl [113][64] |
| EXTERN_ uint16_t | inter_q_tbl [113][64] |
| EXTERN_ uint16_t | i_intra_q_tbl [113][64] |
| EXTERN_ uint16_t | i_inter_q_tbl [113][64] |
| EXTERN_ float | intra_q_tblf [113][64] |
| EXTERN_ float | inter_q_tblf [113][64] |
| EXTERN_ float | i_intra_q_tblf [113][64] |
| EXTERN_ float | i_inter_q_tblf [113][64] |
| EXTERN_ uint16_t | chrom_intra_q [64] |
| EXTERN_ uint16_t | chrom_inter_q [64] |
| EXTERN_ unsigned char * | clp |
| EXTERN_ char | id_string [256] |
| EXTERN_ char | tplorg [256] |
| EXTERN_ char | tplref [256] |
| EXTERN_ char | out_path [256] |
| EXTERN_ char | iqname [256] |
| EXTERN_ char | niqname [256] |
| EXTERN_ char | statname [256] |
| EXTERN_ char | errortext [256] |
| EXTERN_ FILE * | outfile |
| EXTERN_ FILE * | statfile |
| EXTERN_ int | inputtype |
| EXTERN_ uint8_t *** | frame_buffers |
| EXTERN_ quicktime_t * | qt_file |
| EXTERN_ mpeg3_t * | mpeg_file |
| EXTERN_ int | do_stdin |
| EXTERN_ FILE * | stdin_fd |
| EXTERN_ int | do_buffers |
| EXTERN_ pthread_mutex_t | input_lock |
| EXTERN_ pthread_mutex_t | output_lock |
| EXTERN_ pthread_mutex_t | copy_lock |
| EXTERN_ char * | input_buffer_y |
| EXTERN_ char * | input_buffer_u |
| EXTERN_ char * | input_buffer_v |
| EXTERN_ int | input_buffer_end |
| EXTERN_ int | verbose |
| EXTERN_ quicktime_t * | qt_output |
| EXTERN_ unsigned char * | frame_buffer |
| EXTERN_ unsigned char ** | row_pointers |
| EXTERN_ int | fixed_mquant |
| EXTERN_ double | quant_floor |
| EXTERN_ double | act_boost |
| EXTERN_ int | use_hires_quant |
| EXTERN_ int | use_denoise_quant |
| EXTERN_ int | processors |
| EXTERN_ long | start_frame |
| EXTERN_ long | end_frame |
| EXTERN_ int | seq_header_every_gop |
| EXTERN_ int | N |
| EXTERN_ int | M |
| EXTERN_ int | P |
| EXTERN_ int | nframes |
| EXTERN_ long | frames_scaled |
| EXTERN_ int | frame0 |
| EXTERN_ int | tc0 |
| EXTERN_ int | mpeg1 |
| EXTERN_ int | fieldpic |
| EXTERN_ int | qsubsample_offset |
| EXTERN_ int | fsubsample_offset |
| EXTERN_ int | rowsums_offset |
| EXTERN_ int | colsums_offset |
| EXTERN_ int | mb_per_pict |
| EXTERN_ int | fast_mc_frac |
| EXTERN_ int | mc_44_red |
| EXTERN_ int | mc_22_red |
| EXTERN_ int | horizontal_size |
| EXTERN_ int | vertical_size |
| EXTERN_ int | width |
| EXTERN_ int | height |
| EXTERN_ int | chrom_width |
| EXTERN_ int | chrom_height |
| EXTERN_ int | block_count |
| EXTERN_ int | mb_width |
| EXTERN_ int | mb_height |
| EXTERN_ int | width2 |
| EXTERN_ int | height2 |
| EXTERN_ int | mb_height2 |
| EXTERN_ int | chrom_width2 |
| EXTERN_ int | aspectratio |
| EXTERN_ int | frame_rate_code |
| EXTERN_ int | dctsatlim |
| EXTERN_ double | frame_rate |
| EXTERN_ double | input_frame_rate |
| EXTERN_ double | bit_rate |
| EXTERN_ int | video_buffer_size |
| EXTERN_ int | vbv_buffer_size |
| EXTERN_ int | constrparms |
| EXTERN_ int | load_iquant |
| EXTERN_ int | load_niquant |
| EXTERN_ int | load_ciquant |
| EXTERN_ int | load_cniquant |
| EXTERN_ int | profile |
| EXTERN_ int | level |
| EXTERN_ int | prog_seq |
| EXTERN_ int | chroma_format |
| EXTERN_ int | low_delay |
| EXTERN_ int | video_format |
| EXTERN_ int | color_primaries |
| EXTERN_ int | transfer_characteristics |
| EXTERN_ int | matrix_coefficients |
| EXTERN_ int | display_horizontal_size |
| EXTERN_ int | display_vertical_size |
| EXTERN_ int | opt_dc_prec |
| EXTERN_ int | opt_prog_frame |
| EXTERN_ int | opt_repeatfirst |
| EXTERN_ int | opt_topfirst |
| EXTERN_ int | frame_pred_dct_tab [3] |
| EXTERN_ int | conceal_tab [3] |
| EXTERN_ int | qscale_tab [3] |
| EXTERN_ int | intravlc_tab [3] |
| EXTERN_ int | altscan_tab [3] |
| int(* | pquant_non_intra )(pict_data_s *picture, int16_t *src, int16_t *dst, int mquant, int *nonsat_mquant) |
| int(* | pquant_weight_coeff_sum )(int16_t *blk, uint16_t *i_quant_mat) |
| #define COEFFSUM_SCALE (1<<16) |
| #define IQUANT_SCALE (1<<IQUANT_SCALE_POW2) |
Definition at line 420 of file global.h.
Referenced by quant_non_intra_hv_mmx(), and readquantmat().
| #define K_AVG_WINDOW_B 20.0 |
| #define K_AVG_WINDOW_I 4.0 |
| #define K_AVG_WINDOW_P 10.0 |
| #define READ_LOOK_AHEAD 4 |
| typedef struct mc_result mc_result_s |
| typedef struct motion_comp motion_comp_s |
| typedef struct pict_data pict_data_s |
| void dct_type_estimation _ANSI_ARGS_ | ( | (pict_data_s *picture, uint8_t *pred, uint8_t *cur) | ) |
| void itransform _ANSI_ARGS_ | ( | (pict_data_s *picture, uint8_t *pred[], uint8_t *cur[]) | ) |
| void calcSNR _ANSI_ARGS_ | ( | (unsigned char *org[3], unsigned char *rec[3]) | ) |
| void readframe _ANSI_ARGS_ | ( | (int frame_num, uint8_t *frame[]) | ) |
| int ratectl_calc_mquant _ANSI_ARGS_ | ( | (ratectl_t *ratectl, pict_data_s *picture, int j) | ) |
| int ratectl_start_mb _ANSI_ARGS_ | ( | (ratectl_t *ratectl, pict_data_s *picture) | ) |
| void putcbp _ANSI_ARGS_ | ( | (slice_engine_t *engine, int cbp) | ) |
| void putdmv _ANSI_ARGS_ | ( | (slice_engine_t *engine, int dmv) | ) |
| void putmotioncode _ANSI_ARGS_ | ( | (slice_engine_t *engine, int motion_code) | ) |
| void putmbtype _ANSI_ARGS_ | ( | (slice_engine_t *engine, int pict_type, int mb_type) | ) |
| void putaddrinc _ANSI_ARGS_ | ( | (slice_engine_t *engine, int addrinc) | ) |
| void putAC _ANSI_ARGS_ | ( | (slice_engine_t *engine, int run, int signed_level, int vlcformat) | ) |
| void putACfirst _ANSI_ARGS_ | ( | (slice_engine_t *engine, int run, int val) | ) |
| void putDCchrom _ANSI_ARGS_ | ( | (slice_engine_t *engine, int val) | ) |
| void putmv _ANSI_ARGS_ | ( | (slice_engine_t *engine, int dmv, int f_code) | ) |
| void putnonintrablk _ANSI_ARGS_ | ( | (slice_engine_t *engine, pict_data_s *picture, short *blk) | ) |
| void putintrablk _ANSI_ARGS_ | ( | (slice_engine_t *engine, pict_data_s *picture, short *blk, int cc) | ) |
| void putpict _ANSI_ARGS_ | ( | (pict_data_s *picture) | ) |
| void putgophdr _ANSI_ARGS_ | ( | (int frame, int closed_gop) | ) |
| void putuserdata _ANSI_ARGS_ | ( | (char *userdata) | ) |
| void putbits _ANSI_ARGS_ | ( | (int val, int n) | ) |
| void predict _ANSI_ARGS_ | ( | (pict_data_s *picture, uint8_t *reff[], uint8_t *refb[], uint8_t *cur[3], int secondfield) | ) |
| void error _ANSI_ARGS_ | ( | (char *text) | ) |
| void motion_estimation _ANSI_ARGS_ | ( | (pict_data_s *picture, motion_comp_s *mc_data, int secondfield, int ipflag) | ) |
| void profile_and_level_checks _ANSI_ARGS_ | ( | () | ) |
| void range_checks _ANSI_ARGS_ | ( | (void) | ) |
| void init_quantizer_hv | ( | ) |
Definition at line 59 of file quantize.c.
References ACCEL_X86_3DNOW, ACCEL_X86_MMX, ACCEL_X86_MMXEXT, cpu_accel(), fprintf, iquant_non_intra_m1(), piquant_non_intra_m1, pquant_non_intra, pquant_weight_coeff_sum, quant_non_intra_hv(), quant_non_intra_hv_3dnow(), quant_weight_coeff_sum(), and verbose.
Referenced by init().

| void iquant_intra | ( | int16_t * | src, | |
| int16_t * | dst, | |||
| int | dc_prec, | |||
| int | mquant | |||
| ) |
Definition at line 339 of file quantize.c.
References intra_q, iquant1_intra(), and mpeg1.
Referenced by iquantize().

| void iquant_non_intra | ( | int16_t * | src, | |
| int16_t * | dst, | |||
| int | mquant | |||
| ) |
Definition at line 404 of file quantize.c.
References inter_q, inter_q_tbl, intmin(), intsamesign(), and mpeg1.
Referenced by iquantize().

| void iquantize | ( | pict_data_s * | picture | ) |
Definition at line 446 of file quantize.c.
References block_count, cur_picture, pict_data::dc_prec, iquant_intra(), iquant_non_intra(), MB_INTRA, mb_per_pict, mbinfo::mb_type, pict_data::mbinfo, mbinfo::mquant, and pict_data::qblocks.
Referenced by putseq().

| int next_larger_quant_hv | ( | pict_data_s * | picture, | |
| int | quant | |||
| ) |
Definition at line 118 of file quantize.c.
References map_non_linear_mquant_hv, non_linear_mquant_table_hv, and pict_data::q_scale_type.
Referenced by quant_intra_hv(), quant_non_intra_hv(), quant_non_intra_hv_3dnow(), and quant_non_intra_hv_mmx().
| int(*) pquant_non_intra | ( | pict_data_s * | picture, | |
| int16_t * | src, | |||
| int16_t * | dst, | |||
| int | mquant, | |||
| int * | nonsat_mquant | |||
| ) |
| int(*) pquant_weight_coeff_sum | ( | int16_t * | blk, | |
| uint16_t * | i_quant_mat | |||
| ) |
| void quant_intra_hv | ( | pict_data_s * | picture, | |
| int16_t * | src, | |||
| int16_t * | dst, | |||
| int | mquant, | |||
| int * | nonsat_mquant | |||
| ) |
Definition at line 149 of file quantize.c.
References block_count, comp, pict_data::dc_prec, dctsatlim, intra_q_tbl, intsamesign(), and next_larger_quant_hv().
Referenced by slice_engine_loop().

| int quant_non_intra_hv | ( | pict_data_s * | picture, | |
| int16_t * | src, | |||
| int16_t * | dst, | |||
| int | mquant, | |||
| int * | nonsat_mquant | |||
| ) |
Definition at line 247 of file quantize.c.
References block_count, dctsatlim, inter_q_tbl, intsamesign(), and next_larger_quant_hv().
Referenced by init_quantizer_hv(), quant_non_intra_hv_3dnow(), and quant_non_intra_hv_mmx().

| void slice_alignbits | ( | slice_engine_t * | engine | ) |
Definition at line 102 of file putbits.c.
References slice_engine_t::outcnt, and slice_putbits().
Referenced by slice_engine_loop(), and slice_finishslice().

| void slice_finishslice | ( | slice_engine_t * | engine | ) |
Definition at line 108 of file putbits.c.
References bytecnt, fwrite(), outfile, slice_alignbits(), slice_engine_t::slice_buffer, and slice_engine_t::slice_size.
Referenced by putpict().

| void slice_initbits | ( | slice_engine_t * | engine | ) |
Definition at line 41 of file putbits.c.
References slice_engine_t::outcnt, and slice_engine_t::slice_size.
Referenced by putpict().
| void slice_putbits | ( | slice_engine_t * | engine, | |
| long | val, | |||
| int | n | |||
| ) |
Definition at line 75 of file putbits.c.
References slice_engine_t::outbfr, slice_engine_t::outcnt, and slice_putc().
Referenced by putAC(), putACfirst(), putaddrinc(), putcbp(), putDC(), putdmv(), putintrablk(), putmbtype(), putmotioncode(), putmv(), putmvs(), putnonintrablk(), slice_alignbits(), and slice_engine_loop().

| EXTERN_ double act_boost |
| EXTERN_ unsigned char alternate_scan_hv[64] |
| EXTERN_ int altscan_tab[3] |
| EXTERN_ int aspectratio |
| EXTERN_ unsigned char * auxframe[3] |
| EXTERN_ unsigned char * auxorgframe[3] |
| EXTERN_ double bit_rate |
Definition at line 532 of file global.h.
Referenced by a52_decode_frame(), ac3_decode_frame(), build_feed_streams(), dts_decode_frame(), putseqext(), putseqhdr(), ratectl_init_GOP(), ratectl_init_seq(), ratectl_update_pict(), and readcmdline().
| EXTERN_ int block_count |
Definition at line 524 of file global.h.
Referenced by init(), iquantize(), itransform_engine_loop(), quant_intra_hv(), quant_non_intra_hv(), quant_non_intra_hv_3dnow(), quant_non_intra_hv_mmx(), slice_engine_loop(), and transform_engine_loop().
| EXTERN_ int chrom_height |
| EXTERN_ uint16_t chrom_inter_q[64] |
| EXTERN_ uint16_t chrom_intra_q[64] |
| EXTERN_ int chrom_width |
Definition at line 524 of file global.h.
Referenced by clearblock(), init(), itransform_engine_loop(), and transform_engine_loop().
| EXTERN_ int chrom_width2 |
Definition at line 526 of file global.h.
Referenced by clearblock(), init(), itransform_engine_loop(), and transform_engine_loop().
| EXTERN_ int chroma_format |
Definition at line 544 of file global.h.
Referenced by clearblock(), decode_vol_header(), init(), itransform_engine_loop(), pred(), putseqext(), read_buffers(), read_quicktime(), read_stdin(), readcmdline(), slice_engine_loop(), transform_engine_loop(), and writeframe().
| EXTERN_ unsigned char* clp |
| EXTERN_ int color_primaries |
| EXTERN_ int colsums_offset |
| EXTERN_ int conceal_tab[3] |
| EXTERN_ int constrparms |
Definition at line 535 of file global.h.
Referenced by HorzMotionCode(), putseqhdr(), readcmdline(), and VertMotionCode().
| EXTERN_ pthread_mutex_t copy_lock |
Definition at line 476 of file global.h.
Referenced by mpeg2enc_init_buffers(), mpeg2enc_set_input_buffers(), and read_buffers().
| EXTERN_ pict_data_s cur_picture |
Definition at line 405 of file global.h.
Referenced by calc_actj(), init(), iquantize(), putseq(), and readcmdline().
| EXTERN_ int dctsatlim |
Definition at line 529 of file global.h.
Referenced by putAC(), putDC(), quant_intra_hv(), quant_non_intra_hv(), quant_non_intra_hv_3dnow(), quant_non_intra_hv_mmx(), and readcmdline().
| EXTERN_ uint16_t default_intra_quantizer_matrix_hv[64] |
| EXTERN_ uint16_t default_nonintra_quantizer_matrix_hv[64] |
| EXTERN_ int display_horizontal_size |
Definition at line 554 of file global.h.
Referenced by mpeg3video_sequence_display_extension(), putseqdispext(), and readcmdline().
| EXTERN_ int display_vertical_size |
Definition at line 554 of file global.h.
Referenced by mpeg3video_sequence_display_extension(), putseqdispext(), and readcmdline().
| EXTERN_ int do_buffers |
| EXTERN_ int do_stdin |
| EXTERN_ long end_frame |
Definition at line 494 of file global.h.
Referenced by get_qscale(), putseq(), readcmdline(), and BRenderThread::start().
| EXTERN_ char errortext[256] |
| EXTERN_ int fast_mc_frac |
| EXTERN_ int fieldpic |
Definition at line 506 of file global.h.
Referenced by init(), putseq(), ratectl_init_GOP(), and readcmdline().
| EXTERN_ int fixed_mquant |
Definition at line 487 of file global.h.
Referenced by ratectl_calc_mquant(), ratectl_start_mb(), ratectl_update_pict(), and readcmdline().
| EXTERN_ int frame0 |
| EXTERN_ unsigned char* frame_buffer |
| EXTERN_ uint8_t*** frame_buffers |
| EXTERN_ int frame_pred_dct_tab[3] |
| EXTERN_ double frame_rate |
Definition at line 530 of file global.h.
Referenced by MTimeBar::draw_time(), ExportEDLAsset::edit_to_timecodes(), frametotc(), YUVStream::get_frame_rate(), main(), new_video_stream(), opt_frame_rate(), opt_input_file(), opt_target(), Tracks::paste_automation(), putseq(), quicktime_finalize_hdrl(), quicktime_read_strl(), ratectl_init_GOP(), ratectl_init_seq(), ratectl_update_pict(), read_mpeg(), read_quicktime(), and readcmdline().
| EXTERN_ int frame_rate_code |
Definition at line 528 of file global.h.
Referenced by FileMPEG::open_file(), putseqhdr(), and readcmdline().
| EXTERN_ long frames_scaled |
Definition at line 503 of file global.h.
Referenced by putseq(), read_buffers(), read_mpeg(), and read_stdin().
| EXTERN_ int fsubsample_offset |
Definition at line 510 of file global.h.
Referenced by fast_motion_data(), field_ME(), frame_ME(), fullsearch(), and init().
| EXTERN_ int height2 |
Definition at line 526 of file global.h.
Referenced by calc_actj(), dct_type_estimation(), dpfield_estimate(), init(), predict(), start_itransform_engines(), start_motion_engines(), and start_transform_engines().
| EXTERN_ uint16_t hires_intra_quantizer_matrix_hv[64] |
| EXTERN_ uint16_t hires_nonintra_quantizer_matrix_hv[64] |
| EXTERN_ int horizontal_size |
Definition at line 522 of file global.h.
Referenced by init(), mpeg2enc_set_w(), putseqext(), putseqhdr(), read_mpeg(), read_quicktime(), readcmdline(), and writeframe().
| EXTERN_ uint16_t i_inter_q[64] |
Definition at line 425 of file global.h.
Referenced by calc_actj(), quant_non_intra_hv_mmx(), and readquantmat().
| EXTERN_ uint16_t i_inter_q_tbl[113][64] |
| EXTERN_ float i_inter_q_tblf[113][64] |
Definition at line 431 of file global.h.
Referenced by quant_non_intra_hv_3dnow(), and readquantmat().
| EXTERN_ uint16_t i_intra_q[64] |
| EXTERN_ uint16_t i_intra_q_tbl[113][64] |
| EXTERN_ float i_intra_q_tblf[113][64] |
| EXTERN_ int input_buffer_end |
Definition at line 480 of file global.h.
Referenced by mpeg2enc_init_buffers(), mpeg2enc_set_input_buffers(), and read_buffers().
| EXTERN_ char* input_buffer_u |
Definition at line 478 of file global.h.
Referenced by mpeg2enc_set_input_buffers(), and read_buffers().
| EXTERN_ char* input_buffer_v |
Definition at line 479 of file global.h.
Referenced by mpeg2enc_set_input_buffers(), and read_buffers().
| EXTERN_ char* input_buffer_y |
Definition at line 477 of file global.h.
Referenced by mpeg2enc_set_input_buffers(), and read_buffers().
| EXTERN_ double input_frame_rate |
Definition at line 531 of file global.h.
Referenced by mpeg2enc_set_rate(), putseq(), and readcmdline().
| EXTERN_ pthread_mutex_t input_lock |
Definition at line 474 of file global.h.
Referenced by itransform(), motion_estimation(), mpeg2enc(), mpeg2enc_init_buffers(), mpeg2enc_set_input_buffers(), putpict(), read_buffers(), start_itransform_engines(), start_motion_engines(), start_slice_engines(), start_transform_engines(), stop_itransform_engines(), stop_motion_engines(), stop_slice_engines(), stop_transform_engines(), and transform().
| EXTERN_ int inputtype |
| EXTERN_ uint16_t inter_q[64] |
Definition at line 424 of file global.h.
Referenced by iquant_non_intra(), putseqhdr(), quant_non_intra_hv_mmx(), and readquantmat().
| EXTERN_ uint16_t inter_q_tbl[113][64] |
Definition at line 428 of file global.h.
Referenced by iquant_non_intra(), quant_non_intra_hv(), and readquantmat().
| EXTERN_ float inter_q_tblf[113][64] |
| EXTERN_ uint16_t intra_q[64] |
Definition at line 424 of file global.h.
Referenced by iquant1_intra(), iquant_intra(), putseqhdr(), and readquantmat().
| EXTERN_ uint16_t intra_q_tbl[113][64] |
| EXTERN_ float intra_q_tblf[113][64] |
| EXTERN_ int intravlc_tab[3] |
| EXTERN_ char iqname[256] |
| EXTERN_ transform_engine_t* itransform_engines |
Definition at line 397 of file global.h.
Referenced by itransform(), start_itransform_engines(), and stop_itransform_engines().
| EXTERN_ int level |
Definition at line 542 of file global.h.
Referenced by __attribute__(), a52_decode_frame(), ac3_decode_frame(), bit8x8_c(), BlockQuantH263(), calculate_vissual_weight(), CodeCoeff(), CodeCoeff_RVLC(), common_end(), common_init(), dct_quantize(), dct_unquantize_h263_altivec(), dct_unquantize_h263_intra_iwmmxt(), dct_unquantize_h263_mmi(), decode_block(), decode_frame(), decode_header(), decode_i_block(), decode_residual(), DenoiseFFTConfig::DenoiseFFTConfig(), dts_decode_frame(), dv_decode_ac(), dvvideo_init(), encode_frame(), encode_header(), ff_spatial_dwt(), ff_spatial_idwt(), ff_spatial_idwt_buffered_init(), ff_spatial_idwt_buffered_slice(), ff_spatial_idwt_init(), ff_spatial_idwt_slice(), GainConfig::GainConfig(), guess_palette(), h261_decode_block(), h261_encode_block(), HorzMotionCode(), init_2d_vlc_rl(), init_coef_vlc(), init_rl(), mdec_decode_block_intra(), mpeg3audio_doac3(), putAC(), putseqext(), quantize(), quantize_c(), quicktime_fastjpg_huffparse(), rd8x8_c(), readcmdline(), reset_contexts(), SpectrogramFFT::signal_process(), DenoiseFFTRemove::signal_process(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq3_decode_block(), PatchBay::update_meters(), VertMotionCode(), w_c(), and wma_decode_block().
| EXTERN_ int load_ciquant |
| EXTERN_ int load_cniquant |
| EXTERN_ int load_iquant |
| EXTERN_ int load_niquant |
| EXTERN_ int low_delay |
Definition at line 545 of file global.h.
Referenced by mpeg3video_sequence_extension(), and readcmdline().
| EXTERN_ int M |
| EXTERN_ unsigned char map_non_linear_mquant_hv[113] |
Definition at line 178 of file global.h.
Referenced by next_larger_quant_hv(), scale_quant(), and slice_engine_loop().
| EXTERN_ int matrix_coefficients |
Definition at line 553 of file global.h.
Referenced by putseqdispext(), read_quicktime(), and readcmdline().
| EXTERN_ int mb_height |
Definition at line 525 of file global.h.
Referenced by adaptive_quantization(), guess_mv(), and init().
| EXTERN_ int mb_height2 |
| EXTERN_ int mb_per_pict |
Definition at line 514 of file global.h.
Referenced by init(), iquantize(), ratectl_init_pict(), ratectl_init_seq(), and ratectl_update_pict().
| EXTERN_ int mb_width |
Definition at line 525 of file global.h.
Referenced by adaptive_quantization(), guess_mv(), init(), and slice_engine_loop().
| EXTERN_ int mc_22_red |
| EXTERN_ int mc_44_red |
| EXTERN_ struct motion_data* motion_data |
| EXTERN_ motion_engine_t* motion_engines |
Definition at line 395 of file global.h.
Referenced by motion_estimation(), start_motion_engines(), and stop_motion_engines().
| EXTERN_ int mpeg1 |
Definition at line 505 of file global.h.
Referenced by iquant_intra(), iquant_non_intra(), putAC(), putpict(), putpicthdr(), putseqhdr(), readcmdline(), and slice_engine_loop().
| EXTERN_ unsigned char mpeg2_zig_zag_scan[64] |
Definition at line 62 of file global.h.
Referenced by putintrablk(), putnonintrablk(), and putseqhdr().
| EXTERN_ unsigned char* neworgframe[3] |
| EXTERN_ unsigned char* newrefframe[3] |
| EXTERN_ int nframes |
| EXTERN_ char niqname[256] |
| EXTERN_ unsigned char non_linear_mquant_table_hv[32] |
| EXTERN_ unsigned char * oldorgframe[3] |
| EXTERN_ unsigned char * oldrefframe[3] |
| EXTERN_ int opt_dc_prec |
| EXTERN_ int opt_prog_frame |
| EXTERN_ int opt_repeatfirst |
| EXTERN_ int opt_topfirst |
| EXTERN_ char out_path[256] |
Definition at line 443 of file global.h.
Referenced by LoadBackup::handle_event(), LoadPrevious::handle_event(), mpeg2enc(), readcmdline(), and LoadFileThread::run().
| EXTERN_ FILE* outfile |
Definition at line 448 of file global.h.
Referenced by audio_decode_example(), main(), mpeg2enc(), mpeg2enc_putbits(), putseq(), and slice_finishslice().
| EXTERN_ pthread_mutex_t output_lock |
Definition at line 475 of file global.h.
Referenced by itransform(), motion_estimation(), mpeg2enc(), mpeg2enc_init_buffers(), mpeg2enc_set_input_buffers(), putpict(), read_buffers(), start_itransform_engines(), start_motion_engines(), start_slice_engines(), start_transform_engines(), stop_itransform_engines(), stop_motion_engines(), stop_slice_engines(), stop_transform_engines(), and transform().
| int(* pquant_non_intra)(pict_data_s *picture, int16_t *src, int16_t *dst, int mquant, int *nonsat_mquant) | ( | pict_data_s * | picture, | |
| int16_t * | src, | |||
| int16_t * | dst, | |||
| int | mquant, | |||
| int * | nonsat_mquant | |||
| ) |
Referenced by init_quantizer_hv().
| int(* pquant_weight_coeff_sum)(int16_t *blk, uint16_t *i_quant_mat) | ( | int16_t * | blk, | |
| uint16_t * | i_quant_mat | |||
| ) |
Referenced by calc_actj(), and init_quantizer_hv().
| EXTERN_ unsigned char* predframe[3] |
Definition at line 412 of file global.h.
Referenced by init(), mpeg3video_reconstruct(), predict_mb(), and putseq().
| EXTERN_ int processors |
Definition at line 493 of file global.h.
Referenced by init(), itransform(), motion_estimation(), putpict(), putseq(), readcmdline(), start_itransform_engines(), start_motion_engines(), start_slice_engines(), start_transform_engines(), stop_itransform_engines(), stop_motion_engines(), stop_slice_engines(), stop_transform_engines(), and transform().
| EXTERN_ int profile |
| EXTERN_ int prog_seq |
| EXTERN_ int qscale_tab[3] |
| EXTERN_ int qsubsample_offset |
Definition at line 510 of file global.h.
Referenced by fast_motion_data(), field_ME(), frame_ME(), fullsearch(), and init().
| EXTERN_ quicktime_t* qt_file |
Definition at line 467 of file global.h.
Referenced by mpeg2enc(), read_quicktime(), and readcmdline().
| EXTERN_ quicktime_t* qt_output |
| EXTERN_ double quant_floor |
Definition at line 488 of file global.h.
Referenced by ratectl_calc_mquant(), ratectl_start_mb(), ratectl_update_pict(), and readcmdline().
| EXTERN_ int quiet |
Definition at line 400 of file global.h.
Referenced by putmv(), putseq(), ratectl_init_pict(), ratectl_update_pict(), and readcmdline().
| EXTERN_ unsigned char** row_pointers |
Definition at line 486 of file global.h.
Referenced by main(), quicktime_fastjpg_MCU111111_to_RGB(), quicktime_fastjpg_MCU211111_to_RGB(), quicktime_fastjpg_MCU411111_to_RGB(), FileMOV::read_frame(), FileDV::read_frame(), readcmdline(), and FileDV::write_frames().
| EXTERN_ int rowsums_offset |
| EXTERN_ int seq_header_every_gop |
| EXTERN_ slice_engine_t* slice_engines |
Definition at line 398 of file global.h.
Referenced by putpict(), start_slice_engines(), and stop_slice_engines().
| EXTERN_ long start_frame |
Definition at line 494 of file global.h.
Referenced by get_qscale(), putseq(), readcmdline(), and BRenderThread::start().
| EXTERN_ FILE* statfile |
| EXTERN_ char statname[256] |
| EXTERN_ FILE* stdin_fd |
Definition at line 470 of file global.h.
Referenced by mpeg2enc(), read_stdin(), readcmdline(), and thread_fork().
| EXTERN_ int tc0 |
Definition at line 504 of file global.h.
Referenced by filter_mb_mbaff_edgev(), putgophdr(), and readcmdline().
| EXTERN_ char tplorg[256] |
| EXTERN_ char tplref[256] |
| EXTERN_ int transfer_characteristics |
Definition at line 552 of file global.h.
Referenced by mpeg3video_sequence_display_extension(), putseqdispext(), and readcmdline().
| EXTERN_ transform_engine_t* transform_engines |
Definition at line 396 of file global.h.
Referenced by start_transform_engines(), stop_transform_engines(), and transform().
| EXTERN_ int use_denoise_quant |
Definition at line 491 of file global.h.
Referenced by quant_hfnoise_filt(), readcmdline(), and readquantmat().
| EXTERN_ int use_hires_quant |
| EXTERN_ int vbv_buffer_size |
Definition at line 534 of file global.h.
Referenced by mpeg3video_getseqhdr(), putseqext(), putseqhdr(), and readcmdline().
| EXTERN_ int vertical_size |
Definition at line 522 of file global.h.
Referenced by init(), mpeg2enc_set_h(), putseqext(), putseqhdr(), read_mpeg(), read_quicktime(), readcmdline(), slice_engine_loop(), and writeframe().
| EXTERN_ int video_buffer_size |
Definition at line 533 of file global.h.
Referenced by ratectl_init_GOP(), ratectl_init_seq(), ratectl_update_pict(), and readcmdline().
| EXTERN_ int video_format |
Definition at line 550 of file global.h.
Referenced by mpeg3video_sequence_display_extension(), putseqdispext(), and readcmdline().
| EXTERN_ int width2 |
Definition at line 526 of file global.h.
Referenced by clearblock(), decode_frame(), dpfield_estimate(), encode_frame(), horizontal_compose53i(), horizontal_composeX(), horizontal_decompose53i(), horizontal_decomposeX(), init(), itransform_engine_loop(), and transform_engine_loop().
1.5.5