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

Function Process

test/api/BaseThreadDecoderTest.cpp:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129static void Process (SBufferInfo* pInfo, FILE* pFp) {
130 if (pFp && pInfo->pDst[0] && pInfo->pDst[1] && pInfo->pDst[2] && pInfo) {
131 int iStride[2];
132 int iWidth = pInfo->UsrData.sSystemBuffer.iWidth;
133 int iHeight = pInfo->UsrData.sSystemBuffer.iHeight;
134 iStride[0] = pInfo->UsrData.sSystemBuffer.iStride[0];
135 iStride[1] = pInfo->UsrData.sSystemBuffer.iStride[1];
136
137 Write2File (pFp, (unsigned char**)pInfo->pDst, iStride, iWidth, iHeight);
138 }
139}
140
141BaseThreadDecoderTest::BaseThreadDecoderTest()
142 : decoder_ (NULL), uiTimeStamp (0), pYuvFile (NULL), bEnableYuvDumpTest (false), decodeStatus_ (OpenFile) {

Callers 2

DecodeFrameMethod · 0.70
FlushFrameMethod · 0.70

Calls 1

Write2FileFunction · 0.70

Tested by

no test coverage detected