Lines Matching refs:nb_sectors
55 int nb_sectors; /**< number of sectors */ member
94 if (i >= wf->nb_sectors || in wtvfile_read_packet()
172 wf->nb_sectors = 1; in wtvfile_open_sector()
179 wf->nb_sectors = read_ints(s->pb, wf->sectors, WTV_SECTOR_SIZE / 4); in wtvfile_open_sector()
190 wf->nb_sectors = 0; in wtvfile_open_sector()
194 … wf->nb_sectors += read_ints(s->pb, wf->sectors + i * WTV_SECTOR_SIZE / 4, WTV_SECTOR_SIZE / 4); in wtvfile_open_sector()
203 if (!wf->nb_sectors) { in wtvfile_open_sector()
210 if (size >= 0 && (int64_t)wf->sectors[wf->nb_sectors - 1] << WTV_SECTOR_BITS > size) in wtvfile_open_sector()
215 if (length > ((int64_t)wf->nb_sectors << wf->sector_bits)) { in wtvfile_open_sector()
216 …eds number of available sectors (0x%"PRIx64")\n", length, (int64_t)wf->nb_sectors << wf->sector_bi… in wtvfile_open_sector()
217 length = (int64_t)wf->nb_sectors << wf->sector_bits; in wtvfile_open_sector()