• Home
  • Raw
  • Download

Lines Matching refs:bitpool

73 	uint8_t bitpool;  member
212 } while (bitcount + slicecount < frame->bitpool); in sbc_calculate_bits_internal()
214 if (bitcount + slicecount == frame->bitpool) { in sbc_calculate_bits_internal()
229 for (sb = 0; bitcount < frame->bitpool && in sbc_calculate_bits_internal()
234 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { in sbc_calculate_bits_internal()
240 for (sb = 0; bitcount < frame->bitpool && in sbc_calculate_bits_internal()
299 } while (bitcount + slicecount < frame->bitpool); in sbc_calculate_bits_internal()
301 if (bitcount + slicecount == frame->bitpool) { in sbc_calculate_bits_internal()
320 while (bitcount < frame->bitpool) { in sbc_calculate_bits_internal()
324 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { in sbc_calculate_bits_internal()
339 while (bitcount < frame->bitpool) { in sbc_calculate_bits_internal()
433 frame->bitpool = data[2]; in sbc_unpack_frame()
436 frame->bitpool > 16 * frame->subbands) in sbc_unpack_frame()
440 frame->bitpool > 32 * frame->subbands) in sbc_unpack_frame()
802 data[2] = frame->bitpool; in sbc_pack_frame_internal()
805 frame->bitpool > frame_subbands << 4) in sbc_pack_frame_internal()
809 frame->bitpool > frame_subbands << 5) in sbc_pack_frame_internal()
918 sbc->bitpool = 32; in sbc_set_defaults()
977 sbc->bitpool = priv->frame.bitpool; in sbc_decode()
981 } else if (priv->frame.bitpool != sbc->bitpool) { in sbc_decode()
983 sbc->bitpool = priv->frame.bitpool; in sbc_decode()
1050 priv->frame.bitpool = sbc->bitpool; in sbc_encode()
1056 } else if (priv->frame.bitpool != sbc->bitpool) { in sbc_encode()
1058 priv->frame.bitpool = sbc->bitpool; in sbc_encode()
1125 uint8_t subbands, channels, blocks, joint, bitpool; in sbc_get_frame_length() local
1129 if (priv->init && priv->frame.bitpool == sbc->bitpool) in sbc_get_frame_length()
1136 bitpool = sbc->bitpool; in sbc_get_frame_length()
1141 ret += ((blocks * channels * bitpool) + 7) / 8; in sbc_get_frame_length()
1143 ret += (((joint ? subbands : 0) + blocks * bitpool) + 7) / 8; in sbc_get_frame_length()