Searched refs:pcm_val (Results 1 – 3 of 3) sorted by relevance
163 st_14linear2ulaw(PyInt16 pcm_val) /* 2's complement (14-bit range) */ in st_14linear2ulaw() argument170 pcm_val = pcm_val >> 2; in st_14linear2ulaw()174 if (pcm_val < 0) { in st_14linear2ulaw()175 pcm_val = -pcm_val; in st_14linear2ulaw()180 if ( pcm_val > CLIP ) pcm_val = CLIP; /* clip the magnitude */ in st_14linear2ulaw()181 pcm_val += (BIAS >> 2); in st_14linear2ulaw()184 seg = search(pcm_val, seg_uend, 8); in st_14linear2ulaw()193 uval = (unsigned char) (seg << 4) | ((pcm_val >> (seg + 1)) & 0xF); in st_14linear2ulaw()260 st_linear2alaw(PyInt16 pcm_val) /* 2's complement (13-bit range) */ in st_linear2alaw() argument267 pcm_val = pcm_val >> 3; in st_linear2alaw()[all …]
153 st_14linear2ulaw(int16_t pcm_val) /* 2's complement (14-bit range) */ in st_14linear2ulaw() argument161 if (pcm_val < 0) { in st_14linear2ulaw()162 pcm_val = -pcm_val; in st_14linear2ulaw()167 if ( pcm_val > CLIP ) pcm_val = CLIP; /* clip the magnitude */ in st_14linear2ulaw()168 pcm_val += (BIAS >> 2); in st_14linear2ulaw()171 seg = search(pcm_val, seg_uend, 8); in st_14linear2ulaw()180 uval = (unsigned char) (seg << 4) | ((pcm_val >> (seg + 1)) & 0xF); in st_14linear2ulaw()247 st_linear2alaw(int16_t pcm_val) /* 2's complement (13-bit range) */ in st_linear2alaw() argument254 if (pcm_val >= 0) { in st_linear2alaw()258 pcm_val = -pcm_val - 1; in st_linear2alaw()[all …]
1324 WORD32 mixed_time_pair = 0, pcm_val = 0; in ixheaacd_mps_ecdatapairdec() local1393 pcm_val = 2 * data_bands; in ixheaacd_mps_ecdatapairdec()1397 pcm_val = data_bands; in ixheaacd_mps_ecdatapairdec()1401 quant_offset, pcm_val, quant_levels)) in ixheaacd_mps_ecdatapairdec()