LMMS
Loading...
Searching...
No Matches
stream_encoder_framing.c File Reference
#include <stdio.h>
#include <string.h>
#include "include/private/stream_encoder_framing.h"
#include "include/private/crc.h"
#include "../assert.h"

Functions

static FLAC__bool add_entropy_coding_method_ (FLAC__BitWriter *bw, const FLAC__EntropyCodingMethod *method)
static FLAC__bool add_residual_partitioned_rice_ (FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended)
FLAC__bool FLAC__add_metadata_block (const FLAC__StreamMetadata *metadata, FLAC__BitWriter *bw)
FLAC__bool FLAC__frame_add_header (const FLAC__FrameHeader *header, FLAC__BitWriter *bw)
FLAC__bool FLAC__subframe_add_constant (const FLAC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw)
FLAC__bool FLAC__subframe_add_fixed (const FLAC__Subframe_Fixed *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw)
FLAC__bool FLAC__subframe_add_lpc (const FLAC__Subframe_LPC *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw)
FLAC__bool FLAC__subframe_add_verbatim (const FLAC__Subframe_Verbatim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw)

Function Documentation

◆ add_entropy_coding_method_()

FLAC__bool add_entropy_coding_method_ ( FLAC__BitWriter * bw,
const FLAC__EntropyCodingMethod * method )
static

◆ add_residual_partitioned_rice_()

FLAC__bool add_residual_partitioned_rice_ ( FLAC__BitWriter * bw,
const FLAC__int32 residual[],
const unsigned residual_samples,
const unsigned predictor_order,
const unsigned rice_parameters[],
const unsigned raw_bits[],
const unsigned partition_order,
const FLAC__bool is_extended )
static

◆ FLAC__add_metadata_block()

FLAC__bool FLAC__add_metadata_block ( const FLAC__StreamMetadata * metadata,
FLAC__BitWriter * bw )

◆ FLAC__frame_add_header()

FLAC__bool FLAC__frame_add_header ( const FLAC__FrameHeader * header,
FLAC__BitWriter * bw )

◆ FLAC__subframe_add_constant()

FLAC__bool FLAC__subframe_add_constant ( const FLAC__Subframe_Constant * subframe,
unsigned subframe_bps,
unsigned wasted_bits,
FLAC__BitWriter * bw )

◆ FLAC__subframe_add_fixed()

FLAC__bool FLAC__subframe_add_fixed ( const FLAC__Subframe_Fixed * subframe,
unsigned residual_samples,
unsigned subframe_bps,
unsigned wasted_bits,
FLAC__BitWriter * bw )

◆ FLAC__subframe_add_lpc()

FLAC__bool FLAC__subframe_add_lpc ( const FLAC__Subframe_LPC * subframe,
unsigned residual_samples,
unsigned subframe_bps,
unsigned wasted_bits,
FLAC__BitWriter * bw )

◆ FLAC__subframe_add_verbatim()

FLAC__bool FLAC__subframe_add_verbatim ( const FLAC__Subframe_Verbatim * subframe,
unsigned samples,
unsigned subframe_bps,
unsigned wasted_bits,
FLAC__BitWriter * bw )