Home
last modified time | relevance | path

Searched refs:freq_index (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Datrac3plus.c1431 iwav[dst[sb].num_wavs - 1].freq_index = get_bits(gb, 10); in decode_tones_frequency()
1433 nbits = av_log2(iwav[i+1].freq_index) + 1; in decode_tones_frequency()
1434 iwav[i].freq_index = get_bits(gb, nbits); in decode_tones_frequency()
1438 if (!i || iwav[i - 1].freq_index < 512) in decode_tones_frequency()
1439 iwav[i].freq_index = get_bits(gb, 10); in decode_tones_frequency()
1441 nbits = av_log2(1023 - iwav[i - 1].freq_index) + 1; in decode_tones_frequency()
1442 iwav[i].freq_index = get_bits(gb, nbits) + in decode_tones_frequency()
1458 pred = (i < ref[sb].num_wavs) ? iwav[i].freq_index : in decode_tones_frequency()
1459 (ref[sb].num_wavs ? iwav[ref[sb].num_wavs - 1].freq_index : 0); in decode_tones_frequency()
1460 owav[i].freq_index = (pred + delta) & 0x3FF; in decode_tones_frequency()
[all …]
Datrac3plus.h84 int freq_index; ///< wave frequency index member
Dmpegaudioenc_template.c52 int freq_index; member
108 s->freq_index = i; in MPA_encode_init()
621 put_bits(p, 2, s->freq_index); in encode_frame()
Datrac3plusdsp.c144 inc = wave_param->freq_index; in waves_synth()
/third_party/gstreamer/gstplugins_good/gst/flv/
Dgstflvdemux.c789 gint freq_index; in gst_flv_demux_audio_negotiate() local
791 freq_index = GST_READ_UINT16_BE (map.data); in gst_flv_demux_audio_negotiate()
792 freq_index = (freq_index & 0x0780) >> 7; in gst_flv_demux_audio_negotiate()
794 gst_codec_utils_aac_get_sample_rate_from_index (freq_index); in gst_flv_demux_audio_negotiate()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-demux.c7150 guint obj_type, freq_index, explicit_freq_bytes = 0; in gst_matroska_demux_audio_caps() local
7154 freq_index = (GST_READ_UINT16_BE (context->codec_priv) & 0x780) >> 7; in gst_matroska_demux_audio_caps()
7156 if (freq_index == 15) in gst_matroska_demux_audio_caps()
7158 GST_DEBUG ("obj_type = %u, freq_index = %u", obj_type, freq_index); in gst_matroska_demux_audio_caps()
7162 if (obj_type == 5 || (freq_index >= 6 && freq_index != 15) || in gst_matroska_demux_audio_caps()