#include "bitspopup.inc"#include "condition.inc"#include "file.inc"#include "filebase.h"#include <lame/lame.h>#include "libmpeg3.h"#include "thread.h"


Go to the source code of this file.
Data Structures | |
| class | FileMPEG |
| class | FileMPEGVideo |
| class | FileMPEGAudio |
| class | MPEGConfigAudio |
| class | MPEGLayer |
| class | MPEGABitrate |
| class | MPEGPreset |
| class | MPEGColorModel |
| class | MPEGDerivative |
| class | MPEGBitrate |
| class | MPEGQuant |
| class | MPEGIFrameDistance |
| class | MPEGPFrameDistance |
| class | MPEGFixedBitrate |
| class | MPEGFixedQuant |
| class | MPEGSeqCodes |
| class | MPEGConfigVideo |
Functions | |
| void | mpeg2enc_init_buffers () |
| int | mpeg2enc (int argc, char *argv[]) |
| void | mpeg2enc_set_w (int width) |
| void | mpeg2enc_set_h (int height) |
| void | mpeg2enc_set_rate (double rate) |
| void | mpeg2enc_set_input_buffers (int eof, char *y, char *u, char *v) |
| void | toolame_init_buffers () |
| int | toolame (int argc, char **argv) |
| int | toolame_send_buffer (char *data, int bytes) |
| int mpeg2enc | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 102 of file mpeg2enc.c.
References do_stdin, error(), errortext, fclose(), fopen(), fprintf, init, input_lock, mpeg3_close(), mpeg_file, nframes, out_path, outfile, output_lock, putseq(), qt_file, qt_output, quicktime_close(), readcmdline(), readquantmat(), statfile, stdin_fd, stop_itransform_engines(), stop_motion_engines(), stop_slice_engines(), stop_transform_engines(), and verbose.
Referenced by FileMPEGVideo::run().

| void mpeg2enc_init_buffers | ( | ) |
Definition at line 92 of file mpeg2enc.c.
References copy_lock, input_buffer_end, input_lock, and output_lock.
Referenced by FileMPEGVideo::FileMPEGVideo().
| void mpeg2enc_set_h | ( | int | height | ) |
Definition at line 70 of file mpeg2enc.c.
References vertical_size.
Referenced by FileMPEGVideo::FileMPEGVideo().
| void mpeg2enc_set_input_buffers | ( | int | eof, | |
| char * | y, | |||
| char * | u, | |||
| char * | v | |||
| ) |
Definition at line 80 of file mpeg2enc.c.
References copy_lock, input_buffer_end, input_buffer_u, input_buffer_v, input_buffer_y, input_lock, and output_lock.
Referenced by FileMPEG::close_file(), and FileMPEG::write_frames().
| void mpeg2enc_set_rate | ( | double | rate | ) |
Definition at line 75 of file mpeg2enc.c.
References input_frame_rate.
Referenced by FileMPEGVideo::FileMPEGVideo().
| void mpeg2enc_set_w | ( | int | width | ) |
Definition at line 65 of file mpeg2enc.c.
References horizontal_size.
Referenced by FileMPEGVideo::FileMPEGVideo().
| int toolame | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 201 of file toolame.c.
References frame_info::actual_mode, frame_info::alloc, available_bits(), bit_alloc(), bitrate, bit_stream_struc::buf, bit_stream_struc::buf_byte_idx, bit_stream_struc::buf_size, close_bit_stream_w(), combine_LR(), combine_LR_new(), CRC_calc(), CRC_calcDAB(), frame_header::dab_extension, frame_header::dab_length, encode_bit_alloc(), encode_CRC(), encode_info(), encode_scale(), frame_header::error_protection, frame_header::extension, filter_subband(), find_sf_max(), FLOAT, fprintf, frameNum, get_audio(), global_init(), glopts, HAN_SIZE, hdr_to_frps(), frame_info::header, header, main_bit_allocation(), main_bit_allocation_new(), MAX_NAME_SIZE, mem_alloc(), MINIMUM, minimum, model, MPEG_AUDIO_ID, MPG_MD_JOINT_STEREO, musicin, frame_info::nch, NULL, parse_args(), pick_scale(), print_config(), programName, psycho_0(), psycho_1(), psycho_2(), psycho_3(), psycho_4(), psycho_n1(), put1bit(), putbits(), options::quickcount, options::quickmode, s_freq, sample_encoding(), frame_header::sampling_frequency, frame_info::sblimit, SBLIMIT, SCALE_BLOCK, scale_factor_calc(), scalefactor_calc_new(), sf_transmission_pattern(), short_usage(), smr_dump(), sstell(), subband_quantization(), subband_quantization_new(), frame_info::tab_num, toolame_error, toolame_output_lock, transmission_pattern(), TRUE, options::vbr, vbrstats, vbrstats_new, options::verbosity, frame_header::version, window_subband(), WindowFilterSubband(), write_bit_alloc(), write_header(), write_samples_new(), and write_scalefactors().
Referenced by FileMPEGAudio::run().

| void toolame_init_buffers | ( | ) |
Definition at line 42 of file toolame.c.
References toolame_buffer, toolame_buffer_bytes, TOOLAME_BUFFER_BYTES, toolame_eof, toolame_error, toolame_input_lock, and toolame_output_lock.
Referenced by FileMPEGAudio::FileMPEGAudio().
| int toolame_send_buffer | ( | char * | data, | |
| int | bytes | |||
| ) |
Definition at line 53 of file toolame.c.
References fprintf, memcpy, toolame_buffer, toolame_buffer_bytes, TOOLAME_BUFFER_BYTES, toolame_eof, toolame_error, toolame_input_lock, and toolame_output_lock.
Referenced by FileMPEG::close_file(), and FileMPEG::write_samples().
1.5.5