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

Function DeblockingBSInsideMBAvsbase8x8

codec/decoder/core/src/deblocking.cpp:243–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void inline DeblockingBSInsideMBAvsbase8x8 (int8_t* pNnzTab, uint8_t nBS[2][4][4], int32_t iLShiftFactor) {
244 int8_t i8x8NnzTab[4];
245 for (int32_t i = 0; i < 4; i++) {
246 int32_t iBlkIdx = i << 2;
247 i8x8NnzTab[i] = (pNnzTab[g_kuiMbCountScan4Idx[iBlkIdx]] | pNnzTab[g_kuiMbCountScan4Idx[iBlkIdx + 1]] |
248 pNnzTab[g_kuiMbCountScan4Idx[iBlkIdx + 2]] | pNnzTab[g_kuiMbCountScan4Idx[iBlkIdx + 3]]);
249 }
250
251 //vertical
252 nBS[0][2][0] = nBS[0][2][1] = (i8x8NnzTab[0] | i8x8NnzTab[1]) << iLShiftFactor;
253 nBS[0][2][2] = nBS[0][2][3] = (i8x8NnzTab[2] | i8x8NnzTab[3]) << iLShiftFactor;
254 //horizontal
255 nBS[1][2][0] = nBS[1][2][1] = (i8x8NnzTab[0] | i8x8NnzTab[2]) << iLShiftFactor;
256 nBS[1][2][2] = nBS[1][2][3] = (i8x8NnzTab[1] | i8x8NnzTab[3]) << iLShiftFactor;
257}
258
259void static inline DeblockingBSInsideMBNormal (PDeblockingFilter pFilter, PDqLayer pCurDqLayer, uint8_t nBS[2][4][4],
260 int8_t* pNnzTab,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected