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 …]
146 st_14linear2ulaw(int16_t pcm_val) /* 2's complement (14-bit range) */ in st_14linear2ulaw() argument154 if (pcm_val < 0) { in st_14linear2ulaw()155 pcm_val = -pcm_val; in st_14linear2ulaw()160 if ( pcm_val > CLIP ) pcm_val = CLIP; /* clip the magnitude */ in st_14linear2ulaw()161 pcm_val += (BIAS >> 2); in st_14linear2ulaw()164 seg = search(pcm_val, seg_uend, 8); in st_14linear2ulaw()173 uval = (unsigned char) (seg << 4) | ((pcm_val >> (seg + 1)) & 0xF); in st_14linear2ulaw()240 st_linear2alaw(int16_t pcm_val) /* 2's complement (13-bit range) */ in st_linear2alaw() argument247 if (pcm_val >= 0) { in st_linear2alaw()251 pcm_val = -pcm_val - 1; in st_linear2alaw()[all …]
1501 WORD32 mixed_time_pair = 0, pcm_val = 0; in ixheaacd_mps_ecdatapairdec() local1592 pcm_val = 2 * data_bands; in ixheaacd_mps_ecdatapairdec()1596 pcm_val = data_bands; in ixheaacd_mps_ecdatapairdec()1600 quant_offset, pcm_val, quant_levels); in ixheaacd_mps_ecdatapairdec()