Lines Matching refs:first
88 { "delay_moov", "Delay writing the initial moov until the first fragment is cut, or until the first fragment flush", 0, AV_OPT_TYPE_CONST, {.i64 = FF_MOV_FLAG_DELAY_MOOV}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "movflags" },
265 avio_wb32(pb, track->cluster[i].chunkNum); // first chunk
461 /* AC-3 substream must be the first one */
3145 // For animated AVIF, we simply write the first packet's size.
3656 /* Note, this delay is calculated from the pts of the first sample,
5204 * If the first sample is different, that can be signaled via a separate field. */
5220 int first, int end)
5226 for (i = first; i < end; i++) {
5231 if (i > first && get_sample_flags(track, &track->cluster[i]) != track->default_sample_flags)
5248 avio_wb32(pb, end - first); /* sample count */
5255 track->cluster[first].pos); /* data offset */
5257 avio_wb32(pb, get_sample_flags(track, &track->cluster[first]));
5259 for (i = first; i < end; i++) {
5364 // Try to recreate the original pts for the first packet
5545 // atom, for the first track in the moof.
5577 * first track. */
5588 av_log(mov->fc, AV_LOG_WARNING, "Unable to write PRFT, first PTS is invalid\n");
5795 // Write the major brand as the first compatible brand as well
6012 /* First packet in first fragment */
6202 // of the first sample in the next fragment, so we have to rely
6370 // If using delay_moov, the first flush only wrote the moov,
6390 ref = pkt->dts; // Skip tests for the first packet
6647 * the next fragment. This means the cts of the first sample must
6665 /* Not using edit lists and shifting the first track to start from zero.
6668 * Thus move the timestamp for this first sample to 0, increasing
6720 trk->entry > 0) { // force sync sample for the first key frame
7196 int first[AVMEDIA_TYPE_NB];
7200 first[i] = -1;
7211 if (first[st->codecpar->codec_type] < 0)
7212 first[st->codecpar->codec_type] = i;
7226 if (!enabled[i] && first[i] >= 0)
7227 mov->tracks[first[i]].flags |= MOV_TRACK_ENABLED;