FFmpeg  4.0
Data Fields
HDCDContext Struct Reference

Data Fields

const AVClassclass
 
hdcd_state state [HDCD_MAX_CHANNELS]
 
int process_stereo
 use hdcd_*_stereo() functions to process both channels together. More...
 
int force_pe
 always extend peaks above -3dBFS even if PE isn't signaled -af hdcd=force_pe=0 for off -af hdcd=force_pe=1 for on default is off More...
 
int analyze_mode
 analyze mode replaces the audio with a solid tone and adjusts the amplitude to signal some specific aspect of the decoding process. More...
 
int cdt_ms
 code detect timer period in ms More...
 
int disable_autoconvert
 disable any format conversion or resampling in the filter graph More...
 
int bits_per_sample
 bits per sample 16, 20, or 24 More...
 
int bad_config
 config_input() and config_output() scan links for any resampling or format changes. More...
 
AVFilterContextfctx
 filter context for logging errors More...
 
int sample_count
 used in error logging More...
 
int val_target_gain
 last matching target_gain in both channels More...
 
hdcd_detection_data detect
 

Detailed Description

Definition at line 943 of file af_hdcd.c.

Field Documentation

◆ class

const AVClass* HDCDContext::class

Definition at line 944 of file af_hdcd.c.

◆ state

hdcd_state HDCDContext::state[HDCD_MAX_CHANNELS]

◆ process_stereo

int HDCDContext::process_stereo

use hdcd_*_stereo() functions to process both channels together.

-af hdcd=process_stereo=0 for off -af hdcd=process_stereo=1 for on default is HDCD_PROCESS_STEREO_DEFAULT

Definition at line 952 of file af_hdcd.c.

Referenced by config_input(), and filter_frame().

◆ force_pe

int HDCDContext::force_pe

always extend peaks above -3dBFS even if PE isn't signaled -af hdcd=force_pe=0 for off -af hdcd=force_pe=1 for on default is off

Definition at line 957 of file af_hdcd.c.

Referenced by config_input(), and hdcd_control().

◆ analyze_mode

int HDCDContext::analyze_mode

analyze mode replaces the audio with a solid tone and adjusts the amplitude to signal some specific aspect of the decoding process.

See docs or HDCD_ANA_* defines.

Definition at line 962 of file af_hdcd.c.

Referenced by config_input(), hdcd_process(), and hdcd_process_stereo().

◆ cdt_ms

int HDCDContext::cdt_ms

code detect timer period in ms

Definition at line 964 of file af_hdcd.c.

Referenced by config_input().

◆ disable_autoconvert

int HDCDContext::disable_autoconvert

disable any format conversion or resampling in the filter graph

Definition at line 966 of file af_hdcd.c.

Referenced by init().

◆ bits_per_sample

int HDCDContext::bits_per_sample

bits per sample 16, 20, or 24

Definition at line 968 of file af_hdcd.c.

Referenced by config_input(), filter_frame(), hdcd_process(), and hdcd_process_stereo().

◆ bad_config

int HDCDContext::bad_config

config_input() and config_output() scan links for any resampling or format changes.

If found, warnings are issued and bad_config is set.

Definition at line 974 of file af_hdcd.c.

Referenced by init(), and uninit().

◆ fctx

AVFilterContext* HDCDContext::fctx

filter context for logging errors

Definition at line 976 of file af_hdcd.c.

Referenced by hdcd_control_stereo(), hdcd_integrate(), and init().

◆ sample_count

int HDCDContext::sample_count

used in error logging

Definition at line 977 of file af_hdcd.c.

Referenced by filter_frame(), hdcd_control_stereo(), hdcd_integrate(), and init().

◆ val_target_gain

int HDCDContext::val_target_gain

last matching target_gain in both channels

Definition at line 978 of file af_hdcd.c.

Referenced by hdcd_control_stereo(), and hdcd_process_stereo().

◆ detect

hdcd_detection_data HDCDContext::detect

Definition at line 981 of file af_hdcd.c.

Referenced by config_input(), filter_frame(), and uninit().


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