• Home
  • Raw
  • Download

Lines Matching refs:vst

71 static int get_codec_data(AVFormatContext *s, AVIOContext *pb, AVStream *vst,  in get_codec_data()  argument
76 if (!vst && !myth) in get_codec_data()
87 if (vst && subtype == 'R') { in get_codec_data()
88 if ((ret = ff_get_extradata(NULL, vst->codecpar, pb, size)) < 0) in get_codec_data()
101 if (vst) { in get_codec_data()
102 vst->codecpar->codec_tag = avio_rl32(pb); in get_codec_data()
103 vst->codecpar->codec_id = in get_codec_data()
104 ff_codec_get_id(ff_codec_bmp_tags, vst->codecpar->codec_tag); in get_codec_data()
105 if (vst->codecpar->codec_tag == MKTAG('R', 'J', 'P', 'G')) in get_codec_data()
106 vst->codecpar->codec_id = AV_CODEC_ID_NUV; in get_codec_data()
166 AVStream *vst = NULL, *ast = NULL; in nuv_header() local
200 vst = avformat_new_stream(s, NULL); in nuv_header()
201 if (!vst) in nuv_header()
203 ctx->v_id = vst->index; in nuv_header()
209 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in nuv_header()
210 vst->codecpar->codec_id = AV_CODEC_ID_NUV; in nuv_header()
211 vst->codecpar->width = width; in nuv_header()
212 vst->codecpar->height = height; in nuv_header()
213 vst->codecpar->bits_per_coded_sample = 10; in nuv_header()
214 vst->sample_aspect_ratio = av_d2q(aspect * height / width, in nuv_header()
217 vst->r_frame_rate = in nuv_header()
219 vst->avg_frame_rate = av_d2q(fps, 60000); in nuv_header()
220 avpriv_set_pts_info(vst, 32, 1, 1000); in nuv_header()
241 if ((ret = get_codec_data(s, pb, vst, ast, is_mythtv)) < 0) in nuv_header()
244 ctx->rtjpg_video = vst && vst->codecpar->codec_id == AV_CODEC_ID_NUV; in nuv_header()