• Home
  • Raw
  • Download

Lines Matching refs:iPicWidth

16 void H264ExpandPictureLumaAnchor_c (uint8_t* pDst, int32_t iStride, int32_t iPicWidth, int32_t iPic…  in H264ExpandPictureLumaAnchor_c()  argument
20 uint8_t pTR = pTmp[iPicWidth - 1]; in H264ExpandPictureLumaAnchor_c()
22 uint8_t pBR = pDstLastLine[iPicWidth - 1]; in H264ExpandPictureLumaAnchor_c()
31 memcpy (pTop, pTmp, iPicWidth); in H264ExpandPictureLumaAnchor_c()
32 memcpy (pBottom, pDstLastLine, iPicWidth); in H264ExpandPictureLumaAnchor_c()
36 memset (pTop + iPicWidth, pTR, H264_PADDING_LENGTH_LUMA); //pTop right in H264ExpandPictureLumaAnchor_c()
38 memset (pBottom + iPicWidth, pBR, H264_PADDING_LENGTH_LUMA); //pBottom right in H264ExpandPictureLumaAnchor_c()
46 memset (pTmp + iPicWidth, pTmp[iPicWidth - 1], H264_PADDING_LENGTH_LUMA); in H264ExpandPictureLumaAnchor_c()
52 void H264ExpandPictureChromaAnchor_c (uint8_t* pDst, int32_t iStride, int32_t iPicWidth, int32_t iP… in H264ExpandPictureChromaAnchor_c() argument
56 uint8_t pTR = pTmp[iPicWidth - 1]; in H264ExpandPictureChromaAnchor_c()
58 uint8_t pBR = pDstLastLine[iPicWidth - 1]; in H264ExpandPictureChromaAnchor_c()
67 memcpy (pTop, pTmp, iPicWidth); in H264ExpandPictureChromaAnchor_c()
68 memcpy (pBottom, pDstLastLine, iPicWidth); in H264ExpandPictureChromaAnchor_c()
72 memset (pTop + iPicWidth, pTR, H264_PADDING_LENGTH_CHROMA); //pTop right in H264ExpandPictureChromaAnchor_c()
74 memset (pBottom + iPicWidth, pBR, H264_PADDING_LENGTH_CHROMA); //pBottom right in H264ExpandPictureChromaAnchor_c()
83 memset (pTmp + iPicWidth, pTmp[iPicWidth - 1], H264_PADDING_LENGTH_CHROMA); in H264ExpandPictureChromaAnchor_c()
123 int32_t iPicWidth = 16 + (rand() % 200) * 16; in TEST() local
126 int32_t iStride = iPicWidth + H264_PADDING_LENGTH_LUMA * 2; in TEST()
139 for (int32_t i = 0; i < iPicWidth; i++) { in TEST()
143 H264ExpandPictureLumaAnchor_c (pAnchorDst, iStride, iPicWidth, iPicHeight); in TEST()
144 sExpandPicFunc.pfExpandLumaPicture (pTestDst, iStride, iPicWidth, iPicHeight); in TEST()
145 …EXPECT_EQ (CompareBuff (pAnchorDstBuff, pTestDstBuff, iStride, iPicWidth + H264_PADDING_LENGTH_LUM… in TEST()
168 int32_t iPicWidth = (8 + (rand() % 200) * 8); in TEST() local
170 iPicWidth = WELS_MAX (iPicWidth, 16); in TEST()
174 int32_t iStride = (iPicWidth + H264_PADDING_LENGTH_CHROMA * 2 + 8) >> 4 << 4; in TEST()
187 for (int32_t i = 0; i < iPicWidth; i++) { in TEST()
191 H264ExpandPictureChromaAnchor_c (pAnchorDst, iStride, iPicWidth, iPicHeight); in TEST()
192 sExpandPicFunc.pfExpandChromaPicture[0] (pTestDst, iStride, iPicWidth, iPicHeight); in TEST()
193 …EXPECT_EQ (CompareBuff (pAnchorDstBuff, pTestDstBuff, iStride, iPicWidth + H264_PADDING_LENGTH_CHR… in TEST()
220 int32_t iPicWidth = (16 + (rand() % 200) * 16); in TEST() local
223 iPicWidth = WELS_ALIGN (iPicWidth, 32); in TEST()
225 iStride[0] = WELS_ALIGN (iPicWidth, in TEST()
250 for (int32_t i = 0; i < iPicWidth; i++) { in TEST()
255 for (int32_t i = 0; i < iPicWidth / 2; i++) { in TEST()
260 H264ExpandPictureLumaAnchor_c (pPicAnchor[0], iStride[0], iPicWidth, iPicHeight); in TEST()
261 H264ExpandPictureChromaAnchor_c (pPicAnchor[1], iStride[1], iPicWidth / 2, iPicHeight / 2); in TEST()
262 H264ExpandPictureChromaAnchor_c (pPicAnchor[2], iStride[2], iPicWidth / 2, iPicHeight / 2); in TEST()
263 ExpandReferencingPicture (pPicTest, iPicWidth, iPicHeight, iStride, in TEST()