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