/frameworks/av/media/libstagefright/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 },
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwbdecoder.cpp | 593 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 …]
|
D | pvamrwbdecoder_cnst.h | 99 #define PIT_MIN 34 /* Minimum pitch lag with resolution 1/4 */ macro
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | cnst.h | 82 #define PIT_MIN 20 /* Minimum pitch lag (all other modes) */ macro
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | voAMRWBEnc.c | 685 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 …]
|
D | pitch_f4.c | 123 if ((t0_fr2 == PIT_MIN)||((i_subfr == 0) && (t0 >= t0_fr2))) in Pitch_fr4()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | cnst.h | 46 #define PIT_MIN 34 /* Minimum pitch lag with resolution 1/4 */ macro
|
/frameworks/av/media/libstagefright/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()
|