Definition at line 841 of file af_hdcd.c.
Referenced by hdcd_integrate(), and hdcd_reset().
Definition at line 842 of file af_hdcd.c.
Referenced by hdcd_integrate(), and hdcd_reset().
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().
Definition at line 850 of file af_hdcd.c.
Referenced by hdcd_control(), hdcd_integrate(), hdcd_reset(), and hdcd_scan().
Definition at line 851 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_process(), hdcd_process_stereo(), hdcd_reset(), and hdcd_scan().
code detect timer
Definition at line 851 of file af_hdcd.c.
Referenced by config_input(), hdcd_reset(), and hdcd_scan().
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().
8-bit format packet
Definition at line 856 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
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().
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().
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().
packet prefix was found, expect a code
Definition at line 860 of file af_hdcd.c.
Referenced by hdcd_integrate(), hdcd_reset(), and uninit().
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().
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().
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().
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().
Definition at line 869 of file af_hdcd.c.
Referenced by hdcd_detect_onech(), hdcd_integrate(), hdcd_reset(), and uninit().
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().
sampling rate
Definition at line 874 of file af_hdcd.c.
Referenced by hdcd_analyze_prepare(), and hdcd_reset().
used in the analyze mode tone generator
Definition at line 875 of file af_hdcd.c.
Referenced by hdcd_analyze_prepare(), and hdcd_reset().