This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint32_t x0 = spdif_dmaring.peekword(0); | |
uint32_t x1 = spdif_dmaring.peekword(32); | |
spdif_dmaring.advance(64); | |
uint32_t state = BMC_DECODE_START; | |
uint32_t out = 0; | |
uint32_t tmp = x0; | |
state = bmc_decode[(state & 0x700) | (tmp & 0xff)]; tmp >>= 8; out >>= 4; out |= state << 28; | |
state = bmc_decode[(state & 0x700) | (tmp & 0xff)]; tmp >>= 8; out >>= 4; out |= state << 28; | |
state = bmc_decode[(state & 0x700) | (tmp & 0xff)]; tmp >>= 8; out >>= 4; out |= state << 28; |