Lines Matching defs:depth
72 int depth;
573 avio_wl32(pb, w->depth);
595 static int64_t write_fat_sector(AVFormatContext *s, int64_t start_pos, int nb_sectors, int sector_bits, int depth)
603 if (depth == 2) {
737 // determine optimal fat table depth, sector_bits, nb_sectors
739 w->depth = 0;
742 w->depth = 1;
745 w->depth = 1;
748 w->depth = 2;
751 w->depth = 2;
754 av_log(s, AV_LOG_ERROR, "unsupported file allocation table depth (%"PRIi64" bytes)\n", w->length);
769 if (w->depth > 0) {
770 w->first_sector = write_fat_sector(s, start_pos, nb_sectors, sector_bits, w->depth) >> WTV_SECTOR_BITS;