Searched refs:crc_pos (Results 1 – 3 of 3) sorted by relevance
103 int crc_pos; in sbc_pack_frame() local135 crc_pos = 16; in sbc_pack_frame()141 crc_header[crc_pos >> 3] = joint; in sbc_pack_frame()142 crc_pos += frame->subbands; in sbc_pack_frame()148 crc_header[crc_pos >> 3] <<= 4; in sbc_pack_frame()149 crc_header[crc_pos >> 3] |= frame->scale_factor[ch][sb] & 0x0F; in sbc_pack_frame()150 crc_pos += 4; in sbc_pack_frame()155 if (crc_pos % 8) in sbc_pack_frame()156 crc_header[crc_pos >> 3] <<= 8 - (crc_pos % 8); in sbc_pack_frame()158 avpkt->data[3] = ff_sbc_crc8(frame->crc_ctx, crc_header, crc_pos); in sbc_pack_frame()
69 int crc_pos; in sbc_unpack_frame() local116 crc_pos = 16; in sbc_unpack_frame()126 crc_header[crc_pos / 8] = data[4] & 0xf0; in sbc_unpack_frame()128 crc_header[crc_pos / 8] = data[4]; in sbc_unpack_frame()131 crc_pos += frame->subbands; in sbc_unpack_frame()142 crc_header[crc_pos >> 3] |= in sbc_unpack_frame()143 frame->scale_factor[ch][sb] << (4 - (crc_pos & 0x7)); in sbc_unpack_frame()146 crc_pos += 4; in sbc_unpack_frame()150 if (data[3] != ff_sbc_crc8(frame->crc_ctx, crc_header, crc_pos)) in sbc_unpack_frame()
105 uint8_t buf[4 + 1 + 1 + 8 + 4 + 4 + 4 + 1 + 255], *ptr = buf, *crc_pos; in ogg_write_page() local115 crc_pos = ptr; in ogg_write_page()122 bytestream_put_be32(&crc_pos, crc); in ogg_write_page()