Lines Matching defs:st
66 AVStream *st;
72 st = avformat_new_stream(s, NULL);
73 if (!st)
76 st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
77 st->codec->width = avio_r8(pb);
78 st->codec->height = avio_r8(pb);
94 st->codec->codec_id = AV_CODEC_ID_PNG;
95 st->codec->width = 0;
96 st->codec->height = 0;
101 st->codec->codec_id = AV_CODEC_ID_BMP;
104 st->codec->width = tmp;
107 st->codec->height = tmp / 2;
123 AVStream *st = s->streams[0];
154 st->codec->bits_per_coded_sample = AV_RL16(buf + 14);
159 if (st->codec->bits_per_coded_sample <= 8 && !image->nb_pal) {
160 image->nb_pal = 1 << st->codec->bits_per_coded_sample;