• Home
  • Raw
  • Download

Lines Matching refs:roq

73     RoqDemuxContext *roq = s->priv_data;  in roq_read_header()  local
81 roq->frame_rate = AV_RL16(&preamble[6]); in roq_read_header()
84 roq->width = roq->height = roq->audio_channels = roq->video_pts = in roq_read_header()
85 roq->audio_frame_count = 0; in roq_read_header()
86 roq->audio_stream_index = -1; in roq_read_header()
87 roq->video_stream_index = -1; in roq_read_header()
97 RoqDemuxContext *roq = s->priv_data; in roq_read_packet() local
127 if (roq->video_stream_index == -1) { in roq_read_packet()
131 avpriv_set_pts_info(st, 63, 1, roq->frame_rate); in roq_read_packet()
132 roq->video_stream_index = st->index; in roq_read_packet()
139 st->codecpar->width = roq->width = AV_RL16(preamble); in roq_read_packet()
140 st->codecpar->height = roq->height = AV_RL16(preamble + 2); in roq_read_packet()
148 if (roq->video_stream_index < 0) in roq_read_packet()
170 pkt->stream_index = roq->video_stream_index; in roq_read_packet()
171 pkt->pts = roq->video_pts++; in roq_read_packet()
178 if (roq->audio_stream_index == -1) { in roq_read_packet()
183 roq->audio_stream_index = st->index; in roq_read_packet()
194 roq->audio_channels = st->codecpar->channels; in roq_read_packet()
203 if (roq->video_stream_index < 0) in roq_read_packet()
215 pkt->stream_index = roq->video_stream_index; in roq_read_packet()
216 pkt->pts = roq->video_pts++; in roq_read_packet()
218 pkt->stream_index = roq->audio_stream_index; in roq_read_packet()
219 pkt->pts = roq->audio_frame_count; in roq_read_packet()
220 roq->audio_frame_count += (chunk_size / roq->audio_channels); in roq_read_packet()