Lines Matching refs:vst
53 AVStream *vst;
413 AVStream *vst;
486 vst = avformat_new_stream(s, NULL);
487 if (!vst)
489 wav->vst = vst;
491 vst->id = 1;
492 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
493 vst->codecpar->codec_id = AV_CODEC_ID_SMVJPEG;
494 vst->codecpar->width = avio_rl24(pb);
495 vst->codecpar->height = avio_rl24(pb);
496 if ((ret = ff_alloc_extradata(vst->codecpar, 4)) < 0) {
506 avpriv_set_pts_info(vst, 32, 1, avio_rl24(pb));
507 vst->duration = avio_rl24(pb);
515 AV_WL32(vst->codecpar->extradata, wav->smv_frames_per_jpeg);
717 AVStream *vst = wav->vst;
720 video_dts = (int32_t)ffstream(vst)->cur_dts;
725 av_compare_ts(video_dts, vst->time_base,
753 pkt->stream_index = vst->index;
802 AVStream *ast = s->streams[0], *vst = wav->vst;
806 if (stream_index != 0 && (!vst || stream_index != vst->index))
811 smv_timestamp = av_rescale_q(timestamp, ast->time_base, vst->time_base);
813 timestamp = av_rescale_q(smv_timestamp, vst->time_base, ast->time_base);