Home
last modified time | relevance | path

Searched refs:pCfg (Results 1 – 10 of 10) sorted by relevance

/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp237 int CWelsH264SVCEncoder::InitializeInternal (SWelsSvcCodingParam* pCfg) { in InitializeInternal() argument
238 if (NULL == pCfg) { in InitializeInternal()
240 pCfg); in InitializeInternal()
251 const int32_t iNumOfLayers = pCfg->iSpatialLayerNum; in InitializeInternal()
259 if (pCfg->iTemporalLayerNum < 1) in InitializeInternal()
260 pCfg->iTemporalLayerNum = 1; in InitializeInternal()
261 if (pCfg->iTemporalLayerNum > MAX_TEMPORAL_LEVEL) { in InitializeInternal()
264 pCfg->iTemporalLayerNum, MAX_TEMPORAL_LEVEL); in InitializeInternal()
271 if (pCfg->uiGopSize < 1 || pCfg->uiGopSize > MAX_GOP_SIZE) { in InitializeInternal()
273 …sH264SVCEncoder::Initialize(), invalid uiGopSize= %d, valid at range of [1, %d].", pCfg->uiGopSize, in InitializeInternal()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/r800/
Dciaddrlib.cpp1583 TileConfig* pCfg ///< [out] output structure in ReadGbTileMode()
1589 pCfg->type = static_cast<AddrTileType>(gbTileMode.f.micro_tile_mode_new); in ReadGbTileMode()
1592 pCfg->info.pipeConfig = static_cast<AddrPipeCfg>(gbTileMode.f.alt_pipe_config + 1); in ReadGbTileMode()
1596 pCfg->info.pipeConfig = static_cast<AddrPipeCfg>(gbTileMode.f.pipe_config + 1); in ReadGbTileMode()
1599 if (pCfg->type == ADDR_DEPTH_SAMPLE_ORDER) in ReadGbTileMode()
1601 pCfg->info.tileSplitBytes = 64 << gbTileMode.f.tile_split; in ReadGbTileMode()
1605 pCfg->info.tileSplitBytes = 1 << gbTileMode.f.sample_split; in ReadGbTileMode()
1610 pCfg->mode = static_cast<AddrTileMode>(regArrayMode); in ReadGbTileMode()
1615 pCfg->mode = ADDR_TM_PRT_TILED_THIN1; in ReadGbTileMode()
1618 pCfg->mode = ADDR_TM_PRT_2D_TILED_THIN1; in ReadGbTileMode()
[all …]
Dciaddrlib.h155 UINT_32 regValue, TileConfig* pCfg) const;
158 UINT_32 regValue, ADDR_TILEINFO* pCfg) const;
Dsiaddrlib.cpp3075 TileConfig* pCfg ///< [out] output structure in ReadGbTileMode()
3081 pCfg->type = static_cast<AddrTileType>(gbTileMode.f.micro_tile_mode); in ReadGbTileMode()
3082 pCfg->info.bankHeight = 1 << gbTileMode.f.bank_height; in ReadGbTileMode()
3083 pCfg->info.bankWidth = 1 << gbTileMode.f.bank_width; in ReadGbTileMode()
3084 pCfg->info.banks = 1 << (gbTileMode.f.num_banks + 1); in ReadGbTileMode()
3085 pCfg->info.macroAspectRatio = 1 << gbTileMode.f.macro_tile_aspect; in ReadGbTileMode()
3086 pCfg->info.tileSplitBytes = 64 << gbTileMode.f.tile_split; in ReadGbTileMode()
3087 pCfg->info.pipeConfig = static_cast<AddrPipeCfg>(gbTileMode.f.pipe_config + 1); in ReadGbTileMode()
3091 pCfg->mode = static_cast<AddrTileMode>(regArrayMode); in ReadGbTileMode()
3095 pCfg->mode = ADDR_TM_2D_TILED_XTHICK; in ReadGbTileMode()
[all …]
Dsiaddrlib.h338 VOID ReadGbTileMode(UINT_32 regValue, TileConfig* pCfg) const;
/third_party/openh264/codec/encoder/core/src/
Dencoder_ext.cpp264 int32_t ParamValidation (SLogContext* pLogCtx, SWelsSvcCodingParam* pCfg) { in ParamValidation() argument
268 assert (pCfg != NULL); in ParamValidation()
270 if (! (pCfg->iUsageType < INPUT_CONTENT_TYPE_ALL)) { in ParamValidation()
271 … WelsLog (pLogCtx, WELS_LOG_ERROR, "ParamValidation(),Invalid usage type = %d", pCfg->iUsageType); in ParamValidation()
274 if (pCfg->iUsageType == SCREEN_CONTENT_REAL_TIME) { in ParamValidation()
275 if (pCfg->iSpatialLayerNum > 1) { in ParamValidation()
277 pCfg->iSpatialLayerNum); in ParamValidation()
280 if (pCfg->bEnableAdaptiveQuant) { in ParamValidation()
283 pCfg->bEnableAdaptiveQuant); in ParamValidation()
284 pCfg->bEnableAdaptiveQuant = false; in ParamValidation()
[all …]
/third_party/openh264/codec/processing/src/common/
DWelsFrameWork.h71 virtual EResult Init (int32_t iType, void* pCfg) { in Init() argument
104 EResult Init (int32_t iType, void* pCfg);
DWelsFrameWorkEx.cpp39 EResult Init (void* pCtx, int32_t iType, void* pCfg) { in Init() argument
40 return pCtx ? WelsStaticCast (IWelsVP*, pCtx)->Init (iType, pCfg) : RET_INVALIDPARAM; in Init()
DWelsFrameWork.cpp113 EResult CVpFrameWork::Init (int32_t iType, void* pCfg) { in Init() argument
123 eReturn = pStrategy->Init (0, pCfg); in Init()
/third_party/openh264/codec/processing/interface/
DIWelsVP.h245 EResult (*Init) (void* pCtx, int iType, void* pCfg);
261 virtual EResult Init (int iType, void* pCfg) = 0;