Home
last modified time | relevance | path

Searched refs:PIT_MIN (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dol_ltp.cpp223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx, in ol_ltp()
230 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME_BY2, in ol_ltp()
235 *T_op = Pitch_ol_wgh(st, vadSt, wsp, PIT_MIN, PIT_MAX, L_FRAME_BY2, in ol_ltp()
Dpitch_fr.cpp139 /* MR475 */ { 84, 1, -2, 2, 5, 10, 5, 9, PIT_MIN },
140 /* MR515 */ { 84, 1, -2, 2, 5, 10, 5, 9, PIT_MIN },
141 /* MR59 */ { 84, 1, -2, 2, 3, 6, 5, 9, PIT_MIN },
142 /* MR67 */ { 84, 1, -2, 2, 3, 6, 5, 9, PIT_MIN },
143 /* MR74 */ { 84, 1, -2, 2, 3, 6, 5, 9, PIT_MIN },
144 /* MR795 */ { 84, 1, -2, 2, 3, 6, 10, 19, PIT_MIN },
145 /* MR102 */ { 84, 1, -2, 2, 3, 6, 5, 9, PIT_MIN },
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder.cpp593 if (index < (PIT_FR1_8b - PIT_MIN) * 2) in pvDecoder_AmrWb()
595 T0 = PIT_MIN + (index >> 1); in pvDecoder_AmrWb()
596 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 1)); in pvDecoder_AmrWb()
601 T0 = add_int16(index, PIT_FR1_8b - ((PIT_FR1_8b - PIT_MIN) * 2)); in pvDecoder_AmrWb()
609 if (index < (PIT_FR2 - PIT_MIN) * 4) in pvDecoder_AmrWb()
611 T0 = PIT_MIN + (index >> 2); in pvDecoder_AmrWb()
612 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 2)); in pvDecoder_AmrWb()
614 else if (index < (((PIT_FR2 - PIT_MIN) << 2) + ((PIT_FR1_9b - PIT_FR2) << 1))) in pvDecoder_AmrWb()
616 index -= (PIT_FR2 - PIT_MIN) << 2; in pvDecoder_AmrWb()
623 … T0 = add_int16(index, (PIT_FR1_9b - ((PIT_FR2 - PIT_MIN) * 4) - ((PIT_FR1_9b - PIT_FR2) * 2))); in pvDecoder_AmrWb()
[all …]
Dpvamrwbdecoder_cnst.h99 #define PIT_MIN 34 /* Minimum pitch lag with resolution 1/4 */ macro
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dcnst.h82 #define PIT_MIN 20 /* Minimum pitch lag (all other modes) */ macro
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c685 if (T0_min < PIT_MIN) in coder()
687 T0_min = PIT_MIN; in coder()
727 if (T0_min < PIT_MIN) in coder()
729 T0_min = PIT_MIN; in coder()
844 pit_flag, PIT_MIN, PIT_FR1_8b, L_SUBFR); in coder()
857 index = ((T0 << 1) + (T0_frac >> 1) - (PIT_MIN<<1)); in coder()
860 index = ((T0 - PIT_FR1_8b) + ((PIT_FR1_8b - PIT_MIN)*2)); in coder()
867 if (T0_min < PIT_MIN) in coder()
869 T0_min = PIT_MIN; in coder()
906 index = ((T0 << 2) + T0_frac) - (PIT_MIN << 2); in coder()
[all …]
Dpitch_f4.c123 if ((t0_fr2 == PIT_MIN)||((i_subfr == 0) && (t0 >= t0_fr2))) in Pitch_fr4()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dcnst.h46 #define PIT_MIN 34 /* Minimum pitch lag with resolution 1/4 */ macro
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Ddec_amr.cpp1616 if (t0_min < PIT_MIN) in Decoder_amr()
1618 t0_min = PIT_MIN; in Decoder_amr()