Lines Matching defs:st
42 AVStream *st;
53 st = avformat_new_stream(s, NULL);
54 if (!st)
57 st->nb_frames = avio_rb32(pb);
64 st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
65 st->codec->codec_id = CODEC_ID_RAWVIDEO;
66 st->codec->pix_fmt = PIX_FMT_RGBA;
67 st->codec->codec_tag = 0; /* no fourcc */
68 st->codec->width = avio_rb16(pb);
69 st->codec->height = avio_rb16(pb);
71 avpriv_set_pts_info(st, 64, 1, avio_rb16(pb));
82 AVStream *st = s->streams[0];
86 pkt->dts = avio_tell(s->pb) / (st->codec->width * (st->codec->height + film->leading) * 4);
87 pkt->size = av_get_packet(s->pb, pkt, st->codec->width * st->codec->height * 4);
88 avio_skip(s->pb, st->codec->width * film->leading * 4);
97 AVStream *st = s->streams[stream_index];
98 avio_seek(s->pb, FFMAX(timestamp, 0) * st->codec->width * st->codec->height * 4, SEEK_SET);