FFmpeg
Data Fields
NMRSlot Struct Reference

NMR coder per-band candidate cost curves (~96 KiB) and rate-control carry-over. More...

#include <aacenc.h>

Data Fields

struct SingleChannelElementsce
 
int si
 curve-bank index (nd/nb slot) More...
 
int cur_ch
 encoder channel index (psy/cache context) More...
 
int nbnd
 coded-band count, 0 = nothing codeable More...
 
int is8
 EIGHT_SHORT frame. More...
 
int bidx [128]
 sce band index (w*16+g) More...
 
int bw [128]
 
int bg [128]
 
int bst [128]
 window group, swb, coef start More...
 
int blo [128]
 finest candidate scalefactor More...
 
int bnc [128]
 number of candidates More...
 
int chosen [128]
 
int act [128]
 active (non-PNS) band coding order More...
 
int nact
 
int minsf [128]
 
float maxvals [128]
 
float thr [128]
 allocation-law effective threshold More...
 
float thr_real [128]
 real masking threshold (PNS gates) More...
 
float tnsg [128]
 TNS synthesis gain per band for THIS solve (1 = uncovered), M/S-aware (pair max) More...
 
float pener [128]
 band energy (PNS noise target) More...
 
float pspread [128]
 band tonality spread (1 = noise) More...
 
uint8_t is_pns [128]
 band coded as noise More...
 

Detailed Description

NMR coder per-band candidate cost curves (~96 KiB) and rate-control carry-over.

Per-channel trellis state for one solve. A channel pair (CPE) is solved jointly against a pooled budget: the first channel's setup is stored here and committed together with the second channel under one shared lambda.

Definition at line 181 of file aacenc.h.

Field Documentation

◆ sce

struct SingleChannelElement* NMRSlot::sce

Definition at line 182 of file aacenc.h.

Referenced by nmr_commit_channel(), nmr_setup_channel(), and nmr_solve_group().

◆ si

int NMRSlot::si

curve-bank index (nd/nb slot)

Definition at line 183 of file aacenc.h.

Referenced by nmr_commit_channel(), nmr_setup_channel(), and nmr_solve_group().

◆ cur_ch

int NMRSlot::cur_ch

encoder channel index (psy/cache context)

Definition at line 184 of file aacenc.h.

Referenced by nmr_commit_channel(), nmr_setup_channel(), and nmr_solve_group().

◆ nbnd

int NMRSlot::nbnd

coded-band count, 0 = nothing codeable

Definition at line 185 of file aacenc.h.

Referenced by nmr_commit_channel(), nmr_setup_channel(), and nmr_solve_group().

◆ is8

int NMRSlot::is8

EIGHT_SHORT frame.

Definition at line 186 of file aacenc.h.

Referenced by nmr_setup_channel().

◆ bidx

int NMRSlot::bidx[128]

sce band index (w*16+g)

Definition at line 187 of file aacenc.h.

Referenced by nmr_commit_channel(), nmr_setup_channel(), and nmr_solve_group().

◆ bw

int NMRSlot::bw[128]

Definition at line 188 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ bg

int NMRSlot::bg[128]

Definition at line 188 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ bst

int NMRSlot::bst[128]

window group, swb, coef start

Definition at line 188 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ blo

int NMRSlot::blo[128]

finest candidate scalefactor

Definition at line 189 of file aacenc.h.

Referenced by nmr_commit_channel(), nmr_setup_channel(), and nmr_solve_group().

◆ bnc

int NMRSlot::bnc[128]

number of candidates

Definition at line 190 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ chosen

int NMRSlot::chosen[128]

Definition at line 191 of file aacenc.h.

Referenced by nmr_commit_channel(), and nmr_solve_group().

◆ act

int NMRSlot::act[128]

active (non-PNS) band coding order

Definition at line 192 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ nact

int NMRSlot::nact

Definition at line 193 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ minsf

int NMRSlot::minsf[128]

Definition at line 194 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ maxvals

float NMRSlot::maxvals[128]

Definition at line 195 of file aacenc.h.

Referenced by nmr_commit_channel(), nmr_setup_channel(), and nmr_solve_group().

◆ thr

float NMRSlot::thr[128]

allocation-law effective threshold

Definition at line 196 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ thr_real

float NMRSlot::thr_real[128]

real masking threshold (PNS gates)

Definition at line 197 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ tnsg

float NMRSlot::tnsg[128]

TNS synthesis gain per band for THIS solve (1 = uncovered), M/S-aware (pair max)

Definition at line 198 of file aacenc.h.

Referenced by nmr_setup_channel(), and nmr_solve_group().

◆ pener

float NMRSlot::pener[128]

band energy (PNS noise target)

Definition at line 199 of file aacenc.h.

Referenced by nmr_commit_channel(), and nmr_setup_channel().

◆ pspread

float NMRSlot::pspread[128]

band tonality spread (1 = noise)

Definition at line 200 of file aacenc.h.

Referenced by nmr_commit_channel(), and nmr_setup_channel().

◆ is_pns

uint8_t NMRSlot::is_pns[128]

band coded as noise

Definition at line 201 of file aacenc.h.

Referenced by nmr_commit_channel(), and nmr_setup_channel().


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