• Home
  • Raw
  • Download

Lines Matching refs:vst

119     AVStream *vst = NULL, *ast = NULL;  in rpl_read_header()  local
150 vst = avformat_new_stream(s, NULL); in rpl_read_header()
151 if (!vst) in rpl_read_header()
153 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in rpl_read_header()
154 vst->codecpar->codec_tag = video_format; in rpl_read_header()
155 vst->codecpar->width = read_line_and_int(pb, &error); // video width in rpl_read_header()
156 vst->codecpar->height = read_line_and_int(pb, &error); // video height in rpl_read_header()
157vst->codecpar->bits_per_coded_sample = read_line_and_int(pb, &error); // video bits per sample in rpl_read_header()
160 switch (vst->codecpar->codec_tag) { in rpl_read_header()
163 vst->codecpar->codec_id = AV_CODEC_ID_ESCAPE122; in rpl_read_header()
167 vst->codecpar->codec_id = AV_CODEC_ID_ESCAPE124; in rpl_read_header()
169 vst->codecpar->bits_per_coded_sample = 16; in rpl_read_header()
172 vst->codecpar->codec_id = AV_CODEC_ID_ESCAPE130; in rpl_read_header()
176 av_fourcc2str(vst->codecpar->codec_tag)); in rpl_read_header()
177 vst->codecpar->codec_id = AV_CODEC_ID_NONE; in rpl_read_header()
186 if (vst) in rpl_read_header()
187 avpriv_set_pts_info(vst, 32, fps.den, fps.num); in rpl_read_header()
265 if (vst && rpl->frames_per_chunk > 1 && vst->codecpar->codec_tag != 124) in rpl_read_header()
268 "Video stream will be broken!\n", av_fourcc2str(vst->codecpar->codec_tag)); in rpl_read_header()
283 if (vst) { in rpl_read_header()
285 vst->duration = number_of_chunks * (int64_t)rpl->frames_per_chunk; in rpl_read_header()
299 if (vst) in rpl_read_header()
300 av_add_index_entry(vst, offset, i * rpl->frames_per_chunk, in rpl_read_header()