Lines Matching refs:vst
292 AVStream *ast = NULL, *vst = NULL; //initialization to suppress warning in mv_read_header() local
310 vst = avformat_new_stream(avctx, NULL); in mv_read_header()
311 if (!vst) in mv_read_header()
313 avpriv_set_pts_info(vst, 64, 1, 15); in mv_read_header()
314 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in mv_read_header()
315 vst->avg_frame_rate = av_inv_q(vst->time_base); in mv_read_header()
316 vst->nb_frames = avio_rb32(pb); in mv_read_header()
320 vst->codecpar->codec_id = AV_CODEC_ID_MVC1; in mv_read_header()
323 vst->codecpar->format = AV_PIX_FMT_ARGB; in mv_read_header()
324 vst->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO; in mv_read_header()
330 vst->codecpar->codec_tag = 0; in mv_read_header()
331 vst->codecpar->width = avio_rb32(pb); in mv_read_header()
332 vst->codecpar->height = avio_rb32(pb); in mv_read_header()
336 ast->nb_frames = vst->nb_frames; in mv_read_header()
359 for (i = 0; i < vst->nb_frames; i++) { in mv_read_header()
367 av_add_index_entry(vst, pos + asize, i, vsize, 0, AVINDEX_KEYFRAME); in mv_read_header()
413 vst = avformat_new_stream(avctx, NULL); in mv_read_header()
414 if (!vst) in mv_read_header()
416 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in mv_read_header()
417 if ((ret = read_table(avctx, vst, parse_video_var))<0) in mv_read_header()
425 read_index(pb, vst); in mv_read_header()