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

Function ENFORCE_STACK_ALIGN_1D

codec/encoder/core/src/encoder_ext.cpp:1441–1455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1439 i = 0;
1440 for (;;) {
1441 ENFORCE_STACK_ALIGN_1D (int16_t, t, 4, 16)
1442
1443 int32_t t32 = 0;
1444 int16_t j = 0;
1445
1446 for (iSpatialIdx = kiNumSpatialLayers - 1; iSpatialIdx >= 0; -- iSpatialIdx) {
1447 const int32_t kiMbWidth = sMbSizeMap[iSpatialIdx].iMbWidth;
1448 const int32_t kiMbHeight = sMbSizeMap[iSpatialIdx].iCountMbNum / kiMbWidth;
1449 const int32_t kiLineSize = kiMbWidth * sizeof (int16_t);
1450 int16_t* pMbIndexY = pPtr->pMbIndexY[iSpatialIdx] + i * kiMbWidth;
1451
1452 if (i < kiMbHeight) {
1453 memcpy (pMbIndexY, pRowY, kiLineSize); // confirmed_safe_unsafe_usage
1454 }
1455 }
1456 ++ i;
1457 if (i >= iMaxMbHeight)
1458 break;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected