Lines Matching defs:bps
281 int bps, blkalign, bytespersec;
291 bps = 0;
293 bps = 4;
295 if (!(bps = av_get_bits_per_sample(enc->codec_id)))
296 bps = 16; // default to 16
298 if(bps != enc->bits_per_coded_sample && enc->bits_per_coded_sample){
299 av_log(enc, AV_LOG_WARNING, "requested bits_per_coded_sample (%d) and actually stored (%d) differ\n", enc->bits_per_coded_sample, bps);
310 blkalign = enc->channels*bps >> 3;
323 put_le16(pb, bps); /* bits per sample */
441 enum CodecID wav_codec_get_id(unsigned int tag, int bps)
448 if (id == CODEC_ID_PCM_S16LE && bps == 8)
450 if (id == CODEC_ID_PCM_S16LE && bps == 24)
452 if (id == CODEC_ID_PCM_S16LE && bps == 32)
454 if (id == CODEC_ID_PCM_F32LE && bps == 64)
456 if (id == CODEC_ID_ADPCM_IMA_WAV && bps == 8)