MCPcopy Create free account

hub / github.com/Edzelf/ESP32-Radio / functions

Functions596 in github.com/Edzelf/ESP32-Radio

↓ 3 callersFunctionshowstreamtitle
S H O W S T R E A M T I T L E Show artist and songtitle if present in metadata. Show always if full=true. Returns true if title has changed.
main.cpp:1215
↓ 3 callersFunctionssconv
S S C O N V Convert an array with 4 "synchsafe integers" to a number. There are 7 bits used per byte.
main.cpp:1414
↓ 3 callersFunctionstop_mp3client
S T O P _ M P 3 C L I E N T Disconnect from the server.
main.cpp:1296
↓ 3 callersFunctionupdateNr
U P D A T E N R Used by nextPreset because update for preset and playlist number is about the same. Modify the pnr, handle over- and underflow. handl
main.cpp:833
↓ 2 callersFunctionAACDecoder_FreeBuffers
* Function: AACDecoder_FreeBuffers * * Description: allocate all the memory needed for the AAC decoder * * Inputs: none * * Outputs:
lib/codecs/src/aac_decoder.cpp:1753
↓ 2 callersFunctionAACFindSyncWord
* Function: AACFindSyncWord * * Description: locate the next byte-alinged sync word in the raw AAC stream * * Inputs: buffer to search for
lib/codecs/src/aac_decoder.cpp:1813
↓ 2 callersFunctionAACGetBitsPerSample
lib/codecs/src/aac_decoder.cpp:1828
↓ 2 callersFunctionAACGetChannels
lib/codecs/src/aac_decoder.cpp:1827
↓ 2 callersFunctionAACGetOutputSamps
0-unknown 1-ADTS 2-ADIF, 3-RAW
lib/codecs/src/aac_decoder.cpp:1832
↓ 2 callersFunctionAACGetSampRate
lib/codecs/src/aac_decoder.cpp:1826
↓ 2 callersFunctionCalcBitsUsed
----------------------------------------------------------------------------------------------------------------------
lib/codecs/src/mp3_decoder.cpp:727
↓ 2 callersFunctionDCT4
* Function: DCT4 * * Description: type-IV DCT * * Inputs: table index (for transform size) * buffer of nmdct samples *
lib/codecs/src/aac_decoder.cpp:2862
↓ 2 callersFunctionDecodeICSInfo
* Function: DecodeICSInfo * * Description: decode individual channel stream info * * Inputs: sample rate index * * Outputs: updated
lib/codecs/src/aac_decoder.cpp:4064
↓ 2 callersFunctionDecodeNextElement
* Function: DecodeNextElement * * Description: decode next syntactic element in AAC frame * * Inputs: double pointer to buffer containing
lib/codecs/src/aac_decoder.cpp:2538
↓ 2 callersFunctionDecodeNoiselessData
* Function: DecodeNoiselessData * * Description: decode noiseless data (side info and transform coefficients) * * Inputs: double pointer t
lib/codecs/src/aac_decoder.cpp:4429
↓ 2 callersFunctionDecodeProgramConfigElement
* Function: DecodeProgramConfigElement * * Description: decode one PCE * * Inputs: none * * Outputs: filled-in ProgConfigElement_t s
lib/codecs/src/aac_decoder.cpp:2407
↓ 2 callersFunctionDequantBlock
* Function: DequantBlock * * Description: Ken's highly-optimized, low memory dequantizer performing the operation * y = pow(x, 4
lib/codecs/src/mp3_decoder.cpp:2156
↓ 2 callersFunctionFindFreq
* Function: FindFreq * * Description: search buffer of uint8_ts for a specific value * * Inputs: buffer of elements to search *
lib/codecs/src/aac_decoder.cpp:7106
↓ 2 callersFunctionFreqInvertRescale
lib/codecs/src/mp3_decoder.cpp:2851
↓ 2 callersFunctionGenerateNoiseVector
* Function: GenerateNoiseVector * * Description: create vector of noise coefficients for one scalefactor band * * Inputs: seed for number
lib/codecs/src/aac_decoder.cpp:5292
↓ 2 callersFunctionLCD1602_dsp_update_line
D S P _U P D A T E _ L I N E Show a selected line
lib/LCD1602/src/LCD1602.cpp:274
↓ 2 callersFunctionMP3Decoder_ClearBuffer
* Function: MP3Decoder_ClearBuffer * * Description: clear all the memory needed for the MP3 decoder * * Inputs: none * * Outputs:
lib/codecs/src/mp3_decoder.cpp:1479
↓ 2 callersFunctionMP3FindSyncWord
* Function: MP3FindSyncWord * * Description: locate the next byte-alinged sync word in the raw mp3 stream * * Inputs: buffer to search
lib/codecs/src/mp3_decoder.cpp:1166
↓ 2 callersFunctionMP3GetLastFrameInfo
* Function: MP3GetLastFrameInfo * * Description: get info about last MP3 frame decoded (number of sampled decoded, * sample ra
lib/codecs/src/mp3_decoder.cpp:1244
↓ 2 callersFunctionR4Core
* Function: R4Core * * Description: radix-4 pass for decimation-in-time FFT * * Inputs: buffer of samples * number of R4 but
lib/codecs/src/aac_decoder.cpp:3091
↓ 2 callersFunctionR4FFT
* Function: R4FFT * * Description: Ken's very fast in-place radix-4 decimation-in-time FFT * * Inputs: table index (for transform size) *
lib/codecs/src/aac_decoder.cpp:3205
↓ 2 callersFunctionRatioPowInv
* Function: RatioPowInv * * Description: use Taylor (MacLaurin) series expansion to calculate (a/b) ^ (1/c) * * Inputs: a = [1, 64], b = [
lib/codecs/src/aac_decoder.cpp:5636
↓ 2 callersFunctionRefillBitstreamCache
* Function: RefillBitstreamCache * * Description: read new data from bitstream buffer into 32-bit cache * * Inputs: none * * Outputs:
lib/codecs/src/aac_decoder.cpp:6249
↓ 2 callersFunctionRemoveFreq
* Function: RemoveFreq * * Description: remove one element from a buffer of uint8_ts * * Inputs: buffer of elements * number
lib/codecs/src/aac_decoder.cpp:7129
↓ 2 callersFunctionSetRawBlockParams
* Function: SetRawBlockParams * * Description: set internal state variables for decoding a stream of raw data blocks * * Inputs: flag indicati
lib/codecs/src/aac_decoder.cpp:4826
↓ 2 callersFunctionUnpackFrameHeader
----------------------------------------------------------------------------------------------------------------------
lib/codecs/src/mp3_decoder.cpp:739
↓ 2 callersFunctionUnpackPairsEsc
* Function: UnpackPairsEsc * * Description: decode a section of 2-way vector Huffman coded coefficients, * using esc table (11)
lib/codecs/src/aac_decoder.cpp:3353
↓ 2 callersFunctionUnpackPairsNoEsc
* Function: UnpackPairsNoEsc * * Description: decode a section of 2-way vector Huffman coded coefficients, * using non-esc tables
lib/codecs/src/aac_decoder.cpp:3311
↓ 2 callersFunctionUnpackQuads
* Function: UnpackQuads * * Description: decode a section of 4-way vector Huffman coded coefficients * * Inputs index of Huffman codebook
lib/codecs/src/aac_decoder.cpp:3264
↓ 2 callersMethodclear
O L E D :: C L E A R Clear the display buffer and the display.
src/oled.h:420
↓ 2 callersFunctionconnecttofile
C O N N E C T T O F I L E Connect to USB or SD file.
src/main.cpp:1890
↓ 2 callersFunctionconnecttofile_SD
C O N N E C T T O F I L E _ S D Open the local mp3-file.
src/SDcard.h:388
↓ 2 callersFunctionconnecttohost
C O N N E C T T O H O S T Connect to the Internet radio server specified by newpreset.
src/main.cpp:2050
↓ 2 callersMethoddata_request
Test communication with module
src/main.cpp:790
↓ 2 callersFunctiondisplaybattery
D I S P L A Y B A T T E R Y Show the current battery charge level on the screen. It will overwrite the top divider. No action if bat0/bat100 not defi
src/oled.h:543
↓ 2 callersFunctiondisplayvolume
D I S P L A Y V O L U M E Show the current volume as an indicator on the screen. The indicator is 2 pixels heigh.
src/oled.h:579
↓ 2 callersFunctiondsp_begin
src/oled.h:91
↓ 2 callersFunctiondsp_update_line
D S P _U P D A T E _ L I N E Show a selected line
src/LCD1602.h:326
↓ 2 callersFunctionfillkeylist
F I L L K E Y L I S T File the list of all relevant keys in NVS. The keys will be sorted.
main.cpp:2327
↓ 2 callersFunctionfillkeylist
F I L L K E Y L I S T File the list of all relevant keys in NVS. The keys will be sorted.
src/main.cpp:3216
↓ 2 callersFunctionget_FS_nodecount
G E T _ F S _ N O D E C O U N T Return the number of nodes on USB/SD.
src/main.cpp:1936
↓ 2 callersFunctiongettime
G E T T I M E Retrieve the local time from NTP server and convert to string. Will be called every second.
main.cpp:4239
↓ 2 callersFunctiongettime
G E T T I M E Retrieve the local time from NTP server and convert to string. Will be called every second.
src/main.cpp:5481
↓ 2 callersFunctionhelixInit
H E L I X I N I T Initialize helix buffering.
include/helixfuncs.h:58
↓ 2 callersFunctionidct9
require at least 3 guard bits in x[] to ensure no overflow */
lib/codecs/src/mp3_decoder.cpp:2949
↓ 2 callersFunctionlistsdtracks
L I S T S D T R A C K S Search all MP3 files on directory of SD card. Return the number of files found. A "node" of max. 4 levels ( the subdirectory
src/SDcard.h:150
↓ 2 callersFunctionlistusbtracks
L I S T U S B T R A C K S Search all MP3 files on directory of USB drive. Return the number of files found. A "node" of max. 4 levels ( the subdirec
src/CH376.h:343
↓ 2 callersFunctionmount_SDCARD
M O U N T _ S D C A R D Initialize the SD card.
include/SDcard.h:478
↓ 2 callersMethodplayChunk
src/main.cpp:1041
↓ 2 callersFunctionplayer_getVolume
P L A Y E R _ G E T V O L U M E Get volume percentage.
include/helixfuncs.h:47
↓ 2 callersFunctionplayer_setVolume
P L A Y E R _ S E T V O L U M E Set volume percentage.
include/helixfuncs.h:27
↓ 2 callersMethodprint
L C D 2 0 0 4 :: P R I N T Put a character in the buffer.
lib/LCD2004/src/LCD2004.cpp:118
↓ 2 callersFunctionqueuefunc
Q U E U E F U N C Queue a special function for the play task.
src/main.cpp:1355
↓ 2 callersFunctionradiofuncs
R A D I O F U N C S Handles commands for the connection to a icecast server. Commands are received in the input queue. Data from the server is handle
main.cpp:3278
↓ 2 callersFunctionreadprefs
R E A D P R E F S Read the preferences and interpret the commands. If output == true, the key / value pairs are returned to the caller as a String.
main.cpp:1864
↓ 2 callersFunctionreadprefs
R E A D P R E F S Read the preferences and interpret the commands. If output == true, the key / value pairs are returned to the caller as a String.
src/main.cpp:2652
↓ 2 callersFunctionrinbyt
R I N B Y T Read next byte from http inputbuffer. Buffered for speed reasons.
src/main.cpp:3539
↓ 2 callersFunctionscan_content_length
S C A N _ C O N T E N T _ L E N G T H If the line contains content-length information: set clength (content length counter).
src/main.cpp:4539
↓ 2 callersFunctionsdfuncs
S D F U N C S Handles data of SD card and commands in the sdqueue. Commands are received in the input queue.
main.cpp:4510
↓ 2 callersMethodstartSong
src/main.cpp:1035
↓ 2 callersMethodstopSong
src/main.cpp:1046
↓ 2 callersFunctionupdate_software
U P D A T E _ S O F T W A R E Update software by download from remote host.
src/main.cpp:2335
↓ 2 callersFunctionutf8ascii
U T F 8 A S C I I UTF8-Decoder: convert UTF8-string to extended ASCII. Convert a single Character from UTF8 to Extended ASCII. Return "0" if a byte h
src/main.cpp:1413
↓ 1 callersFunctionAACDecode
* Function: AACDecode * * Description: decode AAC frame * * Inputs: double pointer to buffer of AAC data * pointer to number
lib/codecs/src/aac_decoder.cpp:1889
↓ 1 callersFunctionAACDecoder_AllocateBuffers
* Function: AACDecoder_AllocateBuffers * * Description: allocate all the memory needed for the AAC decoder * try heap first, becaus
lib/codecs/src/aac_decoder.cpp:1636
↓ 1 callersFunctionAACDequantize
* Function: AACDequantize * * Description: dequantize all transform coefficients for one channel * * Inputs: index of current channel *
lib/codecs/src/aac_decoder.cpp:5042
↓ 1 callersFunctionAACGetBitrate
lib/codecs/src/aac_decoder.cpp:1833
↓ 1 callersFunctionAdjustHighFreq
* Function: AdjustHighFreq * * Description: adjust high frequencies and add noise and sinusoids (4.6.18.7) * * Inputs: initialized SBRHead
lib/codecs/src/aac_decoder.cpp:8022
↓ 1 callersMethodAdjustRate
src/main.cpp:1109
↓ 1 callersFunctionAntiAlias
* Function: AntiAlias * * Description: smooth transition across DCT block boundaries (every 18 coefficients) * * Inputs: vector of deq
lib/codecs/src/mp3_decoder.cpp:2690
↓ 1 callersFunctionApplyBoost
* Function: ApplyBoost * * Description: calculate and apply boost factor for envelope, sinusoids, and noise * in this limiter ban
lib/codecs/src/aac_decoder.cpp:7714
↓ 1 callersFunctionBitReverse
* Function: BitReverse * * Description: Ken's fast in-place bit reverse, using super-small table * * Inputs: buffer of samples *
lib/codecs/src/aac_decoder.cpp:2891
↓ 1 callersFunctionBitReverse32
* Function: BitReverse32 * * Description: Ken's fast in-place bit reverse * * Inputs: buffer of 32 complex samples * * Outputs: bit-
lib/codecs/src/aac_decoder.cpp:5775
↓ 1 callersFunctionBuildPatches
* Function: BuildPatches * * Description: build high frequency patches (4.6.18.6.3) * * Inputs: master frequency table * num
lib/codecs/src/aac_decoder.cpp:7038
↓ 1 callersFunctionCVKernel1
* Function: CVKernel1 * * Description: kernel of covariance matrix calculation for p01, p11, p12, p22 * * Inputs: buffer of low-freq sampl
lib/codecs/src/aac_decoder.cpp:6102
↓ 1 callersFunctionCVKernel2
* Function: CVKernel2 * * Description: kernel of covariance matrix calculation for p02 * * Inputs: buffer of low-freq samples, starting at
lib/codecs/src/aac_decoder.cpp:6175
↓ 1 callersFunctionCalcComponentGains
* Function: CalcComponentGains * * Description: calculate gain of envelope, sinusoids, and noise in one limiter band * (4.6.18.7.
lib/codecs/src/aac_decoder.cpp:7556
↓ 1 callersFunctionCalcCovariance1
* Function: CalcCovariance1 * * Description: calculate covariance matrix for p01, p12, p11, p22 (4.6.18.6.2) * * Inputs: buffer of low-fre
lib/codecs/src/aac_decoder.cpp:8076
↓ 1 callersFunctionCalcCovariance2
* Function: CalcCovariance2 * * Description: calculate covariance matrix for p02 (4.6.18.6.2) * * Inputs: buffer of low-freq samples, star
lib/codecs/src/aac_decoder.cpp:8155
↓ 1 callersFunctionCalcFreqHigh
* Function: CalcFreqHigh * * Description: calculate high resolution frequency table (4.6.18.3.2.2) * * Inputs: master frequency table *
lib/codecs/src/aac_decoder.cpp:6948
↓ 1 callersFunctionCalcFreqLimiter
* Function: CalcFreqLimiter * * Description: calculate limiter frequency table (4.6.18.3.2.3) * * Inputs: number of subbands in each patch
lib/codecs/src/aac_decoder.cpp:7154
↓ 1 callersFunctionCalcFreqLow
* Function: CalcFreqLow * * Description: calculate low resolution frequency table (4.6.18.3.2.2) * * Inputs: high resolution frequency tab
lib/codecs/src/aac_decoder.cpp:6971
↓ 1 callersFunctionCalcFreqMaster
* Function: CalcFreqMasterScale * * Description: calculate master frequency table when freqScale > 0 * (4.6.18.3.2.1, figure 4.39
lib/codecs/src/aac_decoder.cpp:6845
↓ 1 callersFunctionCalcFreqMasterScaleZero
* Function: CalcFreqMasterScaleZero * * Description: calculate master frequency table when freqScale == 0 * (4.6.18.3.2.1, figure
lib/codecs/src/aac_decoder.cpp:6777
↓ 1 callersFunctionCalcFreqNoise
* Function: CalcFreqNoise * * Description: calculate noise floor frequency table (4.6.18.3.2.2) * * Inputs: low resolution frequency table
lib/codecs/src/aac_decoder.cpp:6999
↓ 1 callersFunctionCalcFreqTables
* Function: CalcFreqTables * * Description: calulate master and derived frequency tables, and patches * * Inputs: initialized SBRHeader st
lib/codecs/src/aac_decoder.cpp:7226
↓ 1 callersFunctionCalcGain
* Function: CalcGain * * Description: calculate and apply proper gain to HF components in one envelope * (4.6.18.7.5) * * Input
lib/codecs/src/aac_decoder.cpp:7813
↓ 1 callersFunctionCalcLPCoefs
* Function: CalcLPCoefs * * Description: calculate linear prediction coefficients for one subband (4.6.18.6.2) * * Inputs: buffer of low-f
lib/codecs/src/aac_decoder.cpp:8220
↓ 1 callersFunctionCalcMaxGain
* Function: CalcMaxGain * * Description: calculate max gain in one limiter band (4.6.18.7.5) * * Inputs: initialized SBRHeader struct for
lib/codecs/src/aac_decoder.cpp:7449
↓ 1 callersFunctionCalcNoiseDivFactors
* Function: CalcNoiseDivFactors * * Description: calculate 1/(1+Q) and Q/(1+Q) (4.6.18.7.4; 4.6.18.7.5) * * Inputs: dequantized noise floo
lib/codecs/src/aac_decoder.cpp:7518
↓ 1 callersFunctionCheckPadBit
----------------------------------------------------------------------------------------------------------------------
lib/codecs/src/mp3_decoder.cpp:735
↓ 1 callersFunctionCopyCouplingGrid
* Function: CopyCouplingGrid * * Description: copy grid parameters from left to right for channel coupling * * Inputs: initialized SBRGrid
lib/codecs/src/aac_decoder.cpp:10029
↓ 1 callersFunctionCopyCouplingInverseFilterMode
* Function: CopyCouplingInverseFilterMode * * Description: copy invf flags from left to right for channel coupling * * Inputs: invf flags
lib/codecs/src/aac_decoder.cpp:10062
↓ 1 callersFunctionCopyNoiseVector
* Function: CopyNoiseVector * * Description: copy vector of noise coefficients for one scalefactor band from L to R * * Inputs: buffer of
lib/codecs/src/aac_decoder.cpp:5312
↓ 1 callersFunctionDecWindowOverlap
* Function: DecWindowOverlap * * Description: apply synthesis window, do overlap-add, clip to 16-bit PCM, * for winSequence LONG-
lib/codecs/src/aac_decoder.cpp:3545
← previousnext →101–200 of 596, ranked by callers