seekable_stream_encoder.h File Reference

Main Page Modules Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# include/FLAC/seekable_stream_encoder.h File Reference

This module contains the functions which implement the seekable stream encoder. More...

`#include "export.h"`
`#include "stream_encoder.h"`

Go to the source code of this file.

## Compounds

struct | FLAC__SeekableStreamEncoder

## Typedefs

typedef FLAC__SeekableStreamEncoderSeekStatus(* | FLAC__SeekableStreamEncoderSeekCallback )(const FLAC__SeekableStreamEncoder *encoder, FLAC__uint64 absolute_byte_offset, void *client_data)
typedef FLAC__SeekableStreamEncoderTellStatus(* | FLAC__SeekableStreamEncoderTellCallback )(const FLAC__SeekableStreamEncoder *encoder, FLAC__uint64 *absolute_byte_offset, void *client_data)
typedef FLAC__StreamEncoderWriteStatus(* | FLAC__SeekableStreamEncoderWriteCallback )(const FLAC__SeekableStreamEncoder *encoder, const FLAC__byte buffer[], unsigned bytes, unsigned samples, unsigned current_frame, void *client_data)

## Enumerations

enum

FLAC__SeekableStreamEncoderState {
FLAC__SEEKABLE_STREAM_ENCODER_OK = 0, FLAC__SEEKABLE_STREAM_ENCODER_STREAM_ENCODER_ERROR, FLAC__SEEKABLE_STREAM_ENCODER_MEMORY_ALLOCATION_ERROR, FLAC__SEEKABLE_STREAM_ENCODER_WRITE_ERROR,
FLAC__SEEKABLE_STREAM_ENCODER_READ_ERROR, FLAC__SEEKABLE_STREAM_ENCODER_SEEK_ERROR, FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR, FLAC__SEEKABLE_STREAM_ENCODER_ALREADY_INITIALIZED,
FLAC__SEEKABLE_STREAM_ENCODER_INVALID_CALLBACK, FLAC__SEEKABLE_STREAM_ENCODER_INVALID_SEEKTABLE, FLAC__SEEKABLE_STREAM_ENCODER_UNINITIALIZED
}

enum | FLAC__SeekableStreamEncoderSeekStatus { FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_OK, FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_ERROR }
enum | FLAC__SeekableStreamEncoderTellStatus { FLAC__SEEKABLE_STREAM_ENCODER_TELL_STATUS_OK, FLAC__SEEKABLE_STREAM_ENCODER_TELL_STATUS_ERROR }

## Functions

FLAC__SeekableStreamEncoder * | FLAC__seekable_stream_encoder_new ()
void | FLAC__seekable_stream_encoder_delete (FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_set_verify (FLAC__SeekableStreamEncoder *encoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_encoder_set_streamable_subset (FLAC__SeekableStreamEncoder *encoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_encoder_set_do_mid_side_stereo (FLAC__SeekableStreamEncoder *encoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_encoder_set_loose_mid_side_stereo (FLAC__SeekableStreamEncoder *encoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_encoder_set_channels (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_bits_per_sample (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_sample_rate (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_blocksize (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_max_lpc_order (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_qlp_coeff_precision (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_do_qlp_coeff_prec_search (FLAC__SeekableStreamEncoder *encoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_encoder_set_do_escape_coding (FLAC__SeekableStreamEncoder *encoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_encoder_set_do_exhaustive_model_search (FLAC__SeekableStreamEncoder *encoder, FLAC__bool value)
FLAC__bool | FLAC__seekable_stream_encoder_set_min_residual_partition_order (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_max_residual_partition_order (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_rice_parameter_search_dist (FLAC__SeekableStreamEncoder *encoder, unsigned value)
FLAC__bool | FLAC__seekable_stream_encoder_set_total_samples_estimate (FLAC__SeekableStreamEncoder *encoder, FLAC__uint64 value)
FLAC__bool | FLAC__seekable_stream_encoder_set_metadata (FLAC__SeekableStreamEncoder *encoder, FLAC__StreamMetadata **metadata, unsigned num_blocks)
FLAC__bool | FLAC__seekable_stream_encoder_set_seek_callback (FLAC__SeekableStreamEncoder *encoder, FLAC__SeekableStreamEncoderSeekCallback value)
FLAC__bool | FLAC__seekable_stream_encoder_set_tell_callback (FLAC__SeekableStreamEncoder *encoder, FLAC__SeekableStreamEncoderTellCallback value)
FLAC__bool | FLAC__seekable_stream_encoder_set_write_callback (FLAC__SeekableStreamEncoder *encoder, FLAC__SeekableStreamEncoderWriteCallback value)
FLAC__bool | FLAC__seekable_stream_encoder_set_client_data (FLAC__SeekableStreamEncoder *encoder, void *value)
FLAC__SeekableStreamEncoderState | FLAC__seekable_stream_encoder_get_state (const FLAC__SeekableStreamEncoder *encoder)
FLAC__StreamEncoderState | FLAC__seekable_stream_encoder_get_stream_encoder_state (const FLAC__SeekableStreamEncoder *encoder)
FLAC__StreamDecoderState | FLAC__seekable_stream_encoder_get_verify_decoder_state (const FLAC__SeekableStreamEncoder *encoder)
const char * | FLAC__seekable_stream_encoder_get_resolved_state_string (const FLAC__SeekableStreamEncoder *encoder)
void | FLAC__seekable_stream_encoder_get_verify_decoder_error_stats (const FLAC__SeekableStreamEncoder *encoder, FLAC__uint64 *absolute_sample, unsigned *frame_number, unsigned *channel, unsigned *sample, FLAC__int32 *expected, FLAC__int32 *got)
FLAC__bool | FLAC__seekable_stream_encoder_get_verify (const FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_get_streamable_subset (const FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_get_do_mid_side_stereo (const FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_get_loose_mid_side_stereo (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_channels (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_bits_per_sample (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_sample_rate (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_blocksize (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_max_lpc_order (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_qlp_coeff_precision (const FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_get_do_qlp_coeff_prec_search (const FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_get_do_escape_coding (const FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_get_do_exhaustive_model_search (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_min_residual_partition_order (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_max_residual_partition_order (const FLAC__SeekableStreamEncoder *encoder)
unsigned | FLAC__seekable_stream_encoder_get_rice_parameter_search_dist (const FLAC__SeekableStreamEncoder *encoder)
FLAC__uint64 | FLAC__seekable_stream_encoder_get_total_samples_estimate (const FLAC__SeekableStreamEncoder *encoder)
FLAC__SeekableStreamEncoderState | FLAC__seekable_stream_encoder_init (FLAC__SeekableStreamEncoder *encoder)
void | FLAC__seekable_stream_encoder_finish (FLAC__SeekableStreamEncoder *encoder)
FLAC__bool | FLAC__seekable_stream_encoder_process (FLAC__SeekableStreamEncoder *encoder, const FLAC__int32 *const buffer[], unsigned samples)
FLAC__bool | FLAC__seekable_stream_encoder_process_interleaved (FLAC__SeekableStreamEncoder *encoder, const FLAC__int32 buffer[], unsigned samples)

## Variables

const char *const | FLAC__SeekableStreamEncoderStateString []
const char *const | FLAC__SeekableStreamEncoderSeekStatusString []
const char *const | FLAC__SeekableStreamEncoderTellStatusString []

## Detailed Description

This module contains the functions which implement the seekable stream encoder.

See the detailed documentation in the seekable stream encoder module.