hvirtual/cinelerra/filempeg.h File Reference

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

Include dependency graph for filempeg.h:

This graph shows which files directly or indirectly include this file:

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)


Function Documentation

int mpeg2enc ( int  argc,
char *  argv[] 
)

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 
)

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().

Here is the call graph for this function:

void toolame_init_buffers (  ) 

int toolame_send_buffer ( char *  data,
int  bytes 
)


Generated on Mon Apr 28 13:54:20 2008 for Cinelerra by  doxygen 1.5.5