Home
last modified time | relevance | path

Searched refs:PADDING_LENGTH (Results 1 – 8 of 8) sorted by relevance

/third_party/openh264/codec/common/src/
Dexpand_pic.cpp44 memset (pTopLeft - PADDING_LENGTH, kuiTL, PADDING_LENGTH); //pTop left in MBPadTopLeftLuma_c()
45 } while (++i < PADDING_LENGTH); in MBPadTopLeftLuma_c()
56 } while (++i < PADDING_LENGTH); in MBPadTopLuma_c()
68 } while (++i < PADDING_LENGTH); in MBPadBottomLuma_c()
80 memset (pTop, kuiTR, PADDING_LENGTH); //pTop Right in MBPadTopRightLuma_c()
81 } while (++i < PADDING_LENGTH); in MBPadTopRightLuma_c()
93 memset (pBottom - PADDING_LENGTH, kuiBL, PADDING_LENGTH); //pBottom left in MBPadBottomLeftLuma_c()
94 } while (++i < PADDING_LENGTH); in MBPadBottomLeftLuma_c()
107 memset (pBottom, kuiBR, PADDING_LENGTH); //pBottom Right in MBPadBottomRightLuma_c()
108 } while (++i < PADDING_LENGTH); in MBPadBottomRightLuma_c()
[all …]
/third_party/openh264/test/common/
DExpandPicture.cpp11 #define H264_PADDING_LENGTH_LUMA (PADDING_LENGTH)
12 #define H264_PADDING_LENGTH_CHROMA (PADDING_LENGTH>>1)
226 … MB_WIDTH_LUMA) + (PADDING_LENGTH << 1); // with width of horizon in TEST()
228 … MB_HEIGHT_LUMA) + (PADDING_LENGTH << 1); // with height of vertical in TEST()
237 pPicAnchor[0] = pPicAnchorBuffer + (1 + iStride[0]) * PADDING_LENGTH; in TEST()
238 pPicAnchor[1] = pPicAnchorBuffer + iLumaSize + (((1 + iStride[1]) * PADDING_LENGTH) >> 1); in TEST()
239 …r[2] = pPicAnchorBuffer + iLumaSize + iChromaSize + (((1 + iStride[2]) * PADDING_LENGTH) >> 1); in TEST()
243 pPicTest[0] = pPicTestBuffer + (1 + iStride[0]) * PADDING_LENGTH; in TEST()
244 pPicTest[1] = pPicTestBuffer + iLumaSize + (((1 + iStride[1]) * PADDING_LENGTH) >> 1); in TEST()
245 …t[2] = pPicTestBuffer + iLumaSize + iChromaSize + (((1 + iStride[2]) * PADDING_LENGTH) >> 1); in TEST()
/third_party/openh264/codec/encoder/core/src/
Dpicture_handle.cpp66 …iPicWidth = WELS_ALIGN (kiWidth, MB_WIDTH_LUMA) + (PADDING_LENGTH << 1); // with width of… in AllocPicture()
67 …iPicHeight = WELS_ALIGN (kiHeight, MB_HEIGHT_LUMA) + (PADDING_LENGTH << 1); // with … in AllocPicture()
82 pPic->pData[0] = pPic->pBuffer + (1 + pPic->iLineSize[0]) * PADDING_LENGTH; in AllocPicture()
83 …pPic->pData[1] = pPic->pBuffer + iLumaSize + (((1 + pPic->iLineSize[1]) * PADDING_LENGTH) >… in AllocPicture()
84 … = pPic->pBuffer + iLumaSize + iChromaSize + (((1 + pPic->iLineSize[2]) * PADDING_LENGTH) >> 1); in AllocPicture()
Dencoder_ext.cpp1041 …int32_t iPicWidth = WELS_ALIGN (kiWidth, MB_WIDTH_LUMA) + (PADDING_LENGTH << 1); // wit… in InitDqLayers()
1288 const int32_t kiWidthPad = WELS_ALIGN (fDlp->iVideoWidth, 16) + (PADDING_LENGTH << 1); in AllocStrideTables()
/third_party/openh264/codec/decoder/core/src/
Dpic_queue.cpp78 iPicWidth = WELS_ALIGN (kiPicWidth + (PADDING_LENGTH << 1), PICTURE_RESOLUTION_ALIGNMENT); in AllocPicture()
79 iPicHeight = WELS_ALIGN (kiPicHeight + (PADDING_LENGTH << 1), PICTURE_RESOLUTION_ALIGNMENT); in AllocPicture()
101 pPic->pData[0] = pPic->pBuffer[0] + (1 + pPic->iLinesize[0]) * PADDING_LENGTH; in AllocPicture()
102 …Data[1] = pPic->pBuffer[1] + /*WELS_ALIGN*/ (((1 + pPic->iLinesize[1]) * PADDING_LENGTH) >> 1); in AllocPicture()
103 …Data[2] = pPic->pBuffer[2] + /*WELS_ALIGN*/ (((1 + pPic->iLinesize[2]) * PADDING_LENGTH) >> 1); in AllocPicture()
Drec_mb.cpp250 iFullMVx = WELS_CLIP3 (iFullMVx, ((-PADDING_LENGTH + 2) * (1 << 2)), in BaseMC()
251 ((pMCRefMem->iPicWidth + PADDING_LENGTH - 19) * (1 << 2))); in BaseMC()
252 iFullMVy = WELS_CLIP3 (iFullMVy, ((-PADDING_LENGTH + 2) * (1 << 2)), in BaseMC()
253 ((pMCRefMem->iPicHeight + PADDING_LENGTH - 19) * (1 << 2))); in BaseMC()
/third_party/openh264/test/encoder/
DEncUT_MotionEstimate.cpp135 m_iWidthExt = m_iWidth + 2 * PADDING_LENGTH; in SetUp()
136 m_iHeightExt = m_iHeight + 2 * PADDING_LENGTH; in SetUp()
204 uint8_t* pRef = m_pRefStart + PADDING_LENGTH * m_iWidthExt + PADDING_LENGTH; in TEST_F()
254 uint8_t* pRef = m_pRefStart + PADDING_LENGTH * m_iWidthExt + PADDING_LENGTH; in TEST_F()
/third_party/openh264/codec/common/inc/
Dexpand_pic.h49 #define PADDING_LENGTH 32 // reference extension macro