Home | History | Annotate | Download | only in sbc

Lines Matching full:crc_pos

383 	int crc_pos = 0;
449 crc_pos = 16;
459 crc_header[crc_pos / 8] = data[4] & 0xf0;
461 crc_header[crc_pos / 8] = data[4];
464 crc_pos += frame->subbands;
475 crc_header[crc_pos >> 3] |=
476 frame->scale_factor[ch][sb] << (4 - (crc_pos & 0x7));
479 crc_pos += 4;
483 if (data[3] != sbc_crc8(crc_header, crc_pos))
771 int crc_pos = 0;
816 crc_pos = 16;
821 crc_header[crc_pos >> 3] = joint;
822 crc_pos += frame_subbands;
829 crc_header[crc_pos >> 3] <<= 4;
830 crc_header[crc_pos >> 3] |= frame->scale_factor[ch][sb] & 0x0F;
831 crc_pos += 4;
836 if (crc_pos % 8)
837 crc_header[crc_pos >> 3] <<= 8 - (crc_pos % 8);
839 data[3] = sbc_crc8(crc_header, crc_pos);