MCPcopy Create free account
hub / github.com/cisco/openh264 / IdctFourResAddPred_

Function IdctFourResAddPred_

codec/decoder/core/src/decoder.cpp:992–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

990
991template<void pfIdctResAddPred (uint8_t* pPred, int32_t iStride, int16_t* pRs)>
992void IdctFourResAddPred_ (uint8_t* pPred, int32_t iStride, int16_t* pRs, const int8_t* pNzc) {
993 if (pNzc[0] || pRs[0 * 16])
994 pfIdctResAddPred (pPred + 0 * iStride + 0, iStride, pRs + 0 * 16);
995 if (pNzc[1] || pRs[1 * 16])
996 pfIdctResAddPred (pPred + 0 * iStride + 4, iStride, pRs + 1 * 16);
997 if (pNzc[4] || pRs[2 * 16])
998 pfIdctResAddPred (pPred + 4 * iStride + 0, iStride, pRs + 2 * 16);
999 if (pNzc[5] || pRs[3 * 16])
1000 pfIdctResAddPred (pPred + 4 * iStride + 4, iStride, pRs + 3 * 16);
1001}
1002
1003} // anon ns
1004

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected