MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / GetFormatName

Function GetFormatName

modules/camera/camera_android.cpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55#endif
56
57String GetFormatName(const int32_t &format) {
58 IF_EQUAL_RETURN(format, YUV_420_888);
59 IF_EQUAL_RETURN(format, RGB_888);
60 IF_EQUAL_RETURN(format, RGBA_8888);
61
62 return "Unsupported";
63}
64
65//////////////////////////////////////////////////////////////////////////
66// CameraFeedAndroid - Subclass for our camera feed on Android

Callers 1

_add_formatsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected