| 127 | } |
| 128 | |
| 129 | static 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 | |
| 141 | BaseThreadDecoderTest::BaseThreadDecoderTest() |
| 142 | : decoder_ (NULL), uiTimeStamp (0), pYuvFile (NULL), bEnableYuvDumpTest (false), decodeStatus_ (OpenFile) { |
no test coverage detected