Searched refs:iChromaSize (Results 1 – 3 of 3) sorted by relevance
/third_party/openh264/test/common/ |
D | ExpandPicture.cpp | 233 int32_t iChromaSize = iStride[1] * iPicChromaHeightExt; in TEST() local 235 …pPicAnchorBuffer = static_cast<uint8_t*> (WelsMallocz (iLumaSize + (iChromaSize << 1), "pPicAnchor… in TEST() 236 …orBuffer != NULL) << "pPicAnchorBuffer alloc failed for size:" << (iLumaSize + (iChromaSize << 1)); in TEST() 239 …pPicAnchor[2] = pPicAnchorBuffer + iLumaSize + iChromaSize + (((1 + iStride[2]) * PADDING_LENG… in TEST() 241 … pPicTestBuffer = static_cast<uint8_t*> (WelsMallocz (iLumaSize + (iChromaSize << 1), "pPicTest")); in TEST() 242 …TestBuffer != NULL) << "pPicTestBuffer alloc failed for size:" << (iLumaSize + (iChromaSize << 1)); in TEST() 245 …pPicTest[2] = pPicTestBuffer + iLumaSize + iChromaSize + (((1 + iStride[2]) * PADDING_LENGTH… in TEST() 265 …EXPECT_EQ (CompareImage (pPicAnchorBuffer, pPicTestBuffer, (iLumaSize + (iChromaSize << 1))), true… in TEST()
|
/third_party/openh264/codec/encoder/core/src/ |
D | picture_handle.cpp | 60 int32_t iChromaSize = 0; in AllocPicture() local 74 iChromaSize = iPicChromaWidth * iPicChromaHeight; in AllocPicture() 77 + (iChromaSize << 1) /* Cb,Cr */ in AllocPicture() 84 …pPic->pData[2] = pPic->pBuffer + iLumaSize + iChromaSize + (((1 + pPic->iLineSize[2]) * PAD… in AllocPicture()
|
/third_party/openh264/codec/decoder/core/src/ |
D | pic_queue.cpp | 70 int32_t iChromaSize = 0; in AllocPicture() local 84 iChromaSize = iPicChromaWidth * iPicChromaHeight; in AllocPicture() 93 + (iChromaSize << 1) /* Cb,Cr */, "_pic->buffer[0]")); in AllocPicture() 96 memset (pPic->pBuffer[0], 128, (iLumaSize + (iChromaSize << 1))); in AllocPicture() 100 pPic->pBuffer[2] = pPic->pBuffer[1] + iChromaSize; in AllocPicture()
|