Home
last modified time | relevance | path

Searched refs:iPicWidth (Results 1 – 25 of 37) sorted by relevance

12

/third_party/openh264/test/common/
DExpandPicture.cpp16 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()
[all …]
/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp89 pSrcPic->iPicWidth = pParamExt->iPicWidth; in PrepareOneSrcFrame()
91 pSrcPic->iPicWidth = VALID_SIZE (pParamExt->iPicWidth); in PrepareOneSrcFrame()
93 m_iWidth = pSrcPic->iPicWidth; in PrepareOneSrcFrame()
142 pParamExt->iPicWidth = 1280; in InitializeParamExt()
149 pParamExt->sSpatialLayers[0].iVideoWidth = pParamExt->iPicWidth; in InitializeParamExt()
403 pParamExt->iPicWidth = 1280; in TEST_F()
409 m_iWidth = pParamExt->iPicWidth; in TEST_F()
427 pParamExt->iPicWidth += (rand() << 1) % IMAGE_VARY_SIZE; in TEST_F()
429 m_iWidth = pParamExt->iPicWidth; in TEST_F()
440 pOption ->iPicWidth = m_iWidth; in TEST_F()
[all …]
DEncUT_InterfaceTest.cpp33 baseparam.iPicWidth = 0; in TEST_F()
62 baseparam.iPicWidth = width; in TEST_F()
78 pic.iPicWidth = width; in TEST_F()
81 pic.iStride[0] = pic.iPicWidth; in TEST_F()
82 pic.iStride[1] = pic.iStride[2] = pic.iPicWidth >> 1; in TEST_F()
DEncUT_ParameterSetStrategy.cpp49 sEncParamBase.iPicWidth = 1280; in GenerateParam()
134 sParamExt.iPicWidth = 1280; in TEST_F()
/third_party/openh264/test/api/
Dencode_options_test.cpp25 EncPic.iPicWidth = iWidth; in InitialEncDec()
28 EncPic.iStride[0] = EncPic.iPicWidth; in InitialEncDec()
29 EncPic.iStride[1] = EncPic.iStride[2] = EncPic.iPicWidth >> 1; in InitialEncDec()
45 param_.iPicWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 2, MAX_WIDTH); in RandomParamExtCombination()
140 param_.iPicWidth = WELS_CLIP3 (param_.iPicWidth, 2, MAX_WIDTH); in ValidateParamExtCombination()
181 pSpatialLayer->iVideoWidth = param_.iPicWidth >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination()
249 uiMbWidth = (param_.iPicWidth + 15) >> 4; in SliceParamValidationForMode2()
330 ASSERT_TRUE (InitialEncDec (param_.iPicWidth, param_.iPicHeight)); in TEST_F()
375 ASSERT_TRUE (InitialEncDec (param_.iPicWidth, param_.iPicHeight)); in TEST_F()
420 while (GET_MB_WIDTH (sParam2.iPicWidth) == GET_MB_WIDTH (sParam1.iPicWidth)) { in TEST_F()
[all …]
DBaseEncoderTest.cpp20 param.iPicWidth = pEncParamExt->iPicWidth; in InitWithParam()
30 param.iPicWidth = pEncParamExt->iPicWidth; in InitWithParam()
43 …param.sSpatialLayers[i].iVideoWidth = pEncParamExt->iPicWidth >> (param.iSpatialLayerNum - 1 … in InitWithParam()
95 int frameSize = pEncParamExt->iPicWidth * pEncParamExt->iPicHeight * 3 / 2; in EncodeStream()
106 pic.iPicWidth = pEncParamExt->iPicWidth; in EncodeStream()
109 pic.iStride[0] = pic.iPicWidth; in EncodeStream()
110 pic.iStride[1] = pic.iStride[2] = pic.iPicWidth >> 1; in EncodeStream()
112 pic.pData[1] = pic.pData[0] + pEncParamExt->iPicWidth * pEncParamExt->iPicHeight; in EncodeStream()
113 pic.pData[2] = pic.pData[1] + (pEncParamExt->iPicWidth * pEncParamExt->iPicHeight >> 2); in EncodeStream()
Dencode_decode_api_test.cpp17 pParam->iPicWidth = width; in prepareParam()
44 EncPic.iPicWidth = EncDecFileParam.width; in prepareEncDecParam()
47 EncPic.iStride[0] = EncPic.iPicWidth; in prepareEncDecParam()
48 EncPic.iStride[1] = EncPic.iStride[2] = EncPic.iPicWidth >> 1; in prepareEncDecParam()
93 int frameSize = EncPic.iPicWidth * EncPic.iPicHeight * 3 / 2; in EncodeOneFrame()
94 int lumaSize = EncPic.iPicWidth * EncPic.iPicHeight; in EncodeOneFrame()
155 if (!InitialEncDec (pParam->iPicWidth, pParam->iPicHeight)) in TestOneSimulcastAVC()
Dltr_test.cpp64 pic.iPicWidth = p.width; in TEST_P()
67 pic.iStride[0] = pic.iPicWidth; in TEST_P()
68 pic.iStride[1] = pic.iStride[2] = pic.iPicWidth >> 1; in TEST_P()
Dencoder_test.cpp48 pEnxParamExt->iPicWidth = pEncFileParam->iWidth; in EncFileParamToParamExt()
/third_party/openh264/codec/encoder/core/src/
Dpicture_handle.cpp54 int32_t iPicWidth = 0; in AllocPicture() local
66iPicWidth = WELS_ALIGN (kiWidth, MB_WIDTH_LUMA) + (PADDING_LENGTH << 1); // with width of… in AllocPicture()
68 iPicChromaWidth = iPicWidth >> 1; in AllocPicture()
70 iPicWidth = WELS_ALIGN (iPicWidth, in AllocPicture()
73 iLumaSize = iPicWidth * iPicHeight; in AllocPicture()
80 pPic->iLineSize[0] = iPicWidth; in AllocPicture()
/third_party/openh264/codec/processing/src/mips/
Dvaa_mmi.c248 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSad_mmi() argument
330 [iPicHeight]"+&r"(iPicHeight), [iPicWidth]"+&r"(iPicWidth), in VAACalcSad_mmi()
339 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadBgd_mmi() argument
475 : [ref_data]"+&r"((unsigned char *)ref_data), [iPicWidth]"+&r"((int)iPicWidth), in VAACalcSadBgd_mmi()
488 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadSsd_mmi() argument
589 : [ref_data]"+&r"((unsigned char *)ref_data), [iPicWidth]"+&r"((int)iPicWidth), in VAACalcSadSsd_mmi()
602 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadSsdBgd_mmi() argument
774 : [ref_data]"+&r"((unsigned char *)ref_data), [iPicWidth]"+&r"((int)iPicWidth), in VAACalcSadSsdBgd_mmi()
789 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadVar_mmi() argument
882 : [ref_data]"+&r"((unsigned char *)ref_data), [iPicWidth]"+&r"((int)iPicWidth), in VAACalcSadVar_mmi()
/third_party/openh264/codec/processing/src/vaacalc/
Dvaacalculation.cpp117 int32_t iPicWidth = pSrcPixMap->sRect.iRectWidth; in Process() local
131 …m_sVaaFuncs.pfVAACalcSadSsdBgd (pCurData, pRefData, iPicWidth, iPicHeight, iPicStride, &pResult->i… in Process()
135 …m_sVaaFuncs.pfVAACalcSadBgd (pCurData, pRefData, iPicWidth, iPicHeight, iPicStride, &pResult->iFra… in Process()
140 …m_sVaaFuncs.pfVAACalcSadSsd (pCurData, pRefData, iPicWidth, iPicHeight, iPicStride, &pResult->iFra… in Process()
144 …m_sVaaFuncs.pfVAACalcSadVar (pCurData, pRefData, iPicWidth, iPicHeight, iPicStride, &pResult->iFra… in Process()
147 …m_sVaaFuncs.pfVAACalcSad (pCurData, pRefData, iPicWidth, iPicHeight, iPicStride, &pResult->iFrameS… in Process()
Dvaacalcfuncs.cpp37 void VAACalcSadSsd_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t … in VAACalcSadSsd_c() argument
42 int32_t iMbWidth = (iPicWidth >> 4); in VAACalcSadSsd_c()
46 int32_t step = (iPicStride << 4) - iPicWidth; in VAACalcSadSsd_c()
149 void VAACalcSadVar_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t … in VAACalcSadVar_c() argument
154 int32_t iMbWidth = (iPicWidth >> 4); in VAACalcSadVar_c()
158 int32_t step = (iPicStride << 4) - iPicWidth; in VAACalcSadVar_c()
254 void VAACalcSad_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPi… in VAACalcSad_c() argument
259 int32_t iMbWidth = (iPicWidth >> 4); in VAACalcSad_c()
263 int32_t step = (iPicStride << 4) - iPicWidth; in VAACalcSad_c()
338 void VAACalcSadSsdBgd_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32… in VAACalcSadSsdBgd_c() argument
[all …]
Dvaacalculation.h52 …edef void (VAACalcSadBgdFunc) (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth,
57 …f void (VAACalcSadSsdBgdFunc) (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth,
63 typedef void (VAACalcSadFunc) (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth,…
67 …edef void (VAACalcSadVarFunc) (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth,
72 …edef void (VAACalcSadSsdFunc) (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth,
/third_party/openh264/codec/encoder/core/inc/
Dparam_svc.h137 param.iPicWidth = 0; // actual input picture width in FillDefault()
236 iPicWidth = pCodingParam.iPicWidth; in ParamBaseTranscode()
241 SUsedPicRect.iWidth = ((iPicWidth >> 1) * (1 << 1)); in ParamBaseTranscode()
264 pDlp->iActualWidth = sSpatialLayers[iIdxSpatial].iVideoWidth = iPicWidth; in ParamBaseTranscode()
283 pCodingParam->iPicWidth = iPicWidth; in GetBaseParams()
293 iPicWidth = pCodingParam.iPicWidth; in ParamTranscode()
300 SUsedPicRect.iWidth = ((iPicWidth >> 1) << 1); in ParamTranscode()
411 iPicWidth); // frame width in ParamTranscode()
422 pSpatialLayer->iVideoWidth = iPicWidth; in ParamTranscode()
/third_party/openh264/codec/decoder/core/src/
Dpic_queue.cpp64 int32_t iPicWidth = 0; in AllocPicture() local
78 iPicWidth = WELS_ALIGN (kiPicWidth + (PADDING_LENGTH << 1), PICTURE_RESOLUTION_ALIGNMENT); in AllocPicture()
80 iPicChromaWidth = iPicWidth >> 1; in AllocPicture()
83 iLumaSize = iPicWidth * iPicHeight; in AllocPicture()
89 pPic->iLinesize[0] = iPicWidth; in AllocPicture()
97 pPic->iLinesize[0] = iPicWidth; in AllocPicture()
Derror_concealment.cpp226 int32_t iPicWidthRightLimit = pMCRefMem->iPicWidth; in DoMbECMvCopy()
230 iPicWidthRightLimit = (pMCRefMem->iPicWidth - pCtx->sFrameCrop.iRightOffset * 2); in DoMbECMvCopy()
397 sMCRefMem.iPicWidth = pDstPic->iWidthInPixel; in DoErrorConSliceMVCopy()
/third_party/openh264/codec/processing/src/x86/
Dvaa.asm349 ;void VAACalcSad_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t…
357 %define iPicWidth esp + pushsize + 12
372 shr dword [iPicWidth], 4 ; iPicWidth/16
378 mov ecx, dword [iPicWidth]
427 %undef iPicWidth
539 ;void VAACalcSad_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t…
547 %define iPicWidth r2
563 shr r2, 4 ; iPicWidth/16
619 %undef iPicWidth
637 ;void VAACalcSadVar_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int3…
[all …]
/third_party/openh264/test/processing/
DProcessUT_VaaCalc.cpp11 void VAACalcSadSsd_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_… in VAACalcSadSsd_ref() argument
16 int32_t iMbWidth = (iPicWidth >> 4); in VAACalcSadSsd_ref()
20 int32_t step = (iPicStride << 4) - iPicWidth; in VAACalcSadSsd_ref()
123 void VAACalcSadVar_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_… in VAACalcSadVar_ref() argument
128 int32_t iMbWidth = (iPicWidth >> 4); in VAACalcSadVar_ref()
132 int32_t step = (iPicStride << 4) - iPicWidth; in VAACalcSadVar_ref()
227 void VAACalcSad_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t i… in VAACalcSad_ref() argument
232 int32_t iMbWidth = (iPicWidth >> 4); in VAACalcSad_ref()
236 int32_t step = (iPicStride << 4) - iPicWidth; in VAACalcSad_ref()
311 void VAACalcSadSsdBgd_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int… in VAACalcSadSsdBgd_ref() argument
[all …]
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp237 pSrcPic->iPicWidth = atoi (strTag[1].c_str()); in ParseConfig()
468 pSrcPic->iPicWidth = atoi (argv[n++]); in ParseCommandLine()
679 sParam.iPicWidth = 1280; // width of picture in samples in FillSpecificParameters()
816 iSourceWidth = pSrcPic->iPicWidth; in ProcessEncoding()
835 sSvcParam.iPicWidth = 0; in ProcessEncoding()
839 sSvcParam.iPicWidth = WELS_MAX (sSvcParam.iPicWidth, pDLayer->iVideoWidth); in ProcessEncoding()
843 sSvcParam.iPicWidth = (!sSvcParam.iPicWidth) ? iSourceWidth : sSvcParam.iPicWidth; in ProcessEncoding()
1023 sSvcParam.iPicWidth, sSvcParam.iPicHeight, in ProcessEncoding()
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp331 m_iMaxPicWidth = pCfg->iPicWidth; in InitializeInternal()
339 … pCfg->iUsageType, pCfg->iPicWidth, pCfg->iPicHeight, pCfg->fMaxFrameRate, pCfg->iTemporalLayerNum, in InitializeInternal()
406 if ((pSrcPic->iPicWidth < 16) || ((pSrcPic->iPicHeight < 16))) { in EncodeFrameInternal()
408 pSrcPic->iPicWidth, pSrcPic->iPicHeight); in EncodeFrameInternal()
446 m_pEncContext->pSvcParam->iPicWidth); in EncodeFrameInternal()
449 m_pEncContext->pSvcParam->iPicWidth); in EncodeFrameInternal()
507 pParam->iPicWidth, in TraceParamInfo()
740 …if ((sEncodingParam.iPicWidth != m_pEncContext->pSvcParam->sDependencyLayers[m_pEncContext->pSvcP… in SetOption()
754 iTargetWidth = sConfig.iPicWidth; in SetOption()
769 sEncodingParam.iPicWidth, in SetOption()
[all …]
/third_party/openh264/codec/api/svc/
Dcodec_app_def.h529 …int iPicWidth; ///< width of picture in luminance samples (the maximum of all layers … member
544 int iPicWidth; ///< same as in TagEncParamBase member
657 int iPicWidth; ///< luma picture width in x coordinate member
/third_party/openh264/codec/processing/src/loongarch/
Dvaa_lsx.c47 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadBgd_lsx() argument
52 int32_t iMbWidth = (iPicWidth >> 4); in VAACalcSadBgd_lsx()
56 int32_t step = (iPicStride << 4) - iPicWidth; in VAACalcSadBgd_lsx()
/third_party/ffmpeg/libavcodec/
Dlibopenh264enc.c169 param.iPicWidth = avctx->width; in svc_encode_init()
258 param.sSpatialLayers[0].iVideoWidth = param.iPicWidth; in svc_encode_init()
385 sp.iPicWidth = avctx->width; in svc_encode_frame()
/third_party/openh264/codec/decoder/core/inc/
Drec_mb.h73 int32_t iPicWidth; member

12