Home
last modified time | relevance | path

Searched refs:pYUV (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp45 pYUV = NULL; in SetUp()
49 pYUV = new unsigned char [m_iPicResSize]; in SetUp()
50 ASSERT_TRUE (pYUV != NULL); in SetUp()
57 delete []pYUV; in TearDown()
78 unsigned char* pYUV; member in EncoderInterfaceTest
97 pYUV[0] = rand() % 256; in PrepareOneSrcFrame()
100 pYUV[i] = rand() % 256; in PrepareOneSrcFrame()
102 pYUV[i] = (pYUV[i - 1] + (rand() % 3) - 1) & 0xff; in PrepareOneSrcFrame()
107 pSrcPic->pData[0] = pYUV; in PrepareOneSrcFrame()
412 delete []pYUV; in TEST_F()
[all …]
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp760 uint8_t* pYUV = NULL; in ProcessEncoding() local
820 pYUV = new uint8_t [kiPicResSize]; in ProcessEncoding()
821 if (pYUV == NULL) { in ProcessEncoding()
830 pSrcPic->pData[0] = pYUV; in ProcessEncoding()
943 bCanBeRead = (fread (pYUV, 1, kiPicResSize, pFileYUV) == kiPicResSize); in ProcessEncoding()
1055 if (pYUV) { in ProcessEncoding()
1056 delete[] pYUV; in ProcessEncoding()
1057 pYUV = NULL; in ProcessEncoding()