FFmpeg
|
Data Fields | |
uint64_t | window |
unsigned char | readahead |
uint8_t | arg |
arg is set when a packet prefix is found. More... | |
uint8_t | control |
unsigned int | sustain |
unsigned int | sustain_reset |
code detect timer More... | |
int | running_gain |
11-bit (3.8) fixed point, extended from target_gain More... | |
int | code_counterA |
8-bit format packet More... | |
int | code_counterA_almost |
looks like an A code, but a bit expected to be 0 is 1 More... | |
int | code_counterB |
16-bit format packet, 8-bit code, 8-bit XOR of code More... | |
int | code_counterB_checkfails |
looks like a B code, but doesn't pass the XOR check More... | |
int | code_counterC |
packet prefix was found, expect a code More... | |
int | code_counterC_unmatched |
told to look for a code, but didn't find one More... | |
int | count_peak_extend |
valid packets where peak_extend was enabled More... | |
int | count_transient_filter |
valid packets where filter was detected More... | |
int | gain_counts [16] |
target_gain is a 4-bit (3.1) fixed-point value, always negative, but stored positive. More... | |
int | max_gain |
int | count_sustain_expired |
occurrences of code detect timer expiring without detecting a code. More... | |
int | rate |
sampling rate More... | |
int | _ana_snb |
used in the analyze mode tone generator More... | |
uint64_t hdcd_state::window |
Definition at line 841 of file af_hdcd.c.
Referenced by hdcd_integrate(), and hdcd_reset().
unsigned char hdcd_state::readahead |
Definition at line 842 of file af_hdcd.c.
Referenced by hdcd_integrate(), and hdcd_reset().
uint8_t hdcd_state::arg |
arg is set when a packet prefix is found.
control is the active control code, where bit 0-3: target_gain, 4-bit (3.1) fixed-point value bit 4 : peak_extend bit 5 : transient_filter bit 6,7: always zero
Definition at line 850 of file af_hdcd.c.
Referenced by hdcd_integrate(), and hdcd_reset().
uint8_t hdcd_state::control |
Definition at line 850 of file af_hdcd.c.
Referenced by hdcd_control(), hdcd_integrate(), hdcd_reset(), and hdcd_scan().
unsigned int hdcd_state::sustain |
Definition at line 851 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_process(), hdcd_process_stereo(), hdcd_reset(), and hdcd_scan().
unsigned int hdcd_state::sustain_reset |
code detect timer
Definition at line 851 of file af_hdcd.c.
Referenced by config_input(), hdcd_reset(), and hdcd_scan().
int hdcd_state::running_gain |
11-bit (3.8) fixed point, extended from target_gain
Definition at line 853 of file af_hdcd.c.
Referenced by hdcd_process(), hdcd_process_stereo(), and hdcd_reset().
int hdcd_state::code_counterA |
8-bit format packet
Definition at line 856 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::code_counterA_almost |
looks like an A code, but a bit expected to be 0 is 1
Definition at line 857 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::code_counterB |
16-bit format packet, 8-bit code, 8-bit XOR of code
Definition at line 858 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::code_counterB_checkfails |
looks like a B code, but doesn't pass the XOR check
Definition at line 859 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::code_counterC |
packet prefix was found, expect a code
Definition at line 860 of file af_hdcd.c.
Referenced by hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::code_counterC_unmatched |
told to look for a code, but didn't find one
Definition at line 861 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_reset(), and uninit().
int hdcd_state::count_peak_extend |
valid packets where peak_extend was enabled
Definition at line 862 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::count_transient_filter |
valid packets where filter was detected
Definition at line 863 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::gain_counts[16] |
target_gain is a 4-bit (3.1) fixed-point value, always negative, but stored positive.
The 16 possible values range from -7.5 to 0.0 dB in steps of 0.5, but no value below -6.0 dB should appear.
Definition at line 868 of file af_hdcd.c.
Referenced by hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::max_gain |
Definition at line 869 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
int hdcd_state::count_sustain_expired |
occurrences of code detect timer expiring without detecting a code.
-1 for timer never set.
Definition at line 872 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_reset(), hdcd_scan(), and uninit().
int hdcd_state::rate |
sampling rate
Definition at line 874 of file af_hdcd.c.
Referenced by hdcd_analyze_prepare(), and hdcd_reset().
int hdcd_state::_ana_snb |
used in the analyze mode tone generator
Definition at line 875 of file af_hdcd.c.
Referenced by hdcd_analyze_prepare(), and hdcd_reset().