Files
flac/src/libFLAC/include/protected/stream_encoder.h

48 lines
1.6 KiB
C
Raw Normal View History

2001-06-14 19:10:14 +00:00
/* libFLAC - Free Lossless Audio Codec library
2002-01-26 18:05:12 +00:00
* Copyright (C) 2001,2002 Josh Coalson
2001-06-14 19:10:14 +00:00
*
* 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;
2001-06-23 03:03:24 +00:00
FLAC__bool streamable_subset;
FLAC__bool do_mid_side_stereo;
FLAC__bool loose_mid_side_stereo;
2001-06-14 19:10:14 +00:00
unsigned channels;
unsigned bits_per_sample;
unsigned sample_rate;
unsigned blocksize;
unsigned max_lpc_order;
unsigned qlp_coeff_precision;
2001-06-23 03:03:24 +00:00
FLAC__bool do_qlp_coeff_prec_search;
FLAC__bool do_exhaustive_model_search;
2001-07-12 21:22:17 +00:00
FLAC__bool do_escape_coding;
2001-06-14 19:10:14 +00:00
unsigned min_residual_partition_order;
unsigned max_residual_partition_order;
unsigned rice_parameter_search_dist;
2001-06-23 03:03:24 +00:00
FLAC__uint64 total_samples_estimate;
FLAC__StreamMetaData **metadata;
unsigned num_metadata_blocks;
2001-06-14 19:10:14 +00:00
} FLAC__StreamEncoderProtected;
#endif