MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / _get_sys_bit

Method _get_sys_bit

src/Module/Extractor/RSC/Extractor_RSC.cpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83template<typename B, typename Q>
84void
85Extractor_RSC<B, Q>::_get_sys_bit(const Q* Y_N, B* V_K, const size_t /*frame_id*/)
86{
87 if (buffered_encoding)
88 for (auto i = 0; i < this->K; i++)
89 V_K[i] = Y_N[i] >= 0 ? (B)0 : (B)1;
90 else
91 for (auto i = 0; i < this->K; i++)
92 V_K[i] = Y_N[2 * i] >= 0 ? (B)0 : (B)1;
93}
94
95template<typename B, typename Q>
96const std::vector<uint32_t>&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected