Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
opus build
// cl /I celt /I silk /I silk/float /I include /c opus.c
// lib opus.obj
#define OPUS_CPU_X64
#define USE_ALLOCA
#define OPUS_BUILD
#include "celt/bands.c"
#include "celt/celt.c"
#include "celt/celt_encoder.c"
#include "celt/celt_decoder.c"
#include "celt/cwrs.c"
#include "celt/entcode.c"
#include "celt/entdec.c"
#include "celt/entenc.c"
#include "celt/kiss_fft.c"
#include "celt/laplace.c"
#include "celt/mathops.c"
#include "celt/mdct.c"
#include "celt/modes.c"
#include "celt/pitch.c"
#include "celt/celt_lpc.c"
#include "celt/quant_bands.c"
#include "celt/rate.c"
#include "celt/vq.c"
#undef PI
#include "silk/CNG.c"
#include "silk/code_signs.c"
#include "silk/init_decoder.c"
#include "silk/decode_core.c"
#include "silk/decode_frame.c"
#include "silk/decode_parameters.c"
#include "silk/decode_indices.c"
#include "silk/decode_pulses.c"
#include "silk/decoder_set_fs.c"
#include "silk/dec_API.c"
#include "silk/enc_API.c"
#include "silk/encode_indices.c"
#include "silk/encode_pulses.c"
#include "silk/gain_quant.c"
#include "silk/interpolate.c"
#include "silk/LP_variable_cutoff.c"
#include "silk/NLSF_decode.c"
#include "silk/NSQ.c"
#include "silk/NSQ_del_dec.c"
#include "silk/PLC.c"
#include "silk/shell_coder.c"
#include "silk/tables_gain.c"
#include "silk/tables_LTP.c"
#include "silk/tables_NLSF_CB_NB_MB.c"
#include "silk/tables_NLSF_CB_WB.c"
#include "silk/tables_other.c"
#include "silk/tables_pitch_lag.c"
#include "silk/tables_pulses_per_block.c"
#include "silk/VAD.c"
#include "silk/control_audio_bandwidth.c"
#include "silk/quant_LTP_gains.c"
#include "silk/VQ_WMat_EC.c"
#include "silk/HP_variable_cutoff.c"
#include "silk/NLSF_encode.c"
#include "silk/NLSF_VQ.c"
#include "silk/NLSF_unpack.c"
#include "silk/NLSF_del_dec_quant.c"
#include "silk/process_NLSFs.c"
#include "silk/stereo_LR_to_MS.c"
#include "silk/stereo_MS_to_LR.c"
#include "silk/check_control_input.c"
#include "silk/control_SNR.c"
#include "silk/init_encoder.c"
#include "silk/control_codec.c"
#include "silk/A2NLSF.c"
#include "silk/ana_filt_bank_1.c"
#include "silk/biquad_alt.c"
#include "silk/bwexpander_32.c"
#include "silk/bwexpander.c"
#include "silk/decode_pitch.c"
#include "silk/inner_prod_aligned.c"
#include "silk/lin2log.c"
#include "silk/log2lin.c"
#include "silk/LPC_analysis_filter.c"
#include "silk/LPC_inv_pred_gain.c"
#include "silk/table_LSF_cos.c"
#undef QA
#include "silk/NLSF2A.c"
#include "silk/NLSF_stabilize.c"
#include "silk/NLSF_VQ_weights_laroia.c"
#include "silk/pitch_est_tables.c"
#include "silk/resampler.c"
#include "silk/resampler_down2_3.c"
#include "silk/resampler_down2.c"
#include "silk/resampler_private_AR2.c"
#include "silk/resampler_private_down_FIR.c"
#include "silk/resampler_private_IIR_FIR.c"
#include "silk/resampler_private_up2_HQ.c"
#include "silk/resampler_rom.c"
#include "silk/sigm_Q15.c"
#include "silk/sort.c"
#include "silk/sum_sqr_shift.c"
#include "silk/stereo_decode_pred.c"
#include "silk/stereo_encode_pred.c"
#include "silk/stereo_find_predictor.c"
#include "silk/stereo_quant_pred.c"
#include "silk/LPC_fit.c"
#include "silk/float/apply_sine_window_FLP.c"
#include "silk/float/corrMatrix_FLP.c"
#include "silk/float/encode_frame_FLP.c"
#include "silk/float/find_LPC_FLP.c"
#include "silk/float/find_LTP_FLP.c"
#include "silk/float/find_pitch_lags_FLP.c"
#include "silk/float/find_pred_coefs_FLP.c"
#include "silk/float/LPC_analysis_filter_FLP.c"
#include "silk/float/LTP_analysis_filter_FLP.c"
#include "silk/float/LTP_scale_ctrl_FLP.c"
#include "silk/float/noise_shape_analysis_FLP.c"
#include "silk/float/process_gains_FLP.c"
#include "silk/float/regularize_correlations_FLP.c"
#include "silk/float/residual_energy_FLP.c"
#include "silk/float/warped_autocorrelation_FLP.c"
#include "silk/float/wrappers_FLP.c"
#include "silk/float/autocorrelation_FLP.c"
#include "silk/float/burg_modified_FLP.c"
#include "silk/float/bwexpander_FLP.c"
#include "silk/float/energy_FLP.c"
#include "silk/float/inner_product_FLP.c"
#include "silk/float/k2a_FLP.c"
#include "silk/float/LPC_inv_pred_gain_FLP.c"
#include "silk/float/pitch_analysis_core_FLP.c"
#include "silk/float/scale_copy_vector_FLP.c"
#include "silk/float/scale_vector_FLP.c"
#include "silk/float/schur_FLP.c"
#include "silk/float/sort_FLP.c"
#include "src/analysis.c"
#include "src/mapping_matrix.c"
#include "src/mlp_data.c"
#include "src/mlp.c"
#include "src/opus_decoder.c"
#include "src/opus_encoder.c"
#include "src/opus_multistream.c"
#include "src/opus_multistream_decoder.c"
#include "src/opus_multistream_encoder.c"
#include "src/opus_projection_decoder.c"
#include "src/opus_projection_encoder.c"
#include "src/repacketizer.c"
#include "src/opus.c"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment