Lines Matching defs:vst
91 AVStream *const vst = avformat_new_stream(s, NULL);
92 FFStream *const vsti = ffstream(vst);
102 if (!vst)
105 vst->codecpar->codec_tag = avio_rl32(pb);
106 if (vst->codecpar->codec_tag == AV_RL32("SMUS")) {
110 vst->codecpar->codec_tag = avio_rl32(pb);
111 } while (!avio_feof(pb) && (vst->codecpar->codec_tag & 0xFFFFFF) != AV_RL32("BIK"));
119 vst->duration = avio_rl32(pb);
121 if (vst->duration > 1000000) {
134 vst->codecpar->width = avio_rl32(pb);
135 vst->codecpar->height = avio_rl32(pb);
145 avpriv_set_pts_info(vst, 64, fps_den, fps_num);
146 vst->avg_frame_rate = av_inv_q(vst->time_base);
148 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
149 vst->codecpar->codec_id = AV_CODEC_ID_BINKVIDEO;
151 if ((vst->codecpar->codec_tag & 0xFFFFFF) == MKTAG('K', 'B', '2', 0)) {
153 vst->codecpar->codec_id = AV_CODEC_ID_NONE;
156 if ((ret = ff_get_extradata(s, vst->codecpar, pb, 4)) < 0)
168 signature = (vst->codecpar->codec_tag & 0xFFFFFF);
169 revision = ((vst->codecpar->codec_tag >> 24) % 0xFF);
196 AV_WL32(ast->codecpar->extradata, vst->codecpar->codec_tag);
205 for (i = 0; i < vst->duration; i++) {
208 if (i == vst->duration - 1) {
222 if ((ret = av_add_index_entry(vst, pos, i, next_pos - pos, 0,
309 AVStream *vst = s->streams[0];
310 FFStream *const vsti = ffstream(vst);