Lines Matching refs:sample_table
60 film_sample *sample_table; member
82 av_freep(&film->sample_table); in film_read_close()
98 film->sample_table = NULL; in film_read_header()
206 film->sample_table = av_malloc_array(film->sample_count, sizeof(film_sample)); in film_read_header()
207 if (!film->sample_table) in film_read_header()
225 film->sample_table[i].sample_offset = in film_read_header()
227 film->sample_table[i].sample_size = AV_RB32(&scratch[4]); in film_read_header()
228 if (film->sample_table[i].sample_size > INT_MAX / 4) { in film_read_header()
233 film->sample_table[i].stream = film->audio_stream_index; in film_read_header()
234 film->sample_table[i].pts = audio_frame_counter; in film_read_header()
237 audio_frame_counter += (film->sample_table[i].sample_size * 32 / in film_read_header()
240 audio_frame_counter += (film->sample_table[i].sample_size / in film_read_header()
243 film->sample_table[i].stream = film->video_stream_index; in film_read_header()
244 film->sample_table[i].pts = AV_RB32(&scratch[8]) & 0x7FFFFFFF; in film_read_header()
245 film->sample_table[i].keyframe = (scratch[8] & 0x80) ? 0 : AVINDEX_KEYFRAME; in film_read_header()
249 film->sample_table[i].sample_offset, in film_read_header()
250 film->sample_table[i].pts, in film_read_header()
251 film->sample_table[i].sample_size, 0, in film_read_header()
252 film->sample_table[i].keyframe); in film_read_header()
283 sample = &film->sample_table[film->current_sample]; in film_read_packet()
292 next_sample = &film->sample_table[next_sample_id]; in film_read_packet()