Lines Matching refs:vst
96 AVStream *vst, *ast; in amv_init() local
106 vst = s->streams[AMV_STREAM_VIDEO]; in amv_init()
109 if (vst->codecpar->codec_id != AV_CODEC_ID_AMV) { in amv_init()
127 amv->us_per_frame = av_rescale(AV_TIME_BASE, vst->time_base.num, vst->time_base.den); in amv_init()
264 AVStream *vst = s->streams[AMV_STREAM_VIDEO]; in amv_write_header() local
278 AV_WL32(amvh + 32, vst->codecpar->width); in amv_write_header()
279 AV_WL32(amvh + 36, vst->codecpar->height); in amv_write_header()
280 AV_WL32(amvh + 40, vst->time_base.den); in amv_write_header()
281 AV_WL32(amvh + 44, vst->time_base.num); in amv_write_header()
288 amv_write_vlist(s, vst->codecpar); in amv_write_header()
366 AVStream *vst = s->streams[AMV_STREAM_VIDEO]; in amv_write_trailer() local
388 av_rescale_q(amv->lastpts[AMV_STREAM_VIDEO], vst->time_base, AV_TIME_BASE_Q), in amv_write_trailer()