Lines Matching defs:st
37 AVStream *st;
44 st = avformat_new_stream(s, NULL);
45 if (!st)
49 st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
50 st->codec->codec_tag = avio_rl32(s->pb);
51 st->codec->codec_id = ff_codec_get_id(ff_codec_bmp_tags, st->codec->codec_tag);
52 st->codec->width = avio_rl16(s->pb);
53 st->codec->height = avio_rl16(s->pb);
56 st->duration = avio_rl64(s->pb);
58 st->need_parsing = AVSTREAM_PARSE_HEADERS;
65 avpriv_set_pts_info(st, 64, time_base.num, time_base.den);