FFmpeg
Loading...
Searching...
No Matches
Data Fields
AACEncContext Struct Reference

AAC encoder context. More...

#include <aacenc.h>

Data Fields

 
  encoding options
 
 
  long (1024 samples) frame transform context
 
 
  short (128 samples) frame transform context
 
 
 
  PCE data, if needed.
 
  saved preprocessed input
 
int  profile
  copied from avctx
 
int  needs_pce
  flag for non-standard layout
 
  flag for PCE height extension
 
  used by TNS
 
  MPEG-4 samplerate index.
 
int  channels
  channel count
 
int  bandwidth
  coding bandwidth in Hz, fixed at init; the psy model and the coders' band cutoff agree on it
 
const uint8_t *  reorder_map
  lavc to aac reorder map
 
const uint8_t *  chan_map
  channel configuration map
 
  channel elements
 
 
 
int  cur_channel
  current channel for coder context
 
int  random_state
 
 
  number of bits for the previous frame
 
  sum(lambda), for Qvg reporting
 
int  lambda_count
  count(lambda), for Qvg reporting
 
uint64_t  stat_ch_bands
 
uint64_t  stat_pns
  coded channel-bands, of which PNS
 
uint64_t  stat_cpe_bands
 
uint64_t  stat_ms
 
uint64_t  stat_is
  coded CPE pair-bands, of which M/S, I/S
 
uint64_t  stat_chans
 
uint64_t  stat_short
  coded channels, of which short-block (transient)
 
uint64_t  stat_tns_long
 
uint64_t  stat_tns_short
  TNS-active channels among long / short blocks.
 
  channel group type cur_channel belongs to
 
 
int  qcoefs [96]
  quantized coefficients
 
float  scoefs [1024]
  scaled coefficients
 
 
  memoization area for quantize_band_cost
 
 
  NMR coder scratch (NULL unless coder == nmr)
 
struct { 
 
   float *   samples 
 
buffer 
 

Detailed Description

AAC encoder context.

Definition at line 260 of file aacenc.h.

Field Documentation

◆  av_class

AVClass* AACEncContext::av_class

Definition at line 261 of file aacenc.h.

◆  options

AACEncOptions AACEncContext::options

encoding options

Definition at line 262 of file aacenc.h.

◆  pb

PutBitContext AACEncContext::pb

Definition at line 263 of file aacenc.h.

Referenced by ff_quantize_and_encode_band_cost(), quantize_and_encode_band(), and quantize_and_encode_band_cost_template().

◆  mdct1024

AVTXContext* AACEncContext::mdct1024

long (1024 samples) frame transform context

Definition at line 264 of file aacenc.h.

◆  mdct1024_fn

av_tx_fn AACEncContext::mdct1024_fn

Definition at line 265 of file aacenc.h.

◆  mdct128

AVTXContext* AACEncContext::mdct128

short (128 samples) frame transform context

Definition at line 266 of file aacenc.h.

◆  mdct128_fn

av_tx_fn AACEncContext::mdct128_fn

Definition at line 267 of file aacenc.h.

◆  fdsp

AVFloatDSPContext* AACEncContext::fdsp

Definition at line 268 of file aacenc.h.

◆  pce

AACPCEInfo AACEncContext::pce

PCE data, if needed.

Definition at line 269 of file aacenc.h.

◆  planar_samples

float* AACEncContext::planar_samples[16]

saved preprocessed input

Definition at line 270 of file aacenc.h.

◆  profile

int AACEncContext::profile

copied from avctx

Definition at line 272 of file aacenc.h.

◆  needs_pce

int AACEncContext::needs_pce

flag for non-standard layout

Definition at line 273 of file aacenc.h.

◆  needs_height_ext

int AACEncContext::needs_height_ext

flag for PCE height extension

Definition at line 274 of file aacenc.h.

◆  lpc

LPCContext AACEncContext::lpc

used by TNS

Definition at line 275 of file aacenc.h.

◆  samplerate_index

int AACEncContext::samplerate_index

MPEG-4 samplerate index.

Definition at line 276 of file aacenc.h.

◆  channels

int AACEncContext::channels

channel count

Definition at line 277 of file aacenc.h.

◆  bandwidth

int AACEncContext::bandwidth

coding bandwidth in Hz, fixed at init; the psy model and the coders' band cutoff agree on it

Definition at line 278 of file aacenc.h.

◆  reorder_map

const uint8_t* AACEncContext::reorder_map

lavc to aac reorder map

Definition at line 279 of file aacenc.h.

◆  chan_map

const uint8_t* AACEncContext::chan_map

channel configuration map

Definition at line 280 of file aacenc.h.

◆  cpe

ChannelElement* AACEncContext::cpe

channel elements

Definition at line 282 of file aacenc.h.

◆  psy

FFPsyContext AACEncContext::psy

Definition at line 283 of file aacenc.h.

◆  coder

const AACCoefficientsEncoder* AACEncContext::coder

Definition at line 284 of file aacenc.h.

◆  cur_channel

int AACEncContext::cur_channel

current channel for coder context

Definition at line 285 of file aacenc.h.

◆  random_state

int AACEncContext::random_state

Definition at line 286 of file aacenc.h.

◆  lambda

float AACEncContext::lambda

Definition at line 287 of file aacenc.h.

Referenced by ff_quantize_and_encode_band_cost(), quantize_and_encode_band(), and quantize_and_encode_band_cost_template().

◆  last_frame_pb_count

int AACEncContext::last_frame_pb_count

number of bits for the previous frame

Definition at line 288 of file aacenc.h.

◆  lambda_sum

float AACEncContext::lambda_sum

sum(lambda), for Qvg reporting

Definition at line 289 of file aacenc.h.

◆  lambda_count

int AACEncContext::lambda_count

count(lambda), for Qvg reporting

Definition at line 290 of file aacenc.h.

◆  stat_ch_bands

uint64_t AACEncContext::stat_ch_bands

Definition at line 293 of file aacenc.h.

◆  stat_pns

uint64_t AACEncContext::stat_pns

coded channel-bands, of which PNS

Definition at line 293 of file aacenc.h.

◆  stat_cpe_bands

uint64_t AACEncContext::stat_cpe_bands

Definition at line 294 of file aacenc.h.

◆  stat_ms

uint64_t AACEncContext::stat_ms

Definition at line 294 of file aacenc.h.

◆  stat_is

uint64_t AACEncContext::stat_is

coded CPE pair-bands, of which M/S, I/S

Definition at line 294 of file aacenc.h.

◆  stat_chans

uint64_t AACEncContext::stat_chans

Definition at line 295 of file aacenc.h.

◆  stat_short

uint64_t AACEncContext::stat_short

coded channels, of which short-block (transient)

Definition at line 295 of file aacenc.h.

◆  stat_tns_long

uint64_t AACEncContext::stat_tns_long

Definition at line 296 of file aacenc.h.

◆  stat_tns_short

uint64_t AACEncContext::stat_tns_short

TNS-active channels among long / short blocks.

Definition at line 296 of file aacenc.h.

◆  cur_type

enum RawDataBlockType AACEncContext::cur_type

channel group type cur_channel belongs to

Definition at line 297 of file aacenc.h.

◆  afq

AudioFrameQueue AACEncContext::afq

Definition at line 299 of file aacenc.h.

◆  qcoefs

int AACEncContext::qcoefs[96]

quantized coefficients

Definition at line 300 of file aacenc.h.

◆  scoefs

float AACEncContext::scoefs[1024]

scaled coefficients

Definition at line 301 of file aacenc.h.

◆  quantize_band_cost_cache_generation

uint16_t AACEncContext::quantize_band_cost_cache_generation

Definition at line 303 of file aacenc.h.

◆  quantize_band_cost_cache

AACQuantizeBandCostCacheEntry AACEncContext::quantize_band_cost_cache[256][128]

memoization area for quantize_band_cost

Definition at line 304 of file aacenc.h.

◆  aacdsp

AACEncDSPContext AACEncContext::aacdsp

Definition at line 306 of file aacenc.h.

◆  nmr

AACNMRCurves* AACEncContext::nmr

NMR coder scratch (NULL unless coder == nmr)

Definition at line 307 of file aacenc.h.

◆  samples

float* AACEncContext::samples

Definition at line 310 of file aacenc.h.

◆  [struct]

struct { ... } AACEncContext::buffer

The documentation for this struct was generated from the following file:

Generated on Sun Sep 6 2026 19:21:23 for FFmpeg by doxygen 1.13.2

AltStyle によって変換されたページ (->オリジナル) /