mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-08 08:56:17 +00:00
Add: Amlogic hardware video decoder backend
This commit is contained in:
committed by
Iwan Timmer
parent
3943ba8cd8
commit
c1f5a2a30e
@@ -52,6 +52,10 @@ enum platform platform_check(char* name) {
|
||||
if (std || strcmp(name, "sdl") == 0)
|
||||
return SDL;
|
||||
#endif
|
||||
#ifdef HAVE_AML
|
||||
if (std || strcmp(name, "aml") == 0)
|
||||
return AML;
|
||||
#endif
|
||||
#ifdef HAVE_FAKE
|
||||
if (std || strcmp(name, "fake") == 0)
|
||||
return FAKE;
|
||||
@@ -73,6 +77,10 @@ DECODER_RENDERER_CALLBACKS* platform_get_video(enum platform system) {
|
||||
case PI:
|
||||
return (PDECODER_RENDERER_CALLBACKS) dlsym(RTLD_DEFAULT, "decoder_callbacks_pi");
|
||||
#endif
|
||||
#ifdef HAVE_AML
|
||||
case AML:
|
||||
return &decoder_callbacks_aml;
|
||||
#endif
|
||||
#ifdef HAVE_FAKE
|
||||
case FAKE:
|
||||
return &decoder_callbacks_fake;
|
||||
|
||||
Reference in New Issue
Block a user