Lines Matching refs:sample_index
104 uint32_t sample_index; member
241 m4adec->sample_index = 0; in m4aac_get_sample_size_info()
274 m4adec->sample_index = count; in m4aac_get_sample_size_info()
295 count = MIN(m4adec->sample_count - m4adec->sample_index, (buff_size) / sizeof(int)); in m4aac_get_sample_size_remain()
298 memcpy(&sample_size[i + m4adec->sample_index], sample_size_buf + i, sizeof(int)); in m4aac_get_sample_size_remain()
299 … sample_size[i + m4adec->sample_index] = UINT32_BIG_2_LIT(sample_size[i + m4adec->sample_index]); in m4aac_get_sample_size_remain()
302 m4adec->sample_index += count; in m4aac_get_sample_size_remain()
379 uint32_t start_sample = m4adec->sample_index; in m4aac_decode_sample()
392 m4adec->sample_index = i; in m4aac_decode_sample()
413 m4adec->sample_index = sample_count; in m4aac_decode_sample()
529 static uint32_t sample_index = 0; in m4a_decode_buffer() local
573 if (m4adec->sample_count == m4adec->sample_index) { in m4a_decode_buffer()
574 m4adec->sample_index = 0; in m4a_decode_buffer()
595 if (m4adec->sample_count == m4adec->sample_index) { in m4a_decode_buffer()
596 m4adec->sample_index = 0; in m4a_decode_buffer()
624 if (m4adec->sample_count == m4adec->sample_index) { in m4a_decode_buffer()