Home
last modified time | relevance | path

Searched refs:PIT_FR2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/codecs/amrwb/dec/src/
Dpvamrwbdecoder.cpp612 if (index < (PIT_FR2 - PIT_MIN) * 4) 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()
620 T0 = PIT_FR2 + (index >> 1); in pvDecoder_AmrWb()
621 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_FR2), 1)); 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()
Dpvamrwbdecoder_cnst.h100 #define PIT_FR2 128 /* Minimum pitch lag with resolution 1/2 */ macro
/frameworks/av/media/codecs/amrwb/enc/inc/
Dcnst.h47 #define PIT_FR2 128 /* Minimum pitch lag with resolution 1/2 */ macro
/frameworks/av/media/codecs/amrwb/enc/src/
DvoAMRWBEnc.c893 pit_flag, PIT_FR2, PIT_FR1_9b, L_SUBFR); in coder()
906 if (T0 < PIT_FR2) in coder()
911 … index = ((((T0 << 1) + (T0_frac >> 1)) - (PIT_FR2<<1)) + ((PIT_FR2 - PIT_MIN)<<2)); in coder()
914 … index = (((T0 - PIT_FR1_9b) + ((PIT_FR2 - PIT_MIN)<<2)) + ((PIT_FR1_9b - PIT_FR2)<<1)); in coder()