Home
last modified time | relevance | path

Searched refs:block_size_index (Results 1 – 1 of 1) sorted by relevance

/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstoggstream.c1142 int block_size_index; in packet_duration_flac() local
1147 block_size_index = packet->packet[2] >> 4; in packet_duration_flac()
1148 if (block_size_index == 1) in packet_duration_flac()
1150 if (block_size_index >= 2 && block_size_index <= 5) { in packet_duration_flac()
1151 return 576 << (block_size_index - 2); in packet_duration_flac()
1153 if (block_size_index >= 8) { in packet_duration_flac()
1154 return G_GUINT64_CONSTANT (256) << (block_size_index - 8); in packet_duration_flac()
1156 if (block_size_index == 6 || block_size_index == 7) { in packet_duration_flac()
1157 guint len, bytes = (block_size_index - 6) + 1; in packet_duration_flac()