Home
last modified time | relevance | path

Searched refs:lsf (Results 1 – 23 of 23) sorted by relevance

/third_party/ffmpeg/libavcodec/
Damrnbdata.h69 … uint16_t lsf[5]; ///< lsf parameters: 5 parameters for MODE_12k2, only 3 for other modes member
86 8, AMR_BIT(lsf[0]), 7, 6, 5, 4, 3, 2, 1, 0,
87 8, AMR_BIT(lsf[1]), 15, 14, 13, 12, 11, 10, 9, 8,
88 7, AMR_BIT(lsf[2]), 51, 35, 34, 50, 33, 49, 32,
107 8, AMR_BIT(lsf[0]), 0, 1, 2, 3, 4, 5, 6, 7,
108 8, AMR_BIT(lsf[1]), 8, 9, 10, 11, 12, 13, 14, 15,
109 7, AMR_BIT(lsf[2]), 70, 51, 43, 71, 50, 60, 49,
130 8, AMR_BIT(lsf[0]), 7, 6, 0, 3, 5, 4, 2, 1,
131 9, AMR_BIT(lsf[1]), 13, 12, 8, 11, 10, 15, 9, 14, 23,
132 9, AMR_BIT(lsf[2]), 71, 56, 60, 70, 59, 57, 58, 69, 76,
[all …]
Dmpegaudiodecheader.c47 s->lsf = (header & (1<<19)) ? 0 : 1; in avpriv_mpegaudio_decode_header()
50 s->lsf = 1; in avpriv_mpegaudio_decode_header()
59 sample_rate = avpriv_mpa_freq_tab[sample_rate_index] >> (s->lsf + mpeg25); in avpriv_mpegaudio_decode_header()
60 sample_rate_index += 3 * (s->lsf + mpeg25); in avpriv_mpegaudio_decode_header()
80 frame_size = avpriv_mpa_bitrate_tab[s->lsf][s->layer - 1][bitrate_index]; in avpriv_mpegaudio_decode_header()
93 frame_size = (frame_size * 144000) / (sample_rate << s->lsf); in avpriv_mpegaudio_decode_header()
143 if (s->lsf) in ff_mpa_decode_header()
Dmp3_header_decompress_bsf.c35 int lsf, mpeg25, bitrate_index, frame_size, ret; in mp3_header_decompress() local
62 lsf = sample_rate < (24000+32000)/2; in mp3_header_decompress()
70 …sample_rate= avpriv_mpa_freq_tab[sample_rate_index] >> (lsf + mpeg25); //in case sample rate is a … in mp3_header_decompress()
73 frame_size = avpriv_mpa_bitrate_tab[lsf][2][bitrate_index>>1]; in mp3_header_decompress()
74 frame_size = (frame_size * 144000) / (sample_rate << lsf) + (bitrate_index&1); in mp3_header_decompress()
102 if(lsf){ in mp3_header_decompress()
Dlsp.c51 void ff_set_min_dist_lsf(float *lsf, double min_spacing, int size) in ff_set_min_dist_lsf() argument
56 prev = lsf[i] = FFMAX(lsf[i], prev + min_spacing); in ff_set_min_dist_lsf()
83 void ff_acelp_lsf2lsp(int16_t *lsp, const int16_t *lsf, int lp_order) in ff_acelp_lsf2lsp() argument
90 lsp[i] = ff_cos(lsf[i] * 20861 >> 15); // divide by PI and (0,13) -> (0,14) in ff_acelp_lsf2lsp()
93 void ff_acelp_lsf2lspd(double *lsp, const float *lsf, int lp_order) in ff_acelp_lsf2lspd() argument
98 lsp[i] = cos(2.0 * M_PI * lsf[i]); in ff_acelp_lsf2lspd()
Dilbcdec.c77 int16_t lsf[LSF_NSPLIT*LPC_N_MAX]; member
134 frame->lsf[0] = get_bits(gb, 6); in unpack_frame()
135 frame->lsf[1] = get_bits(gb, 7); in unpack_frame()
136 frame->lsf[2] = get_bits(gb, 7); in unpack_frame()
150 frame->lsf[3] = get_bits(gb, 6); in unpack_frame()
151 frame->lsf[4] = get_bits(gb, 7); in unpack_frame()
152 frame->lsf[5] = get_bits(gb, 7); in unpack_frame()
309 static void lsf_check_stability(int16_t *lsf, int dim, int nb_vectors) in lsf_check_stability() argument
316 if ((lsf[i + 1] - lsf[i]) < 319) { in lsf_check_stability()
317 if (lsf[i + 1] < lsf[i]) { in lsf_check_stability()
[all …]
Dlsp.h53 void ff_set_min_dist_lsf(float *lsf, double min_spacing, int size);
63 void ff_acelp_lsf2lsp(int16_t *lsp, const int16_t *lsf, int lp_order);
68 void ff_acelp_lsf2lspd(double *lsp, const float *lsf, int lp_order);
Dmpegaudio.c31 int ff_mpa_l2_select_table(int bitrate, int nb_channels, int freq, int lsf) in ff_mpa_l2_select_table() argument
36 if (!lsf) { in ff_mpa_l2_select_table()
Dmpegaudioenc_template.c50 int lsf; /* 1 if mpeg2 low bitrate selected */ member
95 s->lsf = 0; in MPA_encode_init()
100 s->lsf = 1; in MPA_encode_init()
112 if (avpriv_mpa_bitrate_tab[s->lsf][1][i] == bitrate) in MPA_encode_init()
117 bitrate = avpriv_mpa_bitrate_tab[s->lsf][1][i]; in MPA_encode_init()
136 table = ff_mpa_l2_select_table(bitrate, s->nb_channels, freq, s->lsf); in MPA_encode_init()
617 put_bits(p, 1, 1 - s->lsf); /* 1 = MPEG-1 ID, 0 = MPEG-2 lsf ID */ in encode_frame()
Dmpegaudiodecheader.h44 int lsf;
Dmpegaudio.h79 int ff_mpa_l2_select_table(int bitrate, int nb_channels, int freq, int lsf);
Dsipr16k.c45 static void lsf2lsp(const float *lsf, double *lsp) in lsf2lsp() argument
50 lsp[i] = cosf(lsf[i]); in lsf2lsp()
Damrnbdec.c300 const uint16_t *lsf_param = p->frame.lsf; in lsf2lsp_5()
329 const uint16_t *lsf_param = p->frame.lsf; in lsf2lsp_3()
588 static float fixed_gain_smooth(AMRContext *p , const float *lsf, in fixed_gain_smooth() argument
595 diff += fabs(lsf_avg[i] - lsf[i]) / lsf_avg[i]; in fixed_gain_smooth()
Dmpegaudiodec_template.c473 s->sample_rate, s->lsf); in mp_decode_layer2()
946 if (!s->lsf) { in compute_stereo()
1213 if (s->lsf) { in mp_decode_layer3()
1251 if (s->lsf) in mp_decode_layer3()
1285 if (!s->lsf) in mp_decode_layer3()
1335 if (!s->lsf) { in mp_decode_layer3()
1483 s->avctx->frame_size = s->lsf ? 576 : 1152; in mp_decode_frame()
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstmpegaudioparse.c295 gint lsf, mpg25; in mp3_type_frame_length_from_header() local
298 lsf = (header & (1 << 19)) ? 0 : 1; in mp3_type_frame_length_from_header()
301 lsf = 1; in mp3_type_frame_length_from_header()
305 version = 1 + lsf + mpg25; in mp3_type_frame_length_from_header()
312 bitrate = mp3types_bitrates[lsf][layer - 1][bitrate] * 1000; in mp3_type_frame_length_from_header()
319 samplerate = mp3types_freqs[lsf + mpg25][samplerate]; in mp3_type_frame_length_from_header()
336 length = (bitrate * 144) / (samplerate << lsf) + padding; in mp3_type_frame_length_from_header()
516 gint lsf, mpg25; in gst_mp3parse_find_freerate() local
525 lsf = (header & (1 << 19)) ? 0 : 1; in gst_mp3parse_find_freerate()
528 lsf = 1; in gst_mp3parse_find_freerate()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpmparobustdepay.c202 gint lsf, mpg25; in mp3_type_frame_length_from_header() local
205 lsf = (header & (1 << 19)) ? 0 : 1; in mp3_type_frame_length_from_header()
208 lsf = 1; in mp3_type_frame_length_from_header()
212 version = 1 + lsf + mpg25; in mp3_type_frame_length_from_header()
219 bitrate = mp3types_bitrates[lsf][layer - 1][bitrate] * 1000; in mp3_type_frame_length_from_header()
228 samplerate = mp3types_freqs[lsf + mpg25][samplerate]; in mp3_type_frame_length_from_header()
244 length = (bitrate * 144) / (samplerate << lsf) + padding; in mp3_type_frame_length_from_header()
/third_party/gstreamer/gstplugins_good/ext/lame/
Dgstlamemp3enc.c544 gint lsf, mpg25; in mp3_type_frame_length_from_header() local
547 lsf = (header & (1 << 19)) ? 0 : 1; in mp3_type_frame_length_from_header()
550 lsf = 1; in mp3_type_frame_length_from_header()
554 version = 1 + lsf + mpg25; in mp3_type_frame_length_from_header()
561 bitrate = mp3types_bitrates[lsf][layer - 1][bitrate] * 1000; in mp3_type_frame_length_from_header()
567 samplerate = mp3types_freqs[lsf + mpg25][samplerate]; in mp3_type_frame_length_from_header()
583 length = (bitrate * 144) / (samplerate << lsf) + padding; in mp3_type_frame_length_from_header()
/third_party/ffmpeg/libavformat/
Dnutenc.c62 int lsf, mpeg25, sample_rate_index, bitrate_index, frame_size; in find_expected_header() local
66 lsf = sample_rate < (24000 + 32000) / 2; in find_expected_header()
68 sample_rate <<= lsf + mpeg25; in find_expected_header()
73 sample_rate = avpriv_mpa_freq_tab[sample_rate_index] >> (lsf + mpeg25); in find_expected_header()
77 avpriv_mpa_bitrate_tab[lsf][layer - 1][bitrate_index >> 1]; in find_expected_header()
78 frame_size = (frame_size * 144000) / (sample_rate << lsf) + in find_expected_header()
85 header |= (!lsf) << 19; in find_expected_header()
Dmp3enc.c211 mp3->xing_offset = xing_offtbl[mpah.lsf == 1][mpah.nb_channels == 1] + 4; in mp3_write_xing()
340 base = 4 + xing_offtbl[mpah.lsf == 1][mpah.nb_channels == 1]; in mp3_write_audio_packet()
Dmp3dec.c177 avio_skip(s->pb, xing_offtbl[c->lsf == 1][c->nb_channels == 1]); in mp3_parse_info_tag()
337 spf = c.lsf ? 576 : 1152; /* Samples per frame, layer 3 */ in mp3_parse_vbr_tags()
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavimux.c670 gint lsf, mpg25; in gst_avi_mux_audsink_scan_mpeg_audio() local
683 lsf = (header & (1 << 19)) ? 0 : 1; in gst_avi_mux_audsink_scan_mpeg_audio()
686 lsf = 1; in gst_avi_mux_audsink_scan_mpeg_audio()
690 version = 1 + lsf + mpg25; in gst_avi_mux_audsink_scan_mpeg_audio()
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt21907 "lsf",
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt21907 "lsf",
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt20873 "lsf",