Searched refs:sector_bits (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Dwtvenc.c595 static int64_t write_fat_sector(AVFormatContext *s, int64_t start_pos, int nb_sectors, int sector_bits, int depth) argument
598 int shift = sector_bits - WTV_SECTOR_BITS;
730 int sector_bits, nb_sectors, pad; local
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);
[all...]
H A Dwtvdec.c54 int sector_bits; /**< sector shift bits; used to convert sector number into pb_filesystem offset */ member in struct:__anon3653
85 int remaining_in_sector = (1 << wf->sector_bits) - (wf->position & ((1 << wf->sector_bits) - 1));
95 int i = wf->position >> wf->sector_bits;
97 (wf->sectors[i] != wf->sectors[i - 1] + (1 << (wf->sector_bits - WTV_SECTOR_BITS)) &&
123 seek_by_sector(pb, wf->sectors[offset >> wf->sector_bits],
124 offset & ((1 << wf->sector_bits) - 1)) < 0;
203 wf->sector_bits = length & (1ULL<<63) ? WTV_SECTOR_BITS : WTV_BIGSECTOR_BITS;
217 if (length > ((int64_t)wf->nb_sectors << wf->sector_bits)) {
218 av_log(s, AV_LOG_WARNING, "reported file length (0x%"PRIx64") exceeds number of available sectors (0x%"PRIx64")\n", length, (int64_t)wf->nb_sectors << wf->sector_bits);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Dwtv.c62 int sector_bits; /** sector shift bits; used to convert sector number into pb_filesystem offset */ member in struct:__anon2283
88 int remaining_in_sector = (1 << wf->sector_bits) - (wf->position & ((1 << wf->sector_bits) - 1));
98 int i = wf->position >> wf->sector_bits;
100 (wf->sectors[i] != wf->sectors[i - 1] + (1 << (wf->sector_bits - WTV_SECTOR_BITS)) &&
126 avio_seek(pb, ((int64_t)wf->sectors[offset >> wf->sector_bits] << WTV_SECTOR_BITS)
127 + (offset & ((1 << wf->sector_bits) - 1)), SEEK_SET) < 0;
177 wf->sector_bits = WTV_SECTOR_BITS;
185 wf->sector_bits = length & (1ULL<<63) ? WTV_SECTOR_BITS : WTV_BIGSECTOR_BITS;
202 wf->sector_bits
[all...]

Completed in 110 milliseconds