Lines Matching defs:length
70 int64_t length;
136 static void write_chunk_header(AVFormatContext *s, const ff_asf_guid *guid, int length, int stream_id)
143 avio_wl32(pb, 32 + length);
164 write_chunk_header(s, guid, 0, stream_id); // length updated later
557 avio_wl64(pb, write ? 0 : w->length);// maybe update later
566 // update length field
735 w->length = (end_pos - start_pos);
738 if (w->length <= WTV_SECTOR_SIZE) {
741 } else if (w->length <= (WTV_SECTOR_SIZE / 4) * WTV_SECTOR_SIZE) {
744 } else if (w->length <= (WTV_SECTOR_SIZE / 4) * WTV_BIGSECTOR_SIZE) {
747 } else if (w->length <= (int64_t)(WTV_SECTOR_SIZE / 4) * (WTV_SECTOR_SIZE / 4) * WTV_SECTOR_SIZE) {
750 } else if (w->length <= (int64_t)(WTV_SECTOR_SIZE / 4) * (WTV_SECTOR_SIZE / 4) * WTV_BIGSECTOR_SIZE) {
754 av_log(s, AV_LOG_ERROR, "unsupported file allocation table depth (%"PRIi64" bytes)\n", w->length);
759 nb_sectors = (int)(w->length >> sector_bits);
762 pad = (1 << sector_bits) - (w->length % (1 << sector_bits));
775 w->length |= 1ULL<<60;
777 w->length |= 1ULL<<63;