Lines Matching refs:codec
551 st->codec->codec_type = CODEC_TYPE_VIDEO;
552 st->codec->codec_id = CODEC_ID_INTERPLAY_VIDEO;
553 st->codec->codec_tag = 0; /* no fourcc */
554 st->codec->width = ipmovie->video_width;
555 st->codec->height = ipmovie->video_height;
558 st->codec->palctrl = &ipmovie->palette_control;
566 st->codec->codec_type = CODEC_TYPE_AUDIO;
567 st->codec->codec_id = ipmovie->audio_type;
568 st->codec->codec_tag = 0; /* no tag */
569 st->codec->channels = ipmovie->audio_channels;
570 st->codec->sample_rate = ipmovie->audio_sample_rate;
571 st->codec->bits_per_coded_sample = ipmovie->audio_bits;
572 st->codec->bit_rate = st->codec->channels * st->codec->sample_rate *
573 st->codec->bits_per_coded_sample;
574 if (st->codec->codec_id == CODEC_ID_INTERPLAY_DPCM)
575 st->codec->bit_rate /= 2;
576 st->codec->block_align = st->codec->channels * st->codec->bits_per_coded_sample;