• Home
  • Raw
  • Download

Lines Matching refs:pBsBuf

336       iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_);  in TEST_F()
381 iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
959 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
974pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
975 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1014 … memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F()
1020 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F()
1030 fwrite (pBsBuf[iIdx], aLen[iIdx], 1, fEnc[iIdx]); in TEST_F()
1032 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TEST_F()
1049 if (pBsBuf[iIdx]) { in TEST_F()
1050 free (pBsBuf[iIdx]); in TEST_F()
1082 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
1098pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
1099 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1132 const int kiFirstNalType = ((* (layerInfo.pBsBuf + 4)) & 0x1f); in TEST_F()
1141 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F()
1150 fwrite (pBsBuf[iIdx], aLen[iIdx], 1, fEnc[iIdx]); in TEST_F()
1152 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TEST_F()
1162 free (pBsBuf[iIdx]); in TEST_F()
1205 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
1212pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
1213 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1229 ASSERT_TRUE (TestOneSimulcastAVC (&sParam1, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1230 ASSERT_TRUE (TestOneSimulcastAVC (&sParam2, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1233 free (pBsBuf[iIdx]); in TEST_F()
1402 fwrite (info.sLayerInfo[0].pBsBuf, iLen, 1, pFile); in TEST_P()
1407 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in TEST_P()
1454 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
1470pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
1471 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1523 const int kiFirstNalType = ((* (layerInfo.pBsBuf + 4)) & 0x1f); in TEST_F()
1532 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F()
1542 fwrite (pBsBuf[iIdx], aLen[iIdx], 1, fEnc[iIdx]); in TEST_F()
1544 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TEST_F()
1556 free (pBsBuf[iIdx]); in TEST_F()
1604 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
1611pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
1612 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1628 ASSERT_TRUE (TestOneSimulcastAVC (&sParam, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1631 if (pBsBuf[iIdx]) { in TEST_F()
1632 free (pBsBuf[iIdx]); in TEST_F()
1633 pBsBuf[iIdx] = NULL; in TEST_F()
1675 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
1682pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
1683 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1699 ASSERT_TRUE (TestOneSimulcastAVC (&sParam, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1702 if (pBsBuf[iIdx]) in TEST_F()
1703 free (pBsBuf[iIdx]); in TEST_F()
1736 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
1743pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
1744 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1760 ASSERT_TRUE (TestOneSimulcastAVC (&sParam, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1763 free (pBsBuf[iIdx]); in TEST_F()
1800 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
1808pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
1809 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1864 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F()
1873 fwrite (pBsBuf[iIdx], aLen[iIdx], 1, fEnc[iIdx]); in TEST_F()
1875 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TEST_F()
1885 free (pBsBuf[iIdx]); in TEST_F()
2117 cTypeByte = (* (pLayerBsInfo->pBsBuf + 4)) & 0x1f; in TEST_F()