/third_party/openh264/codec/console/enc/src/ |
D | welsenc.cpp | 104 SSliceArgument sSliceArgument; member 198 sLayerCtx.sSliceArgument.uiSliceMode = (SliceModeEnum)atoi (strTag[1].c_str()); in ParseLayerConfig() 200 sLayerCtx.sSliceArgument.uiSliceSizeConstraint = atoi (strTag[1].c_str()); in ParseLayerConfig() 203 sLayerCtx.sSliceArgument.uiSliceNum = atoi (strTag[1].c_str()); in ParseLayerConfig() 208 sLayerCtx.sSliceArgument.uiSliceMbNum[uiSliceIdx] = atoi (strTag[1].c_str()); in ParseLayerConfig() 213 pDLayer->sSliceArgument.uiSliceMode = sLayerCtx.sSliceArgument.uiSliceMode; in ParseLayerConfig() 215 …memcpy (&pDLayer->sSliceArgument, &sLayerCtx.sSliceArgument, sizeof (SSliceArgument)); // confirme… in ParseLayerConfig() 216 memcpy (&pDLayer->sSliceArgument.uiSliceMbNum[0], &sLayerCtx.sSliceArgument.uiSliceMbNum[0], in ParseLayerConfig() 217 sizeof (sLayerCtx.sSliceArgument.uiSliceMbNum)); // confirmed_safe_unsafe_usage in ParseLayerConfig() 637 pDLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ParseCommandLine() [all …]
|
/third_party/openh264/test/api/ |
D | encode_options_test.cpp | 122 … pSpatialLayer->sSliceArgument.uiSliceMode = static_cast<SliceModeEnum> (rand() % SLICE_MODE_NUM); in RandomParamExtCombination() 123 if (pSpatialLayer->sSliceArgument.uiSliceMode != SM_SIZELIMITED_SLICE) { in RandomParamExtCombination() 126 pSpatialLayer->sSliceArgument.uiSliceNum = rand(); in RandomParamExtCombination() 127 pSpatialLayer->sSliceArgument.uiSliceSizeConstraint = rand(); in RandomParamExtCombination() 189 uiSliceNum = pSpatialLayer->sSliceArgument.uiSliceNum; in ValidateParamExtCombination() 190 pSpatialLayer->sSliceArgument.uiSliceNum = WELS_CLIP3 (uiSliceNum, 1, MAX_SLICES_NUM); in ValidateParamExtCombination() 191 pSpatialLayer->sSliceArgument.uiSliceSizeConstraint = 0; in ValidateParamExtCombination() 196 if (SM_FIXEDSLCNUM_SLICE == pSpatialLayer->sSliceArgument.uiSliceMode) { in ValidateParamExtCombination() 197 pSpatialLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ValidateParamExtCombination() 201 if (SM_SIZELIMITED_SLICE == pSpatialLayer->sSliceArgument.uiSliceMode) { in ValidateParamExtCombination() [all …]
|
D | BaseEncoderTest.cpp | 10 SliceModeEnum eSliceMode = pEncParamExt->sSpatialLayers[0].sSliceArgument.uiSliceMode; in InitWithParam() 48 param.sSpatialLayers[i].sSliceArgument.uiSliceMode = eSliceMode; in InitWithParam() 50 param.sSpatialLayers[i].sSliceArgument.uiSliceSizeConstraint = 600; in InitWithParam() 56 param.sSpatialLayers[i].sSliceArgument.uiSliceNum = 4; in InitWithParam()
|
D | decode_api_test.cpp | 656 …param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = (rand() % 2) ? SM_SIZELIMITED_SLICE : SM_SIN… in TEST_F() 657 if (param_.sSpatialLayers[0].sSliceArgument.uiSliceMode == SM_SIZELIMITED_SLICE) { in TEST_F() 658 param_.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 1400; in TEST_F() 661 param_.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 0; in TEST_F() 1158 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = in TEST_F() 1160 if (param_.sSpatialLayers[0].sSliceArgument.uiSliceMode == SM_SIZELIMITED_SLICE) { in TEST_F() 1161 param_.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 1400; in TEST_F() 1164 param_.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 0; in TEST_F()
|
D | encoder_test.cpp | 59 pEnxParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = pEncFileParam->eSliceMode; in EncFileParamToParamExt()
|
D | decode_encode_test.cpp | 110 pEnxParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in DecEncFileParamToParamExt()
|
D | encode_decode_api_test.cpp | 28 pParam->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in prepareParam() 29 pParam->sSpatialLayers[i].sSliceArgument.uiSliceNum = iSlices; in prepareParam()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | param_svc.h | 189 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in FillDefault() 190 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceNum = 0; //AUTO, using number of CPU cores in FillDefault() 191 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceSizeConstraint = 1500; in FillDefault() 200 …param.sSpatialLayers[iLayer].sSliceArgument.uiSliceMbNum[idx] = 0; //default, using one row a slic… in FillDefault() 436 pSpatialLayer->sSliceArgument = pCodingParam.sSpatialLayers[iIdxSpatial].sSliceArgument; in ParamTranscode() 438 memcpy (&(pSpatialLayer->sSliceArgument), in ParamTranscode() 439 … &(pCodingParam.sSpatialLayers[iIdxSpatial].sSliceArgument), // confirmed_safe_unsafe_usage in ParamTranscode()
|
/third_party/openh264/codec/encoder/core/src/ |
D | encoder_ext.cpp | 528 if (pSpatialLayer->sSliceArgument.uiSliceMode >= SM_RESERVED) { in ParamValidationExt() 530 pSpatialLayer->sSliceArgument.uiSliceMode); in ParamValidationExt() 533 …if ((pCodingParam->uiMaxNalSize != 0) && (pSpatialLayer->sSliceArgument.uiSliceMode != SM_SIZELIMI… in ParamValidationExt() 536 pSpatialLayer->sSliceArgument.uiSliceMode, pCodingParam->uiMaxNalSize); in ParamValidationExt() 543 pSpatialLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ParamValidationExt() 545 switch (pSpatialLayer->sSliceArgument.uiSliceMode) { in ParamValidationExt() 547 pSpatialLayer->sSliceArgument.uiSliceNum = 1; in ParamValidationExt() 548 pSpatialLayer->sSliceArgument.uiSliceSizeConstraint = 0; in ParamValidationExt() 550 pSpatialLayer->sSliceArgument.uiSliceMbNum[iIdx] = 0; in ParamValidationExt() 554 …iReturn = SliceArgumentValidationFixedSliceMode (pLogCtx, &pSpatialLayer->sSliceArgument, pCodingP… in ParamValidationExt() [all …]
|
D | wels_task_management.cpp | 142 uint32_t uiSliceMode = pEncCtx->pSvcParam->sSpatialLayers[kiCurDid].sSliceArgument.uiSliceMode; in CreateTasks() 145 …nt = m_iTaskNum[kiCurDid] = pEncCtx->pSvcParam->sSpatialLayers[kiCurDid].sSliceArgument.uiSliceNum; in CreateTasks()
|
D | slice_multi_threading.cpp | 539 …&& (pCtx->pSvcParam->sSpatialLayers[iCurDid - 1].sSliceArgument.uiSliceMode == SM_FIXEDSLCNUM_SLICE in AdjustEnhanceLayer() 541 1].sSliceArgument.uiSliceNum); in AdjustEnhanceLayer() 603 SSliceArgument* pSliceArgument = &pPara->sSpatialLayers[kiDid].sSliceArgument; in TrackSliceConsumeTime()
|
D | svc_encode_slice.cpp | 1080 SSliceArgument* pSliceArgument = & pCtx->pSvcParam->sSpatialLayers[kiDlayerIndex].sSliceArgument; in InitSliceInLayer() 1316 SSliceArgument* pSliceArgument = & pCtx->pSvcParam->sSpatialLayers[kiDlayerIdx].sSliceArgument; in ReallocateSliceInThread() 1394 SSliceArgument* pSliceArgument = & pCtx->pSvcParam->sSpatialLayers[kiCurDid].sSliceArgument; in ReallocSliceBuffer() 1634 (pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId].sSliceArgument.uiSliceMode in WelsCodeOneSlice()
|
D | ratectl.cpp | 170 bMultiSliceMode = ((SM_RASTER_SLICE == pDLayerParam->sSliceArgument.uiSliceMode) || in RcInitSequenceParameter() 171 (SM_SIZELIMITED_SLICE == pDLayerParam->sSliceArgument.uiSliceMode)); in RcInitSequenceParameter()
|
/third_party/openh264/test/encoder/ |
D | EncUT_SliceBufferReallocate.cpp | 57 pDqLayer->iMaxSliceNum = GetInitialSliceNum (&pLayerCfg->sSliceArgument); in AllocateLayerBuffer() 96 SSliceArgument* pSliceArgument = &pLayerCfg->sSliceArgument; in InitParamForSizeLimitSlcMode() 119 SSliceArgument* pSliceArgument = &pLayerCfg->sSliceArgument; in InitParamForRasterSlcMode() 173 …SSliceArgument* pSliceArgument = &m_EncContext.pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument; in InitParamForSizeLimitSlcModeCase() 324 SSliceArgument* pSliceArgument = &pLayerCfg->sSliceArgument; in InitLayerSliceBuffer() 412 if (SM_SIZELIMITED_SLICE == pLayerCfg->sSliceArgument.uiSliceMode) { in SimulateSliceInOneLayer() 520 iRet = ReallocateSliceList (pCtx, &pCtx->pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument, in TEST_F() 572 SSliceArgument* pSliceArgument = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument; in TEST_F() 618 …SliceModeEnum eSlcMode = pCtx->pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument.uiSliceMode; in TEST_F() 625 iRet = ReallocateSliceList (pCtx, &pCtx->pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument, in TEST_F()
|
D | EncUT_EncoderTaskManagement.cpp | 42 sWelsSvcCodingParam.sSpatialLayers[0].sSliceArgument.uiSliceNum = 35; in TEST()
|
D | EncUT_EncoderExt.cpp | 973 sEncParamExt.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F() 1036 sEncParamExt.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F() 1043 sEncParamExt.sSpatialLayers[1].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F() 1050 sEncParamExt.sSpatialLayers[2].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F() 1139 pParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in TEST_F() 1140 pParamExt->sSpatialLayers[i].sSliceArgument.uiSliceSizeConstraint = iMaxNalSize; in TEST_F()
|
/third_party/ffmpeg/libavcodec/ |
D | libopenh264enc.c | 318 param.sSpatialLayers[0].sSliceArgument.uiSliceMode = s->slice_mode; in svc_encode_init() 319 param.sSpatialLayers[0].sSliceArgument.uiSliceNum = avctx->slices; in svc_encode_init() 322 param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = avctx->slices; in svc_encode_init() 331 param.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = s->max_nal_size; in svc_encode_init() 333 … param.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceSizeConstraint = s->max_nal_size; in svc_encode_init()
|
/third_party/gstreamer/gstplugins_bad/ext/openh264/ |
D | gstopenh264enc.cpp | 837 enc_params.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = n_slices; in gst_openh264enc_set_format() 839 enc_params.sSpatialLayers[0].sSliceArgument.uiSliceMode = slice_mode; in gst_openh264enc_set_format() 840 enc_params.sSpatialLayers[0].sSliceArgument.uiSliceNum = n_slices; in gst_openh264enc_set_format()
|
/third_party/openh264/module/ |
D | gmp-openh264.cpp | 281 layer->sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in InitEncode() 282 layer->sSliceArgument.uiSliceSizeConstraint = maxPayloadSize; in InitEncode()
|
/third_party/openh264/codec/api/svc/ |
D | codec_app_def.h | 465 SSliceArgument sSliceArgument; member
|
/third_party/openh264/codec/encoder/plus/src/ |
D | welsEncoderExt.cpp | 554 pSpatialCfg->sSliceArgument.uiSliceMode, in TraceParamInfo() 555 pSpatialCfg->sSliceArgument.uiSliceNum, in TraceParamInfo() 556 pSpatialCfg->sSliceArgument.uiSliceSizeConstraint, in TraceParamInfo()
|