/frameworks/av/media/codecs/amrnb/enc/src/ |
D | ol_ltp.cpp | 223 *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()
|
D | pitch_fr.cpp | 139 /* 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 }, 598 minPitch = (mode == MR122) ? PIT_MIN_MR122 : PIT_MIN; in searchFrac()
|
/frameworks/av/media/codecs/amrwb/dec/src/ |
D | pvamrwbdecoder.cpp | 596 if (index < (PIT_FR1_8b - PIT_MIN) * 2) in pvDecoder_AmrWb() 598 T0 = PIT_MIN + (index >> 1); in pvDecoder_AmrWb() 599 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 1)); in pvDecoder_AmrWb() 604 T0 = add_int16(index, PIT_FR1_8b - ((PIT_FR1_8b - PIT_MIN) * 2)); in pvDecoder_AmrWb() 612 if (index < (PIT_FR2 - PIT_MIN) * 4) in pvDecoder_AmrWb() 614 T0 = PIT_MIN + (index >> 2); in pvDecoder_AmrWb() 615 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 2)); in pvDecoder_AmrWb() 617 else if (index < (((PIT_FR2 - PIT_MIN) << 2) + ((PIT_FR1_9b - PIT_FR2) << 1))) in pvDecoder_AmrWb() 619 index -= (PIT_FR2 - PIT_MIN) << 2; in pvDecoder_AmrWb() 626 … T0 = add_int16(index, (PIT_FR1_9b - ((PIT_FR2 - PIT_MIN) * 4) - ((PIT_FR1_9b - PIT_FR2) * 2))); in pvDecoder_AmrWb() [all …]
|
D | pvamrwbdecoder_cnst.h | 99 #define PIT_MIN 34 /* Minimum pitch lag with resolution 1/4 */ macro
|
/frameworks/av/media/codecs/amrnb/common/include/ |
D | cnst.h | 82 #define PIT_MIN 20 /* Minimum pitch lag (all other modes) */ macro
|
/frameworks/av/media/codecs/amrwb/enc/inc/ |
D | cnst.h | 46 #define PIT_MIN 34 /* Minimum pitch lag with resolution 1/4 */ macro
|
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | voAMRWBEnc.c | 687 if (T0_min < PIT_MIN) in coder() 689 T0_min = PIT_MIN; in coder() 729 if (T0_min < PIT_MIN) in coder() 731 T0_min = PIT_MIN; in coder() 846 pit_flag, PIT_MIN, PIT_FR1_8b, L_SUBFR); in coder() 859 index = ((T0 << 1) + (T0_frac >> 1) - (PIT_MIN<<1)); in coder() 862 index = ((T0 - PIT_FR1_8b) + ((PIT_FR1_8b - PIT_MIN)*2)); in coder() 869 if (T0_min < PIT_MIN) in coder() 871 T0_min = PIT_MIN; in coder() 908 index = ((T0 << 2) + T0_frac) - (PIT_MIN << 2); in coder() [all …]
|
D | pitch_f4.c | 123 if ((t0_fr2 == PIT_MIN)||((i_subfr == 0) && (t0 >= t0_fr2))) in Pitch_fr4()
|
/frameworks/av/media/codecs/amrnb/dec/src/ |
D | dec_amr.cpp | 1616 if (t0_min < PIT_MIN) in Decoder_amr() 1618 t0_min = PIT_MIN; in Decoder_amr()
|