Lines Matching refs:vst
295 AVStream *ast = NULL, *vst = NULL; //initialization to suppress warning in mv_read_header() local
325 vst = avformat_new_stream(avctx, NULL); in mv_read_header()
326 if (!vst) in mv_read_header()
328 avpriv_set_pts_info(vst, 64, fps.den, fps.num); in mv_read_header()
329 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in mv_read_header()
330 vst->avg_frame_rate = fps; in mv_read_header()
331 vst->duration = vst->nb_frames = avio_rb32(pb); in mv_read_header()
335 vst->codecpar->codec_id = AV_CODEC_ID_MVC1; in mv_read_header()
338 vst->codecpar->format = AV_PIX_FMT_ARGB; in mv_read_header()
339 vst->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO; in mv_read_header()
345 vst->codecpar->codec_tag = 0; in mv_read_header()
346 vst->codecpar->width = avio_rb32(pb); in mv_read_header()
347 vst->codecpar->height = avio_rb32(pb); in mv_read_header()
352 ast->nb_frames = vst->nb_frames; in mv_read_header()
394 for (i = 0; i < vst->nb_frames; i++) { in mv_read_header()
405 av_add_index_entry(vst, pos + asize, i, vsize, 0, AVINDEX_KEYFRAME); in mv_read_header()
450 vst = avformat_new_stream(avctx, NULL); in mv_read_header()
451 if (!vst) in mv_read_header()
453 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in mv_read_header()
454 if ((ret = read_table(avctx, vst, parse_video_var))<0) in mv_read_header()
462 read_index(pb, vst); in mv_read_header()