MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / parse_huffman_codes

Function parse_huffman_codes

libavcodec/dca_core.c:568–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568static inline int parse_huffman_codes(DCACoreDecoder *s, int32_t *audio, int abits, int sel)
569{
570 int i;
571
572 // Extract Huffman codes from the bit stream
573 for (i = 0; i < DCA_SUBBAND_SAMPLES; i++)
574 audio[i] = dca_get_vlc(&s->gb, &ff_dca_vlc_quant_index[abits - 1][sel]);
575
576 return 1;
577}
578
579static inline int extract_audio(DCACoreDecoder *s, int32_t *audio, int abits, int ch)
580{

Callers 1

extract_audioFunction · 0.85

Calls 1

dca_get_vlcFunction · 0.85

Tested by

no test coverage detected