Lines Matching refs:r3d
122 R3DContext *r3d = s->priv_data;
126 r3d->video_offsets_count = (atom->size - 8) / 4;
127 r3d->video_offsets = av_malloc(atom->size);
128 if (!r3d->video_offsets)
131 for (i = 0; i < r3d->video_offsets_count; i++) {
132 r3d->video_offsets[i] = avio_rb32(s->pb);
133 if (!r3d->video_offsets[i]) {
134 r3d->video_offsets_count = i;
137 av_dlog(s, "video offset %d: %#x\n", i, r3d->video_offsets[i]);
141 st->duration = av_rescale_q(r3d->video_offsets_count,
151 R3DContext *r3d = s->priv_data;
154 r3d->rdvo_offset = avio_rb32(s->pb);
170 R3DContext *r3d = s->priv_data;
204 if (r3d->rdvo_offset) {
205 avio_seek(s->pb, r3d->rdvo_offset, SEEK_SET);
368 R3DContext *r3d = s->priv_data;
379 if (frame_num < r3d->video_offsets_count) {
380 if (avio_seek(s->pb, r3d->video_offsets_count, SEEK_SET) < 0)
392 R3DContext *r3d = s->priv_data;
394 av_freep(&r3d->video_offsets);
400 .name = "r3d",