Home
last modified time | relevance | path

Searched refs:CodewordWinner (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/rebootescrow/aidl/default/
DHadamardUtils.cpp105 struct CodewordWinner { struct
111 static void CopyWinner(CodewordWinner* dest, const CodewordWinner& src) { in CopyWinner()
115 sizeof(CodewordWinner)); in CopyWinner()
145 auto best = CodewordWinner{0, -static_cast<int32_t>(ENCODE_LENGTH + 1)}; in DecodeWord()
149 CopyWinner(&best, CodewordWinner{static_cast<uint16_t>(i), scores[i]}); in DecodeWord()
150 CopyWinner(&best, CodewordWinner{static_cast<uint16_t>(i | (1 << CODE_K)), -scores[i]}); in DecodeWord()