FFmpeg
|
Data Fields | |
AVCodecContext * | avctx |
int | num_substreams |
Number of substreams contained within this stream. More... | |
int | num_channels |
Number of channels in major_scratch_buffer. More... | |
int | coded_sample_fmt [2] |
sample format encoded for MLP More... | |
int | coded_sample_rate [2] |
sample rate encoded for MLP More... | |
int | coded_peak_bitrate |
peak bitrate for this major sync header More... | |
int | flags |
major sync info flags More... | |
int | substream_info |
int | fs |
int | wordlength |
int | channel_occupancy |
int | summary_info |
int32_t * | inout_buffer |
Pointer to data currently being read from lavc or written to bitstream. More... | |
int32_t * | major_inout_buffer |
Buffer with all in/out data for one entire major frame interval. More... | |
int32_t * | write_buffer |
Pointer to data currently being written to bitstream. More... | |
int32_t * | sample_buffer |
Pointer to current access unit samples. More... | |
int32_t * | major_scratch_buffer |
Scratch buffer big enough to fit all data for one entire major frame interval. More... | |
int32_t * | last_frame |
Pointer to last frame with data to encode. More... | |
int32_t * | lpc_sample_buffer |
unsigned int | major_number_of_frames |
unsigned int | next_major_number_of_frames |
unsigned int | major_frame_size |
Number of samples in current major frame being encoded. More... | |
unsigned int | next_major_frame_size |
Counter of number of samples for next major frame. More... | |
int32_t * | lossless_check_data |
Array with lossless_check_data for each access unit. More... | |
unsigned int * | max_output_bits |
largest output bit-depth More... | |
unsigned int * | frame_size |
Array with number of samples/channel in each access unit. More... | |
unsigned int | frame_index |
Index of current frame being encoded. More... | |
unsigned int | one_sample_buffer_size |
Number of samples*channel for one access unit. More... | |
unsigned int | max_restart_interval |
Max interval of access units in between two major frames. More... | |
unsigned int | min_restart_interval |
Min interval of access units in between two major frames. More... | |
unsigned int | restart_intervals |
Number of possible major frame sizes. More... | |
uint16_t | timestamp |
Timestamp of current access unit. More... | |
uint16_t | dts |
Decoding timestamp of current access unit. More... | |
uint8_t | channel_arrangement |
channel arrangement for MLP streams More... | |
uint8_t | ch_modifier_thd0 |
channel modifier for TrueHD stream 0 More... | |
uint8_t | ch_modifier_thd1 |
channel modifier for TrueHD stream 1 More... | |
uint8_t | ch_modifier_thd2 |
channel modifier for TrueHD stream 2 More... | |
unsigned int | seq_size [MAJOR_HEADER_INTERVAL] |
unsigned int | seq_offset [MAJOR_HEADER_INTERVAL] |
unsigned int | sequence_size |
ChannelParams * | channel_params |
BestOffset | best_offset [MAJOR_HEADER_INTERVAL+1][MAX_CHANNELS][NUM_CODEBOOKS] |
DecodingParams * | decoding_params |
RestartHeader | restart_header [MAX_SUBSTREAMS] |
ChannelParams | major_channel_params [MAJOR_HEADER_INTERVAL+1][MAX_CHANNELS] |
ChannelParams to be written to bitstream. More... | |
DecodingParams | major_decoding_params [MAJOR_HEADER_INTERVAL+1][MAX_SUBSTREAMS] |
DecodingParams to be written to bitstream. More... | |
int | major_params_changed [MAJOR_HEADER_INTERVAL+1][MAX_SUBSTREAMS] |
params_changed to be written to bitstream. More... | |
unsigned int | major_cur_subblock_index |
unsigned int | major_filter_state_subblock |
unsigned int | major_number_of_subblocks |
BestOffset(* | cur_best_offset )[NUM_CODEBOOKS] |
ChannelParams * | cur_channel_params |
DecodingParams * | cur_decoding_params |
RestartHeader * | cur_restart_header |
AudioFrameQueue | afq |
unsigned int | starting_frame_index |
unsigned int | number_of_frames |
unsigned int | number_of_samples |
unsigned int | number_of_subblocks |
unsigned int | seq_index |
Sequence index for high compression levels. More... | |
ChannelParams * | prev_channel_params |
DecodingParams * | prev_decoding_params |
ChannelParams * | seq_channel_params |
DecodingParams * | seq_decoding_params |
unsigned int | max_codebook_search |
LPCContext | lpc_ctx |
AVCodecContext* MLPEncodeContext::avctx |
Definition at line 103 of file mlpenc.c.
Referenced by analyze_sample_buffer(), apply_filter(), clear_channel_params(), copy_restart_frame_params(), input_data(), input_to_sample_buffer(), mlp_encode_frame(), mlp_encode_init(), rematrix_channels(), set_best_codebook(), set_major_params(), and write_major_sync().
int MLPEncodeContext::num_substreams |
Number of substreams contained within this stream.
Definition at line 105 of file mlpenc.c.
Referenced by analyze_sample_buffer(), clear_decoding_params(), copy_restart_frame_params(), default_decoding_params(), input_data_internal(), mlp_encode_frame(), mlp_encode_init(), process_major_frame(), set_major_params(), write_access_unit(), write_frame_headers(), and write_substrs().
int MLPEncodeContext::num_channels |
Number of channels in major_scratch_buffer.
Normal channels + noise channels.
Definition at line 107 of file mlpenc.c.
Referenced by analyze_sample_buffer(), apply_filter(), code_matrix_coeffs(), codebook_bits_offset(), compare_matrix_params(), determine_bits(), estimate_stereo_mode(), generate_2_noise_channels(), lossless_matrix_coeffs(), mlp_encode_init(), rematrix_channels(), set_filter_params(), and write_matrix_params().
int MLPEncodeContext::coded_sample_fmt[2] |
sample format encoded for MLP
Definition at line 110 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
int MLPEncodeContext::coded_sample_rate[2] |
sample rate encoded for MLP
Definition at line 111 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
int MLPEncodeContext::coded_peak_bitrate |
peak bitrate for this major sync header
Definition at line 112 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
int MLPEncodeContext::flags |
major sync info flags
Definition at line 114 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
int MLPEncodeContext::substream_info |
Definition at line 117 of file mlpenc.c.
Referenced by mlp_encode_init(), set_filter_params(), and write_major_sync().
int MLPEncodeContext::fs |
Definition at line 118 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
int MLPEncodeContext::wordlength |
Definition at line 119 of file mlpenc.c.
Referenced by apply_filter(), mlp_encode_init(), and write_major_sync().
int MLPEncodeContext::channel_occupancy |
Definition at line 120 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
int MLPEncodeContext::summary_info |
Definition at line 121 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
int32_t* MLPEncodeContext::inout_buffer |
Pointer to data currently being read from lavc or written to bitstream.
Definition at line 123 of file mlpenc.c.
Referenced by input_data_internal(), input_to_sample_buffer(), mlp_encode_frame(), and write_substrs().
int32_t* MLPEncodeContext::major_inout_buffer |
Buffer with all in/out data for one entire major frame interval.
Definition at line 124 of file mlpenc.c.
Referenced by mlp_encode_close(), mlp_encode_frame(), mlp_encode_init(), and process_major_frame().
int32_t* MLPEncodeContext::write_buffer |
Pointer to data currently being written to bitstream.
Definition at line 125 of file mlpenc.c.
Referenced by mlp_encode_frame(), and write_block_data().
int32_t* MLPEncodeContext::sample_buffer |
Pointer to current access unit samples.
Definition at line 126 of file mlpenc.c.
Referenced by analyze_sample_buffer(), apply_filter(), codebook_bits_offset(), determine_bits(), determine_quant_step_size(), estimate_stereo_mode(), generate_2_noise_channels(), input_to_sample_buffer(), mlp_encode_frame(), process_major_frame(), rematrix_channels(), and set_filter_params().
int32_t* MLPEncodeContext::major_scratch_buffer |
Scratch buffer big enough to fit all data for one entire major frame interval.
Definition at line 127 of file mlpenc.c.
Referenced by mlp_encode_close(), mlp_encode_frame(), and mlp_encode_init().
int32_t* MLPEncodeContext::last_frame |
Pointer to last frame with data to encode.
Definition at line 128 of file mlpenc.c.
Referenced by mlp_encode_frame(), and write_substrs().
int32_t* MLPEncodeContext::lpc_sample_buffer |
Definition at line 130 of file mlpenc.c.
Referenced by mlp_encode_close(), mlp_encode_init(), and set_filter_params().
unsigned int MLPEncodeContext::major_number_of_frames |
Definition at line 132 of file mlpenc.c.
Referenced by mlp_encode_frame(), and process_major_frame().
unsigned int MLPEncodeContext::next_major_number_of_frames |
Definition at line 133 of file mlpenc.c.
Referenced by mlp_encode_frame().
unsigned int MLPEncodeContext::major_frame_size |
Number of samples in current major frame being encoded.
Definition at line 135 of file mlpenc.c.
Referenced by mlp_encode_frame(), and process_major_frame().
unsigned int MLPEncodeContext::next_major_frame_size |
Counter of number of samples for next major frame.
Definition at line 136 of file mlpenc.c.
Referenced by mlp_encode_frame().
int32_t* MLPEncodeContext::lossless_check_data |
Array with lossless_check_data for each access unit.
Definition at line 138 of file mlpenc.c.
Referenced by input_data_internal(), mlp_encode_close(), mlp_encode_init(), and write_substrs().
unsigned int* MLPEncodeContext::max_output_bits |
largest output bit-depth
Definition at line 140 of file mlpenc.c.
Referenced by input_data_internal(), mlp_encode_init(), and set_major_params().
unsigned int* MLPEncodeContext::frame_size |
Array with number of samples/channel in each access unit.
Definition at line 141 of file mlpenc.c.
Referenced by analyze_sample_buffer(), input_data_internal(), input_to_sample_buffer(), mlp_encode_close(), mlp_encode_frame(), and mlp_encode_init().
unsigned int MLPEncodeContext::frame_index |
Index of current frame being encoded.
Definition at line 142 of file mlpenc.c.
Referenced by input_data_internal(), mlp_encode_frame(), and write_substrs().
unsigned int MLPEncodeContext::one_sample_buffer_size |
Number of samples*channel for one access unit.
Definition at line 144 of file mlpenc.c.
Referenced by input_to_sample_buffer(), mlp_encode_frame(), and mlp_encode_init().
unsigned int MLPEncodeContext::max_restart_interval |
Max interval of access units in between two major frames.
Definition at line 146 of file mlpenc.c.
Referenced by input_to_sample_buffer(), mlp_encode_frame(), and mlp_encode_init().
unsigned int MLPEncodeContext::min_restart_interval |
Min interval of access units in between two major frames.
Definition at line 147 of file mlpenc.c.
Referenced by mlp_encode_frame(), and mlp_encode_init().
unsigned int MLPEncodeContext::restart_intervals |
Number of possible major frame sizes.
Definition at line 148 of file mlpenc.c.
Referenced by mlp_encode_frame(), mlp_encode_init(), and set_major_params().
uint16_t MLPEncodeContext::timestamp |
Timestamp of current access unit.
Definition at line 150 of file mlpenc.c.
Referenced by mlp_encode_frame(), and write_restart_header().
uint16_t MLPEncodeContext::dts |
Decoding timestamp of current access unit.
Definition at line 151 of file mlpenc.c.
Referenced by mlp_encode_frame(), mlp_encode_init(), and write_frame_headers().
uint8_t MLPEncodeContext::channel_arrangement |
channel arrangement for MLP streams
Definition at line 153 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
uint8_t MLPEncodeContext::ch_modifier_thd0 |
channel modifier for TrueHD stream 0
Definition at line 155 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
uint8_t MLPEncodeContext::ch_modifier_thd1 |
channel modifier for TrueHD stream 1
Definition at line 156 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
uint8_t MLPEncodeContext::ch_modifier_thd2 |
channel modifier for TrueHD stream 2
Definition at line 157 of file mlpenc.c.
Referenced by mlp_encode_init(), and write_major_sync().
unsigned int MLPEncodeContext::seq_size[MAJOR_HEADER_INTERVAL] |
Definition at line 159 of file mlpenc.c.
Referenced by mlp_encode_frame(), mlp_encode_init(), and set_major_params().
unsigned int MLPEncodeContext::seq_offset[MAJOR_HEADER_INTERVAL] |
Definition at line 160 of file mlpenc.c.
Referenced by mlp_encode_frame(), mlp_encode_init(), and set_major_params().
unsigned int MLPEncodeContext::sequence_size |
Definition at line 161 of file mlpenc.c.
Referenced by mlp_encode_frame(), mlp_encode_init(), and set_major_params().
ChannelParams* MLPEncodeContext::channel_params |
Definition at line 163 of file mlpenc.c.
Referenced by mlp_encode_close(), mlp_encode_frame(), mlp_encode_init(), and set_major_params().
BestOffset MLPEncodeContext::best_offset[MAJOR_HEADER_INTERVAL+1][MAX_CHANNELS][NUM_CODEBOOKS] |
Definition at line 165 of file mlpenc.c.
Referenced by analyze_sample_buffer(), best_codebook_path_cost(), and set_best_codebook().
DecodingParams* MLPEncodeContext::decoding_params |
Definition at line 167 of file mlpenc.c.
Referenced by mlp_encode_close(), mlp_encode_frame(), mlp_encode_init(), and set_major_params().
RestartHeader MLPEncodeContext::restart_header[MAX_SUBSTREAMS] |
Definition at line 168 of file mlpenc.c.
Referenced by analyze_sample_buffer(), input_data_internal(), mlp_encode_init(), process_major_frame(), set_major_params(), and write_substrs().
ChannelParams MLPEncodeContext::major_channel_params[MAJOR_HEADER_INTERVAL+1][MAX_CHANNELS] |
ChannelParams to be written to bitstream.
Definition at line 170 of file mlpenc.c.
Referenced by process_major_frame(), set_major_params(), and write_substrs().
DecodingParams MLPEncodeContext::major_decoding_params[MAJOR_HEADER_INTERVAL+1][MAX_SUBSTREAMS] |
DecodingParams to be written to bitstream.
Definition at line 171 of file mlpenc.c.
Referenced by process_major_frame(), set_major_params(), and write_substrs().
int MLPEncodeContext::major_params_changed[MAJOR_HEADER_INTERVAL+1][MAX_SUBSTREAMS] |
params_changed to be written to bitstream.
Definition at line 172 of file mlpenc.c.
Referenced by set_major_params(), and write_substrs().
unsigned int MLPEncodeContext::major_cur_subblock_index |
Definition at line 174 of file mlpenc.c.
Referenced by set_major_params(), and write_substrs().
unsigned int MLPEncodeContext::major_filter_state_subblock |
Definition at line 175 of file mlpenc.c.
Referenced by set_major_params(), and write_substrs().
unsigned int MLPEncodeContext::major_number_of_subblocks |
Definition at line 176 of file mlpenc.c.
Referenced by set_major_params().
BestOffset(* MLPEncodeContext::cur_best_offset)[NUM_CODEBOOKS] |
Definition at line 178 of file mlpenc.c.
Referenced by analyze_sample_buffer(), and determine_bits().
ChannelParams* MLPEncodeContext::cur_channel_params |
Definition at line 179 of file mlpenc.c.
Referenced by analyze_sample_buffer(), apply_filter(), compare_decoding_params(), copy_restart_frame_params(), determine_bits(), process_major_frame(), set_filter_params(), set_major_params(), write_block_data(), write_decoding_params(), write_filter_params(), and write_substrs().
DecodingParams* MLPEncodeContext::cur_decoding_params |
Definition at line 180 of file mlpenc.c.
Referenced by analyze_sample_buffer(), apply_filter(), code_matrix_coeffs(), codebook_bits_offset(), compare_decoding_params(), copy_restart_frame_params(), determine_bits(), determine_quant_step_size(), lossless_matrix_coeffs(), no_codebook_bits(), no_codebook_bits_offset(), process_major_frame(), rematrix_channels(), set_best_codebook(), set_major_params(), write_block_data(), write_decoding_params(), write_matrix_params(), and write_substrs().
RestartHeader* MLPEncodeContext::cur_restart_header |
Definition at line 181 of file mlpenc.c.
Referenced by analyze_sample_buffer(), apply_filters(), compare_decoding_params(), compare_matrix_params(), determine_bits(), determine_filters(), determine_quant_step_size(), generate_2_noise_channels(), process_major_frame(), set_best_codebook(), set_major_params(), write_block_data(), write_decoding_params(), write_restart_header(), and write_substrs().
AudioFrameQueue MLPEncodeContext::afq |
Definition at line 183 of file mlpenc.c.
Referenced by mlp_encode_close(), mlp_encode_frame(), and mlp_encode_init().
unsigned int MLPEncodeContext::starting_frame_index |
Definition at line 186 of file mlpenc.c.
Referenced by input_to_sample_buffer(), mlp_encode_frame(), and process_major_frame().
unsigned int MLPEncodeContext::number_of_frames |
Definition at line 187 of file mlpenc.c.
Referenced by analyze_sample_buffer(), input_to_sample_buffer(), mlp_encode_frame(), process_major_frame(), and set_major_params().
unsigned int MLPEncodeContext::number_of_samples |
Definition at line 188 of file mlpenc.c.
Referenced by apply_filter(), determine_quant_step_size(), estimate_stereo_mode(), generate_2_noise_channels(), mlp_encode_frame(), mlp_encode_init(), process_major_frame(), rematrix_channels(), and set_filter_params().
unsigned int MLPEncodeContext::number_of_subblocks |
Definition at line 189 of file mlpenc.c.
Referenced by analyze_sample_buffer(), copy_restart_frame_params(), mlp_encode_frame(), set_best_codebook(), and set_major_params().
unsigned int MLPEncodeContext::seq_index |
Sequence index for high compression levels.
Definition at line 190 of file mlpenc.c.
Referenced by mlp_encode_frame().
ChannelParams* MLPEncodeContext::prev_channel_params |
Definition at line 192 of file mlpenc.c.
Referenced by compare_decoding_params(), and set_major_params().
DecodingParams* MLPEncodeContext::prev_decoding_params |
Definition at line 193 of file mlpenc.c.
Referenced by compare_decoding_params(), and set_major_params().
ChannelParams* MLPEncodeContext::seq_channel_params |
Definition at line 195 of file mlpenc.c.
Referenced by analyze_sample_buffer(), copy_restart_frame_params(), mlp_encode_frame(), and set_best_codebook().
DecodingParams* MLPEncodeContext::seq_decoding_params |
Definition at line 196 of file mlpenc.c.
Referenced by analyze_sample_buffer(), copy_restart_frame_params(), and mlp_encode_frame().
unsigned int MLPEncodeContext::max_codebook_search |
Definition at line 198 of file mlpenc.c.
Referenced by codebook_bits(), and mlp_encode_init().
LPCContext MLPEncodeContext::lpc_ctx |
Definition at line 200 of file mlpenc.c.
Referenced by mlp_encode_close(), mlp_encode_init(), and set_filter_params().