Searched refs:MVI_FRAC_BITS (Results 1 – 1 of 1) sorted by relevance
28 #define MVI_FRAC_BITS 10 macro99 mvi->audio_frame_size = ((uint64_t)audio_data_size << MVI_FRAC_BITS) / frames_count; in read_header()100 if (mvi->audio_frame_size <= 1 << MVI_FRAC_BITS - 1) { in read_header()124 … mvi->audio_size_counter + 512 + mvi->audio_frame_size >= ((uint64_t)INT32_MAX) << MVI_FRAC_BITS) in read_packet()127 count = (mvi->audio_size_counter + mvi->audio_frame_size + 512) >> MVI_FRAC_BITS; in read_packet()130 if ((int64_t)count << MVI_FRAC_BITS > INT_MAX) in read_packet()136 mvi->audio_size_counter += mvi->audio_frame_size - (count << MVI_FRAC_BITS); in read_packet()