Lines Matching refs:codec
53 st->codec->codec_type = CODEC_TYPE_VIDEO;
56 st->codec->codec_id = codec_get_id(codec_bmp_tags, tag);
57 st->codec->codec_tag = tag;
59 st->codec->codec_type = CODEC_TYPE_SUBTITLE;
60 st->codec->codec_id = CODEC_ID_TEXT;
65 st->codec->codec_type = CODEC_TYPE_AUDIO;
70 st->codec->codec_id = codec_get_id(codec_wav_tags, cid);
82 if(st->codec->codec_type == CODEC_TYPE_VIDEO){
83 st->codec->width = bytestream_get_le32(&p);
84 st->codec->height = bytestream_get_le32(&p);
85 st->codec->time_base.den = spu * 10000000;
86 st->codec->time_base.num = time_unit;
87 st->time_base = st->codec->time_base;
89 st->codec->channels = bytestream_get_le16(&p);
91 st->codec->bit_rate = bytestream_get_le32(&p) * 8;
92 st->codec->sample_rate = spu * 10000000 / time_unit;
94 st->time_base.den = st->codec->sample_rate;
117 st->codec->codec_type = CODEC_TYPE_VIDEO;
118 st->codec->codec_id = codec_get_id(codec_bmp_tags, AV_RL32(p + 68));
119 st->codec->time_base.den = 10000000;
120 st->codec->time_base.num = AV_RL64(p + 164);
121 st->codec->width = AV_RL32(p + 176);
122 st->codec->height = AV_RL32(p + 180);
124 st->codec->codec_type = CODEC_TYPE_AUDIO;
125 st->codec->codec_id = codec_get_id(codec_wav_tags, AV_RL16(p + 124));
126 st->codec->channels = AV_RL16(p + 126);
127 st->codec->sample_rate = AV_RL32(p + 128);
128 st->codec->bit_rate = AV_RL32(p + 132) * 8;