/third_party/openh264/test/common/ |
D | ExpandPicture.cpp | 16 …ExpandPictureLumaAnchor_c (uint8_t* pDst, int32_t iStride, int32_t iPicWidth, int32_t iPicHeight) { in H264ExpandPictureLumaAnchor_c() argument 18 uint8_t* pDstLastLine = pTmp + (iPicHeight - 1) * iStride; in H264ExpandPictureLumaAnchor_c() 49 } while (i < iPicHeight); in H264ExpandPictureLumaAnchor_c() 52 …pandPictureChromaAnchor_c (uint8_t* pDst, int32_t iStride, int32_t iPicWidth, int32_t iPicHeight) { in H264ExpandPictureChromaAnchor_c() argument 54 uint8_t* pDstLastLine = pTmp + (iPicHeight - 1) * iStride; in H264ExpandPictureChromaAnchor_c() 87 } while (i < iPicHeight); in H264ExpandPictureChromaAnchor_c() 124 int32_t iPicHeight = 16 + (rand() % 100) * 16; in TEST() local 127 int32_t iBuffHeight = iPicHeight + H264_PADDING_LENGTH_LUMA * 2; in TEST() 138 for (int32_t j = 0; j < iPicHeight; j++) { in TEST() 143 H264ExpandPictureLumaAnchor_c (pAnchorDst, iStride, iPicWidth, iPicHeight); in TEST() [all …]
|
/third_party/openh264/test/encoder/ |
D | EncUT_EncoderExt.cpp | 90 pSrcPic->iPicHeight = pParamExt->iPicHeight; in PrepareOneSrcFrame() 92 pSrcPic->iPicHeight = VALID_SIZE (pParamExt->iPicHeight); in PrepareOneSrcFrame() 94 m_iHeight = pSrcPic->iPicHeight; in PrepareOneSrcFrame() 143 pParamExt->iPicHeight = 720; in InitializeParamExt() 148 pParamExt->sSpatialLayers[0].iVideoHeight = pParamExt->iPicHeight; in InitializeParamExt() 404 pParamExt->iPicHeight = 720; in TEST_F() 410 m_iHeight = pParamExt->iPicHeight; in TEST_F() 428 pParamExt->iPicHeight += (rand() << 1) % IMAGE_VARY_SIZE; in TEST_F() 430 m_iHeight = pParamExt->iPicHeight; in TEST_F() 441 pOption ->iPicHeight = m_iHeight; in TEST_F() [all …]
|
D | EncUT_InterfaceTest.cpp | 34 baseparam.iPicHeight = 7896; in TEST_F() 63 baseparam.iPicHeight = height; in TEST_F() 79 pic.iPicHeight = height; in TEST_F()
|
D | EncUT_ParameterSetStrategy.cpp | 50 sEncParamBase.iPicHeight = 720; in GenerateParam() 135 sParamExt.iPicHeight = 720; in TEST_F()
|
/third_party/openh264/test/api/ |
D | BaseEncoderTest.cpp | 21 param.iPicHeight = pEncParamExt->iPicHeight; in InitWithParam() 31 param.iPicHeight = pEncParamExt->iPicHeight; in InitWithParam() 44 …param.sSpatialLayers[i].iVideoHeight = pEncParamExt->iPicHeight >> (param.iSpatialLayerNum - 1 … in InitWithParam() 95 int frameSize = pEncParamExt->iPicWidth * pEncParamExt->iPicHeight * 3 / 2; in EncodeStream() 107 pic.iPicHeight = pEncParamExt->iPicHeight; 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()
|
D | encode_options_test.cpp | 26 EncPic.iPicHeight = iHeight; in InitialEncDec() 46 param_.iPicHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 2, MAX_HEIGHT); in RandomParamExtCombination() 141 param_.iPicHeight = WELS_CLIP3 (param_.iPicHeight, 2, MAX_HEIGHT); in ValidateParamExtCombination() 182 pSpatialLayer->iVideoHeight = param_.iPicHeight >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination() 250 uiMbHeight = (param_.iPicHeight + 15) >> 4; in SliceParamValidationForMode2() 281 uiMbHeight = (param_.iPicHeight + 15) >> 4; in SliceParamValidationForMode3() 330 ASSERT_TRUE (InitialEncDec (param_.iPicWidth, param_.iPicHeight)); in TEST_F() 375 ASSERT_TRUE (InitialEncDec (param_.iPicWidth, param_.iPicHeight)); in TEST_F() 423 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRat… in TEST_F() 428 while (GET_MB_WIDTH (sParam3.iPicHeight) == GET_MB_WIDTH (sParam1.iPicHeight)) { in TEST_F() [all …]
|
D | encode_decode_api_test.cpp | 18 pParam->iPicHeight = height; in prepareParam() 45 EncPic.iPicHeight = EncDecFileParam.height; 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()
|
/third_party/openh264/codec/processing/src/mips/ |
D | vaa_mmi.c | 248 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 476 [iPicHeight]"+&r"((int)iPicHeight), [psad8x8]"+&r"((int *)psad8x8), in VAACalcSadBgd_mmi() 488 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadSsd_mmi() argument 590 [iPicHeight]"+&r"((int)iPicHeight), [psum16x16]"+&r"((int *)psum16x16), in VAACalcSadSsd_mmi() 602 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadSsdBgd_mmi() argument 775 [iPicHeight]"+&r"((int)iPicHeight), [psad8x8]"+&r"((int *)psad8x8), in VAACalcSadSsdBgd_mmi() 789 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadVar_mmi() argument 883 [iPicHeight]"+&r"((int)iPicHeight), [psum16x16]"+&r"((int *)psum16x16), in VAACalcSadVar_mmi()
|
/third_party/openh264/codec/processing/src/vaacalc/ |
D | vaacalculation.cpp | 118 int32_t iPicHeight = pSrcPixMap->sRect.iRectHeight; 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()
|
D | vaacalculation.h | 53 int32_t iPicHeight, 58 int32_t iPicHeight, 63 …cSadFunc) (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, 68 int32_t iPicHeight, 73 int32_t iPicHeight,
|
D | vaacalcfuncs.cpp | 37 …cSadSsd_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadSsd_c() argument 43 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadSsd_c() 149 …cSadVar_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadVar_c() argument 155 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadVar_c() 254 …CalcSad_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSad_c() argument 260 int32_t mb_height = (iPicHeight >> 4); in VAACalcSad_c() 338 …dSsdBgd_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadSsdBgd_c() argument 347 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadSsdBgd_c() 486 …cSadBgd_c (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadBgd_c() argument 492 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadBgd_c()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | param_svc.h | 138 param.iPicHeight = 0; // actual input picture height in FillDefault() 237 iPicHeight = pCodingParam.iPicHeight; in ParamBaseTranscode() 242 SUsedPicRect.iHeight = ((iPicHeight >> 1) * (1 << 1)); in ParamBaseTranscode() 265 pDlp->iActualHeight = sSpatialLayers[iIdxSpatial].iVideoHeight = iPicHeight; in ParamBaseTranscode() 284 pCodingParam->iPicHeight = iPicHeight; in GetBaseParams() 294 iPicHeight = pCodingParam.iPicHeight; in ParamTranscode() 301 SUsedPicRect.iHeight = ((iPicHeight >> 1) << 1); in ParamTranscode() 413 iPicHeight);// frame height in ParamTranscode() 425 pSpatialLayer->iVideoHeight = iPicHeight; in ParamTranscode()
|
/third_party/openh264/codec/processing/src/scrolldetection/ |
D | ScrollDetectionFuncs.cpp | 70 int32_t SelectTestLine (uint8_t* pY, int32_t iWidth, int32_t iHeight, int32_t iPicHeight, in SelectTestLine() argument 80 if (TestPos < iPicHeight) { in SelectTestLine() 116 int32_t iPicHeight = pRefPixMap->sRect.iRectHeight; in ScrollDetectionCore() local 118 …int32_t iMaxHeight = WELS_MIN (iOffsetY + iHeight - 1, iPicHeight - 1) ; //offset_y + height - 1;// in ScrollDetectionCore() 126 iTestPos = SelectTestLine (pYSrc, iWidth, iHeight, iPicHeight, iYStride, iOffsetX, iOffsetY); in ScrollDetectionCore()
|
D | ScrollDetectionFuncs.h | 55 int32_t SelectTestLine (uint8_t* pY, int32_t iWidth, int32_t iHeight, int32_t iPicHeight,
|
/third_party/openh264/codec/processing/src/x86/ |
D | vaa.asm | 349 …lcSad_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight 358 %define iPicHeight esp + pushsize + 16 373 shr dword [iPicHeight], 4 ; iPicHeight/16 416 dec dword [iPicHeight] 428 %undef iPicHeight 539 …lcSad_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight 548 %define iPicHeight r3 564 shr r3, 4 ; iPicHeight/16 620 %undef iPicHeight 637 …adVar_sse2( const uint8_t *cur_data, const uint8_t *ref_data, int32_t iPicWidth, int32_t iPicHeight [all …]
|
/third_party/openh264/codec/encoder/core/src/ |
D | picture_handle.cpp | 55 int32_t iPicHeight = 0; in AllocPicture() local 67 …iPicHeight = WELS_ALIGN (kiHeight, MB_HEIGHT_LUMA) + (PADDING_LENGTH << 1); // with … in AllocPicture() 69 iPicChromaHeight = iPicHeight >> 1; in AllocPicture() 73 iLumaSize = iPicWidth * iPicHeight; in AllocPicture()
|
/third_party/openh264/codec/decoder/core/src/ |
D | pic_queue.cpp | 65 int32_t iPicHeight = 0; in AllocPicture() local 79 iPicHeight = WELS_ALIGN (kiPicHeight + (PADDING_LENGTH << 1), PICTURE_RESOLUTION_ALIGNMENT); in AllocPicture() 81 iPicChromaHeight = iPicHeight >> 1; in AllocPicture() 83 iLumaSize = iPicWidth * iPicHeight; in AllocPicture()
|
D | error_concealment.cpp | 227 int32_t iPicHeightBottomLimit = pMCRefMem->iPicHeight; in DoMbECMvCopy() 232 iPicHeightBottomLimit = (pMCRefMem->iPicHeight - pCtx->sFrameCrop.iTopOffset * 2); in DoMbECMvCopy() 398 sMCRefMem.iPicHeight = pDstPic->iHeightInPixel; in DoErrorConSliceMVCopy()
|
/third_party/openh264/codec/console/enc/src/ |
D | welsenc.cpp | 239 pSrcPic->iPicHeight = atoi (strTag[1].c_str()); in ParseConfig() 471 pSrcPic->iPicHeight = atoi (argv[n++]); in ParseCommandLine() 680 sParam.iPicHeight = 720; // height of picture in samples in FillSpecificParameters() 817 iSourceHeight = pSrcPic->iPicHeight; in ProcessEncoding() 836 sSvcParam.iPicHeight = 0; in ProcessEncoding() 840 sSvcParam.iPicHeight = WELS_MAX (sSvcParam.iPicHeight, pDLayer->iVideoHeight); in ProcessEncoding() 844 sSvcParam.iPicHeight = (!sSvcParam.iPicHeight) ? iSourceHeight : sSvcParam.iPicHeight; in ProcessEncoding() 1023 sSvcParam.iPicWidth, sSvcParam.iPicHeight, in ProcessEncoding()
|
/third_party/openh264/test/processing/ |
D | ProcessUT_VaaCalc.cpp | 11 …adSsd_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadSsd_ref() argument 17 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadSsd_ref() 123 …adVar_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadVar_ref() argument 129 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadVar_ref() 227 …lcSad_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSad_ref() argument 233 int32_t mb_height = (iPicHeight >> 4); in VAACalcSad_ref() 311 …sdBgd_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadSsdBgd_ref() argument 318 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadSsdBgd_ref() 457 …adBgd_ref (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, in VAACalcSadBgd_ref() argument 463 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadBgd_ref()
|
/third_party/openh264/codec/api/svc/ |
D | codec_app_def.h | 530 …int iPicHeight; ///< height of picture in luminance samples((the maximum of all layers… member 545 int iPicHeight; ///< same as in TagEncParamBase member 658 int iPicHeight; ///< luma picture height in y coordinate member
|
/third_party/openh264/codec/encoder/plus/src/ |
D | welsEncoderExt.cpp | 332 m_iMaxPicHeight = pCfg->iPicHeight; 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() 508 pParam->iPicHeight, in TraceParamInfo() 742 …(sEncodingParam.iPicHeight != m_pEncContext->pSvcParam->sDependencyLayers[m_pEncContext->pSvcParam… in SetOption() 755 iTargetHeight = sConfig.iPicHeight; in SetOption() 770 sEncodingParam.iPicHeight, in SetOption() 829 iTargetHeight = sConfig.iPicHeight; in SetOption()
|
/third_party/ffmpeg/libavcodec/ |
D | libopenh264enc.c | 170 param.iPicHeight = avctx->height; in svc_encode_init() 259 param.sSpatialLayers[0].iVideoHeight = param.iPicHeight; in svc_encode_init() 386 sp.iPicHeight = avctx->height; in svc_encode_frame()
|
/third_party/openh264/codec/processing/src/loongarch/ |
D | vaa_lsx.c | 47 int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, in VAACalcSadBgd_lsx() argument 53 int32_t mb_height = (iPicHeight >> 4); in VAACalcSadBgd_lsx()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | rec_mb.h | 74 int32_t iPicHeight; member
|