Lines Matching defs:srcC
922 const uint8_t *srcC;
934 srcC = src + offset;
938 current_sample = (int16_t)bytestream_get_le16(&srcC);
939 previous_sample = (int16_t)bytestream_get_le16(&srcC);
946 if (*srcC == 0xEE) { /* only seen in R2 and R3 */
947 srcC++;
948 if (srcC > src_end - 30*2) break;
949 current_sample = (int16_t)bytestream_get_be16(&srcC);
950 previous_sample = (int16_t)bytestream_get_be16(&srcC);
953 *samplesC = (int16_t)bytestream_get_be16(&srcC);
957 coeff1 = ea_adpcm_table[ *srcC>>4 ];
958 coeff2 = ea_adpcm_table[(*srcC>>4) + 4];
959 shift = 20 - (*srcC++ & 0x0F);
961 if (srcC > src_end - 14) break;
964 next_sample = sign_extend(*srcC++, 4) << shift;
966 next_sample = sign_extend(*srcC >> 4, 4) << shift;