Lines Matching defs:ast
54 * \param ast video stream of which to change parameters
59 AVStream *ast, int myth) {
95 if (ast) {
96 ast->codec->codec_tag = get_le32(pb);
97 ast->codec->sample_rate = get_le32(pb);
98 ast->codec->bits_per_coded_sample = get_le32(pb);
99 ast->codec->channels = get_le32(pb);
100 ast->codec->codec_id =
101 wav_codec_get_id(ast->codec->codec_tag,
102 ast->codec->bits_per_coded_sample);
103 ast->need_parsing = AVSTREAM_PARSE_FULL;
130 AVStream *vst = NULL, *ast = NULL;
171 ast = av_new_stream(s, ctx->a_id);
172 if (!ast)
174 ast->codec->codec_type = CODEC_TYPE_AUDIO;
175 ast->codec->codec_id = CODEC_ID_PCM_S16LE;
176 ast->codec->channels = 2;
177 ast->codec->sample_rate = 44100;
178 ast->codec->bit_rate = 2 * 2 * 44100 * 8;
179 ast->codec->block_align = 2 * 2;
180 ast->codec->bits_per_coded_sample = 16;
181 av_set_pts_info(ast, 32, 1, 1000);
185 get_codec_data(pb, vst, ast, is_mythtv);