Lines Matching defs:bps
619 int bps = av_get_exact_bits_per_sample(id);
623 if (bps > 0 && ch > 0 && frame_bytes > 0 && ch < 32768 && bps < 32768)
624 return (frame_bytes * 8LL) / (bps * ch);
625 bps = bits_per_coded_sample;
695 if (bps > 0) {
698 return frame_bytes * 8 / bps;
765 if (bps < 2 || bps > 5)
767 tmp = blocks * (1LL + (ba - 4 * ch) / (bps * ch) * 8);
792 if (bps > 0) {
796 if(bps<4 || frame_bytes<3)
798 return 2 * ((frame_bytes - 3) / ((bps * 2 / 8) * ch));
800 if(bps<4 || frame_bytes<4)
802 return (frame_bytes - 4) / ((FFALIGN(ch, 2) * bps) / 8);
804 return 2 * (frame_bytes / ((bps + 4) / 4)) / ch;