C# Класс CUETools.Codecs.FLAKE.FlakeWriter

Наследование: IAudioDest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Close ( ) : void
Delete ( ) : void
FlakeWriter ( string path, CUETools.Codecs.AudioPCMConfig pcm ) : System
FlakeWriter ( string path, Stream IO, CUETools.Codecs.AudioPCMConfig pcm ) : System
Write ( AudioBuffer buff ) : void

Приватные методы

Метод Описание
DoClose ( ) : void
GetCurrentThread ( ) : IntPtr
GetThreadTimes ( IntPtr hThread, long &lpCreationTime, long &lpExitTime, long &lpKernelTime, long &lpUserTime ) : bool
calc_lower_sums ( int pmin, int pmax, ulong sums ) : void
calc_optimal_rice_params ( int porder, int parm, ulong sums, uint n, uint pred_order, int &method ) : uint
calc_rice_params ( RiceContext rc, int pmin, int pmax, int data, uint n, uint pred_order, int bps ) : uint
calc_sums ( int pmin, int pmax, uint data, uint n, uint pred_order, ulong sums ) : void
calc_sums16 ( int pmin, int pmax, uint data, uint n, uint pred_order, ulong sums ) : void

Special case when (n >> pmax) == 18

calc_sums18 ( int pmin, int pmax, uint data, uint n, uint pred_order, ulong sums ) : void

Special case when (n >> pmax) == 18

calculate_window ( float window, window_function func, WindowFunction flag ) : void
copy_samples ( int samples, int pos, int block ) : void

Copy channel-interleaved input samples into separate subframes

encode_estimated_frame ( FlacFrame frame ) : void
encode_frame ( int &size ) : int
encode_residual ( FlacFrame frame, int ch, PredictionType predict, OrderMethod omethod, int pass, int best_window ) : void
encode_residual_fixed ( int res, int smp, int n, int order ) : void
encode_residual_fixed_sub ( FlacFrame frame, int order, int ch ) : void
encode_residual_lpc_sub ( FlacFrame frame, float lpcs, int iWindow, int order, int ch ) : void
encode_residual_pass1 ( FlacFrame frame, int ch, int best_window ) : void
encode_residual_pass2 ( FlacFrame frame, int ch ) : void
encode_residual_verbatim ( int res, int smp, uint n ) : void
estimate_best_window ( FlacFrame frame, int ch ) : int
estimate_frame ( FlacFrame frame, bool do_midside ) : void
flake_encode_init ( ) : int
get_max_p_order ( int max_porder, int n, int order ) : int
get_wasted_bits ( int signal, int samples ) : int
measure_frame_size ( FlacFrame frame, bool do_midside ) : uint
output_frame ( ) : int
output_frame_footer ( BitWriter bitwriter ) : void
output_frame_header ( FlacFrame frame, BitWriter bitwriter ) : void
output_residual ( FlacFrame frame, BitWriter bitwriter, FlacSubframeInfo sub ) : void
output_subframe_constant ( FlacFrame frame, BitWriter bitwriter, FlacSubframeInfo sub ) : void
output_subframe_fixed ( FlacFrame frame, BitWriter bitwriter, FlacSubframeInfo sub ) : void
output_subframe_lpc ( FlacFrame frame, BitWriter bitwriter, FlacSubframeInfo sub ) : void
output_subframe_verbatim ( FlacFrame frame, BitWriter bitwriter, FlacSubframeInfo sub ) : void
output_subframes ( FlacFrame frame, BitWriter bitwriter ) : void
select_blocksize ( int samplerate, int time_ms ) : int
write_headers ( ) : int
write_padding ( byte padding, int pos, int last, int padlen ) : int
write_seekpoints ( byte header, int pos, int last ) : int
write_streaminfo ( byte header, int pos, int last ) : void
write_vorbis_comment ( byte comment, int pos, int last ) : int

Описание методов

Close() публичный Метод

public Close ( ) : void
Результат void

Delete() публичный Метод

public Delete ( ) : void
Результат void

FlakeWriter() публичный Метод

public FlakeWriter ( string path, CUETools.Codecs.AudioPCMConfig pcm ) : System
path string
pcm CUETools.Codecs.AudioPCMConfig
Результат System

FlakeWriter() публичный Метод

public FlakeWriter ( string path, Stream IO, CUETools.Codecs.AudioPCMConfig pcm ) : System
path string
IO Stream
pcm CUETools.Codecs.AudioPCMConfig
Результат System

Write() публичный Метод

public Write ( AudioBuffer buff ) : void
buff AudioBuffer
Результат void