Lines Matching refs:sector_bits
595 static int64_t write_fat_sector(AVFormatContext *s, int64_t start_pos, int nb_sectors, int sector_bits, int depth)
598 int shift = sector_bits - WTV_SECTOR_BITS;
730 int sector_bits, nb_sectors, pad;
736 // determine optimal fat table depth, sector_bits, nb_sectors
739 sector_bits = WTV_SECTOR_BITS;
742 sector_bits = WTV_SECTOR_BITS;
745 sector_bits = WTV_BIGSECTOR_BITS;
748 sector_bits = WTV_SECTOR_BITS;
751 sector_bits = WTV_BIGSECTOR_BITS;
758 nb_sectors = (int)(w->length >> sector_bits);
761 pad = (1 << sector_bits) - (w->length % (1 << sector_bits));
769 w->first_sector = write_fat_sector(s, start_pos, nb_sectors, sector_bits, w->depth) >> WTV_SECTOR_BITS;
775 if (sector_bits == WTV_SECTOR_BITS)