Searched refs:nb_sectors (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.c585 static void write_fat(AVIOContext *pb, int start_sector, int nb_sectors, int shift) argument
588 for (i = 0; i < nb_sectors; i++) {
592 write_pad(pb, WTV_SECTOR_SIZE - ((nb_sectors << 2) % WTV_SECTOR_SIZE));
595 static int64_t write_fat_sector(AVFormatContext *s, int64_t start_pos, int nb_sectors, int sector_bits, int depth) argument
601 write_fat(s->pb, start_sector, nb_sectors, shift);
605 int nb_sectors1 = ((nb_sectors << 2) + WTV_SECTOR_SIZE - 1) / WTV_SECTOR_SIZE;
730 int sector_bits, nb_sectors, pad; local
736 // determine optimal fat table depth, sector_bits, nb_sectors
757 // determine the nb_sectors
758 nb_sectors
[all...]
H A Dwtvdec.c56 int nb_sectors; /**< number of sectors */ member in struct:__anon3653
96 if (i >= wf->nb_sectors ||
174 wf->nb_sectors = 1;
181 wf->nb_sectors = read_ints(s->pb, wf->sectors, WTV_SECTOR_SIZE / 4);
192 wf->nb_sectors = 0;
196 wf->nb_sectors += read_ints(s->pb, wf->sectors + i * WTV_SECTOR_SIZE / 4, WTV_SECTOR_SIZE / 4);
205 if (!wf->nb_sectors) {
212 if (size >= 0 && (int64_t)wf->sectors[wf->nb_sectors - 1] << WTV_SECTOR_BITS > size)
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 << w
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Dwtv.c64 int nb_sectors; /** number of sectors */ member in struct:__anon2283
99 if (i >= wf->nb_sectors ||
176 wf->nb_sectors = 1;
184 wf->nb_sectors = read_ints(s->pb, wf->sectors, WTV_SECTOR_SIZE / 4);
196 wf->nb_sectors = 0;
200 wf->nb_sectors += read_ints(s->pb, wf->sectors + i * WTV_SECTOR_SIZE / 4, WTV_SECTOR_SIZE / 4);
209 if (!wf->nb_sectors) {
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);
219 length = (int64_t)wf->nb_sectors << w
[all...]

Completed in 64 milliseconds