Lines Matching defs:st
41 AVStream *st;
245 st = avformat_new_stream(s, NULL);
246 if (!st)
248 st->codec->width = width;
249 st->codec->height = height;
251 avpriv_set_pts_info(st, 64, rated, raten);
252 st->avg_frame_rate = av_inv_q(st->time_base);
253 st->codec->pix_fmt = pix_fmt;
254 st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
255 st->codec->codec_id = AV_CODEC_ID_RAWVIDEO;
256 st->sample_aspect_ratio = (AVRational){ aspectn, aspectd };
257 st->codec->chroma_sample_location = chroma_sample_location;
258 st->codec->field_order = field_order;
268 AVStream *st = s->streams[0];
287 width = st->codec->width;
288 height = st->codec->height;
290 packet_size = avpicture_get_size(st->codec->pix_fmt, width, height);