Lines Matching defs:r3d
117 R3DContext *r3d = s->priv_data;
121 r3d->video_offsets_count = (atom->size - 8) / 4;
122 r3d->video_offsets = av_malloc(atom->size);
123 if (!r3d->video_offsets)
126 for (i = 0; i < r3d->video_offsets_count; i++) {
127 r3d->video_offsets[i] = avio_rb32(s->pb);
128 if (!r3d->video_offsets[i]) {
129 r3d->video_offsets_count = i;
132 av_dlog(s, "video offset %d: %#x\n", i, r3d->video_offsets[i]);
136 st->duration = (uint64_t)r3d->video_offsets_count*
145 R3DContext *r3d = s->priv_data;
148 r3d->rdvo_offset = avio_rb32(s->pb);
164 R3DContext *r3d = s->priv_data;
198 if (r3d->rdvo_offset) {
199 avio_seek(s->pb, r3d->rdvo_offset, SEEK_SET);
357 R3DContext *r3d = s->priv_data;
368 if (frame_num < r3d->video_offsets_count) {
369 avio_seek(s->pb, r3d->video_offsets_count, SEEK_SET);
380 R3DContext *r3d = s->priv_data;
382 av_freep(&r3d->video_offsets);
388 .name = "r3d",