2001-06-14 19:10:14 +00:00
|
|
|
/* libFLAC - Free Lossless Audio Codec library
|
|
|
|
|
* Copyright (C) 2001 Josh Coalson
|
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Library General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef FLAC__PROTECTED__STREAM_ENCODER_H
|
|
|
|
|
#define FLAC__PROTECTED__STREAM_ENCODER_H
|
|
|
|
|
|
|
|
|
|
#include "FLAC/stream_encoder.h"
|
|
|
|
|
|
|
|
|
|
typedef struct FLAC__StreamEncoderProtected {
|
|
|
|
|
FLAC__StreamEncoderState state;
|
|
|
|
|
bool streamable_subset;
|
|
|
|
|
bool do_mid_side_stereo;
|
|
|
|
|
bool loose_mid_side_stereo;
|
|
|
|
|
unsigned channels;
|
|
|
|
|
unsigned bits_per_sample;
|
|
|
|
|
unsigned sample_rate;
|
|
|
|
|
unsigned blocksize;
|
|
|
|
|
unsigned max_lpc_order;
|
|
|
|
|
unsigned qlp_coeff_precision;
|
|
|
|
|
bool do_qlp_coeff_prec_search;
|
|
|
|
|
bool do_exhaustive_model_search;
|
|
|
|
|
unsigned min_residual_partition_order;
|
|
|
|
|
unsigned max_residual_partition_order;
|
|
|
|
|
unsigned rice_parameter_search_dist;
|
|
|
|
|
uint64 total_samples_estimate;
|
|
|
|
|
const FLAC__StreamMetaData_SeekTable *seek_table;
|
2001-06-16 07:32:25 +00:00
|
|
|
unsigned padding;
|
|
|
|
|
bool last_metadata_is_last;
|
2001-06-14 19:10:14 +00:00
|
|
|
} FLAC__StreamEncoderProtected;
|
|
|
|
|
|
|
|
|
|
#endif
|