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.cpp769 uint8_t* pYUV = NULL; in ProcessEncoding() local
829 pYUV = new uint8_t [kiPicResSize]; in ProcessEncoding()
830 if (pYUV == NULL) { in ProcessEncoding()
839 pSrcPic->pData[0] = pYUV; in ProcessEncoding()
952 bCanBeRead = (fread (pYUV, 1, kiPicResSize, pFileYUV) == kiPicResSize); in ProcessEncoding()
1068 if (pYUV) { in ProcessEncoding()
1069 delete[] pYUV; in ProcessEncoding()
1070 pYUV = NULL; in ProcessEncoding()