Home
last modified time | relevance | path

Searched refs:current_track (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
Dbink.c54 int current_track; ///< audio track to return in next packet member
233 bink->current_track = -1; in read_header()
243 if (bink->current_track < 0) { in read_packet()
261 bink->current_track = 0; in read_packet()
264 while (bink->current_track < bink->num_audio_tracks) { in read_packet()
273 bink->current_track++; in read_packet()
278 pkt->stream_index = bink->current_track; in read_packet()
279 pkt->pts = bink->audio_pts[bink->current_track - 1]; in read_packet()
284 bink->audio_pts[bink->current_track -1] += in read_packet()
285 AV_RL32(pkt->data) / (2 * s->streams[bink->current_track]->codecpar->channels); in read_packet()
[all …]
Dpp_bnk.c57 uint32_t current_track; member
248 for (int i = 0; i < ctx->track_count; i++, ctx->current_track++) in pp_bnk_read_packet()
254 ctx->current_track %= ctx->track_count; in pp_bnk_read_packet()
256 trk = ctx->tracks + ctx->current_track; in pp_bnk_read_packet()
278 ret = avio_read(s->pb, pkt->data + size * ctx->current_track, size); in pp_bnk_read_packet()
289 pkt->stream_index = ctx->current_track; in pp_bnk_read_packet()
299 ctx->current_track++; in pp_bnk_read_packet()