MCPcopy Create free account
hub / github.com/cisco/openh264 / WelsCreateDecoder

Function WelsCreateDecoder

codec/decoder/plus/src/welsDecoderExt.cpp:1406–1419  ·  view source on GitHub ↗

* WelsCreateDecoder * @return: success in return 0, otherwise failed. */

Source from the content-addressed store, hash-verified

1404* @return: success in return 0, otherwise failed.
1405*/
1406long WelsCreateDecoder (ISVCDecoder** ppDecoder) {
1407
1408 if (NULL == ppDecoder) {
1409 return ERR_INVALID_PARAMETERS;
1410 }
1411
1412 *ppDecoder = new CWelsDecoder();
1413
1414 if (NULL == *ppDecoder) {
1415 return ERR_MALLOC_FAILED;
1416 }
1417
1418 return ERR_NONE;
1419}
1420
1421/*
1422* WelsDestroyDecoder

Callers 7

InitDecodeMethod · 0.85
SetUpMethod · 0.85
SetUpMethod · 0.85
SetUpMethod · 0.85
SetUpMethod · 0.85
TEST_FFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 3

SetUpMethod · 0.68
SetUpMethod · 0.68
TEST_FFunction · 0.68