Lines Matching refs:st
59 AVStream *st;
62 st = av_new_stream(s, 0);
63 if (!st)
66 st->codec->codec_type = CODEC_TYPE_AUDIO;
67 st->codec->codec_id = CODEC_ID_ADPCM_EA_MAXIS_XA;
71 st->codec->channels = get_le16(pb);
72 st->codec->sample_rate = get_le32(pb);
74 st->codec->bit_rate = get_le32(pb) * 8;
75 st->codec->block_align = get_le16(pb);
76 st->codec->bits_per_coded_sample = get_le16(pb);
78 av_set_pts_info(st, 64, 1, st->codec->sample_rate);
87 AVStream *st = s->streams[0];
95 packet_size = 15*st->codec->channels;
101 pkt->stream_index = st->index;
105 xa->audio_frame_counter += 28 * st->codec->channels;