There is no implementation available for actually doing decoding in HW.
Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 10 files). Show all
Unified · Split
| @@ -402,12 +402,6 @@ int32_t WelsInitDecoder (PWelsDecoderContext pCtx, void* pTraceHandle, PWelsLogC · 401 unmodified lines | ||
| 402 | 402 | // open decoder |
| 403 | 403 | WelsOpenDecoder (pCtx); |
| 404 | 404 | |
| 405 | − // decode mode setting | |
| 406 | − pCtx->iDecoderMode = SW_MODE; | |
| 407 | − pCtx->iSetMode = AUTO_MODE; | |
| 408 | − pCtx->iDecoderOutputProperty = BUFFER_HOST; | |
| 409 | − pCtx->iModeSwitchType = 0; // 0: do not do mode switch | |
| 410 | − | |
| 411 | 405 | |
| 412 | 406 | return ERR_NONE; |
| 413 | 407 | } |