Home
last modified time | relevance | path

Searched refs:total_frames (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavformat/
Dsierravmd.c95 unsigned int total_frames; in vmd_read_header() local
199 total_frames = 0; in vmd_read_header()
228 vmd->frame_table[total_frames].frame_offset = current_offset; in vmd_read_header()
229 vmd->frame_table[total_frames].stream_index = vmd->audio_stream_index; in vmd_read_header()
230 vmd->frame_table[total_frames].frame_size = size; in vmd_read_header()
231 memcpy(vmd->frame_table[total_frames].frame_record, chunk, BYTES_PER_FRAME_RECORD); in vmd_read_header()
232 vmd->frame_table[total_frames].pts = current_audio_pts; in vmd_read_header()
233 total_frames++; in vmd_read_header()
242 vmd->frame_table[total_frames].frame_offset = current_offset; in vmd_read_header()
243 vmd->frame_table[total_frames].stream_index = vmd->video_stream_index; in vmd_read_header()
[all …]
Drmenc.c34 int total_frames; /* total number of frames */ member
103 …v = av_rescale_q_rnd(stream->total_frames, (AVRational){1000, 1}, stream->frame_rate, AV_ROUND_ZER… in rv10_write_header()
176 if (!(s->seekable & AVIO_SEEKABLE_NORMAL) || !stream->total_frames) in rv10_write_header()
179 …avio_wb32(s, av_rescale_q_rnd(stream->total_frames, (AVRational){1000, 1}, stream->frame_rate, AV… in rv10_write_header()
345 stream->total_frames = stream->nb_packets; in rm_write_header()
354 stream->total_frames = stream->nb_packets; in rm_write_header()
456 rm->streams[i].total_frames = rm->streams[i].nb_frames; in rm_write_trailer()
/third_party/pulseaudio/src/tests/
Dresampler-rewind-test.c69 size_t history_frames, history_max, matching_period, total_frames, remainder; in calculate_resampler_history_bytes() local
76 total_frames = 0; in calculate_resampler_history_bytes()
103 total_frames = in_rewind_frames + history_frames - remainder; in calculate_resampler_history_bytes()
107 total_frames = in_rewind_frames + history_frames + matching_period - remainder; in calculate_resampler_history_bytes()
109 if (total_frames != 0) in calculate_resampler_history_bytes()
111 history_frames = total_frames - in_rewind_frames; in calculate_resampler_history_bytes()
/third_party/ffmpeg/libavcodec/
Dtta.c127 int total_frames; in tta_decode_init() local
204 total_frames = s->data_length / s->frame_length + in tta_decode_init()
211 s->data_length, s->frame_length, s->last_frame_length, total_frames); in tta_decode_init()
/third_party/pulseaudio/src/pulsecore/
Dsink-input.c61 size_t history_frames, history_max, matching_period, total_frames, remainder; in calculate_resampler_history_bytes() local
69 total_frames = 0; in calculate_resampler_history_bytes()
100 total_frames = in_rewind_frames + history_frames - remainder; in calculate_resampler_history_bytes()
103 total_frames = in_rewind_frames + history_frames + matching_period - remainder; in calculate_resampler_history_bytes()
105 if (total_frames != 0) in calculate_resampler_history_bytes()
107 history_frames = total_frames - in_rewind_frames; in calculate_resampler_history_bytes()