Lines Matching refs:vst
49 AVStream *ast = NULL, *vst = NULL; in smjpeg_read_header() local
107 if (vst) { in smjpeg_read_header()
114 vst = avformat_new_stream(s, 0); in smjpeg_read_header()
115 if (!vst) in smjpeg_read_header()
117 vst->nb_frames = avio_rb32(pb); in smjpeg_read_header()
118 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in smjpeg_read_header()
119 vst->codecpar->width = avio_rb16(pb); in smjpeg_read_header()
120 vst->codecpar->height = avio_rb16(pb); in smjpeg_read_header()
121 vst->codecpar->codec_tag = avio_rl32(pb); in smjpeg_read_header()
122 vst->codecpar->codec_id = ff_codec_get_id(ff_codec_smjpeg_video_tags, in smjpeg_read_header()
123 vst->codecpar->codec_tag); in smjpeg_read_header()
124 vst->duration = duration; in smjpeg_read_header()
125 sc->video_stream_index = vst->index; in smjpeg_read_header()
126 avpriv_set_pts_info(vst, 32, 1, 1000); in smjpeg_read_header()