Lines Matching defs:idcin
155 IdcinDemuxContext *idcin = s->priv_data;
189 idcin->audio_present = 1;
192 idcin->audio_present = 0;
200 idcin->video_stream_index = st->index;
211 if (idcin->audio_present) {
212 idcin->audio_present = 1;
218 idcin->audio_stream_index = st->index;
227 st->codec->block_align = idcin->block_align = bytes_per_sample * channels;
234 idcin->audio_chunk_size1 = (sample_rate / 14) *
236 idcin->audio_chunk_size2 = (sample_rate / 14 + 1) *
239 idcin->audio_chunk_size1 = idcin->audio_chunk_size2 =
242 idcin->current_audio_chunk = 0;
245 idcin->next_chunk_is_video = 1;
246 idcin->first_pkt_pos = avio_tell(s->pb);
257 IdcinDemuxContext *idcin = s->priv_data;
268 if (idcin->next_chunk_is_video) {
333 pkt->stream_index = idcin->video_stream_index;
337 if (idcin->current_audio_chunk)
338 chunk_size = idcin->audio_chunk_size2;
340 chunk_size = idcin->audio_chunk_size1;
344 pkt->stream_index = idcin->audio_stream_index;
345 pkt->duration = chunk_size / idcin->block_align;
347 idcin->current_audio_chunk ^= 1;
350 if (idcin->audio_present)
351 idcin->next_chunk_is_video ^= 1;
359 IdcinDemuxContext *idcin = s->priv_data;
361 if (idcin->first_pkt_pos > 0) {
362 int ret = avio_seek(s->pb, idcin->first_pkt_pos, SEEK_SET);
365 ff_update_cur_dts(s, s->streams[idcin->video_stream_index], 0);
366 idcin->next_chunk_is_video = 1;
367 idcin->current_audio_chunk = 0;
374 .name = "idcin",