Lines Matching refs:consumed
67 unsigned int consumed; in sbc_unpack_frame() local
115 consumed = 32; in sbc_unpack_frame()
121 if (len * 8 < consumed + frame->subbands) in sbc_unpack_frame()
132 consumed += frame->subbands; in sbc_unpack_frame()
136 if (len * 8 < consumed + (4 * frame->subbands * frame->channels)) in sbc_unpack_frame()
143 (data[consumed >> 3] >> (4 - (consumed & 0x7))) & 0x0F; in sbc_unpack_frame()
147 consumed += 4; in sbc_unpack_frame()
177 if (consumed > len * 8) in sbc_unpack_frame()
180 if ((data[consumed >> 3] >> (7 - (consumed & 0x7))) & 0x01) in sbc_unpack_frame()
183 consumed++; in sbc_unpack_frame()
208 if ((consumed & 0x7) != 0) in sbc_unpack_frame()
209 consumed += 8 - (consumed & 0x7); in sbc_unpack_frame()
211 return consumed >> 3; in sbc_unpack_frame()