FFmpeg
Data Fields
AACNMRCurves Struct Reference

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

#include <aacenc.h>

Data Fields

float nd [128][NMR_NCAND]
 dist / threshold per candidate More...
 
int nb [128][NMR_NCAND]
 spectral bits per candidate More...
 
float lam [16]
 per-channel operating lambda of the previous frame, 0 = none yet More...
 
int counted [16]
 per-channel bits the trellis accounted for in the last solve More...
 
float side_ema
 running estimate of real-minus-counted bits per frame More...
 
int side_inited
 side_ema holds a measurement More...
 
int64_t rc_frame_num
 frame the reservoir was last advanced for More...
 
float lam_rc
 global-lambda rate control: operating lambda, 0 until bootstrapped More...
 
int rc_fill
 virtual bit reservoir fill, + = bits saved vs nominal More...
 
int frames_since_short
 long-block frames since the last short run (the "gap"): large = isolated transient More...
 
int prev_was_short
 previous frame was a short block (for run-start detection) More...
 
float run_burst
 transient bit-burst factor, set at run start and held across the short run More...
 

Detailed Description

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

Definition at line 176 of file aacenc.h.

Field Documentation

◆ nd

float AACNMRCurves::nd[128][NMR_NCAND]

dist / threshold per candidate

Definition at line 177 of file aacenc.h.

◆ nb

int AACNMRCurves::nb[128][NMR_NCAND]

spectral bits per candidate

Definition at line 178 of file aacenc.h.

◆ lam

float AACNMRCurves::lam[16]

per-channel operating lambda of the previous frame, 0 = none yet

Definition at line 179 of file aacenc.h.

◆ counted

int AACNMRCurves::counted[16]

per-channel bits the trellis accounted for in the last solve

Definition at line 180 of file aacenc.h.

◆ side_ema

float AACNMRCurves::side_ema

running estimate of real-minus-counted bits per frame

Definition at line 181 of file aacenc.h.

◆ side_inited

int AACNMRCurves::side_inited

side_ema holds a measurement

Definition at line 182 of file aacenc.h.

◆ rc_frame_num

int64_t AACNMRCurves::rc_frame_num

frame the reservoir was last advanced for

Definition at line 184 of file aacenc.h.

◆ lam_rc

float AACNMRCurves::lam_rc

global-lambda rate control: operating lambda, 0 until bootstrapped

Definition at line 185 of file aacenc.h.

◆ rc_fill

int AACNMRCurves::rc_fill

virtual bit reservoir fill, + = bits saved vs nominal

Definition at line 186 of file aacenc.h.

◆ frames_since_short

int AACNMRCurves::frames_since_short

long-block frames since the last short run (the "gap"): large = isolated transient

Definition at line 187 of file aacenc.h.

◆ prev_was_short

int AACNMRCurves::prev_was_short

previous frame was a short block (for run-start detection)

Definition at line 188 of file aacenc.h.

◆ run_burst

float AACNMRCurves::run_burst

transient bit-burst factor, set at run start and held across the short run

Definition at line 189 of file aacenc.h.


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