Lines Matching refs:bps
390 int bps, blkalign, bytespersec;
411 bps = 0;
413 if (!(bps = av_get_bits_per_sample(enc->codec_id))) {
415 bps = enc->bits_per_coded_sample;
417 bps = 16; // default to 16
420 if(bps != enc->bits_per_coded_sample && enc->bits_per_coded_sample){
421 av_log(enc, AV_LOG_WARNING, "requested bits_per_coded_sample (%d) and actually stored (%d) differ\n", enc->bits_per_coded_sample, bps);
432 blkalign = bps * enc->channels / av_gcd(8, bps);
445 avio_wl16(pb, bps); /* bits per sample */
580 enum CodecID ff_wav_codec_get_id(unsigned int tag, int bps)
587 if (id == CODEC_ID_PCM_S16LE && bps == 8)
589 if (id == CODEC_ID_PCM_S16LE && bps == 24)
591 if (id == CODEC_ID_PCM_S16LE && bps == 32)
593 if (id == CODEC_ID_PCM_F32LE && bps == 64)
595 if (id == CODEC_ID_ADPCM_IMA_WAV && bps == 8)