19 #ifndef ANBOX_PLATFORM_SDK_PLATFORM_H_
20 #define ANBOX_PLATFORM_SDK_PLATFORM_H_
198 virtual int stop() {
return 0; }
239 (void) get_category_enabled_callback;
240 (void) add_event_callback;
262 #define ANBOX_PLATFORM_PLUGIN_DESCRIBE(platform_type, name, vendor, description) \
263 AnboxPlatformDescriptor anbox_platform_descriptor __attribute((section(ANBOX_PLATFORM_DESCRIPTOR_SECTION))) = \
264 { name, vendor, description, ANBOX_PLATFORM_VERSION }; \
266 ANBOX_EXPORT AnboxPlatform* anbox_initialize(const AnboxPlatformConfiguration* configuration) { \
267 auto platform = std::make_unique<platform_type>(configuration); \
268 return anbox_platform_plugin_register(std::move(platform)); \
270 ANBOX_EXPORT void anbox_deinitialize(AnboxPlatform* platform) { \
271 anbox_platform_plugin_unregister(platform); \
AnboxProxy provides a proxy layer which encapsulates callbacks that can be used by a platform to chan...
AudioProcessor allows processing audio data from the Android container and perform audio processing l...
CameraProcessor allows a plugin to respond to the camera actions triggered from Anobx and post video ...
GpsProcessor allows forwarding the gps data from platform plugin to Android container and process gps...
GraphicsProcessor allows integration with the graphics engine inside Anbox.
SensorProcessor allows processing sensor events from the Android container and perform sensor process...
Connects a platform with the Android VHAL interface. The platform can invoke the callbacks which are ...
Provides access to a video decoder which will be used by both Anbox and the Android instance for hard...
AnboxPlatformConfigurationKey
AnboxPlatformConfigurationKey specifies configuration items which allow to influence the behavior and...
AnboxVideoCodecType
AnboxVideoCodecType describes the type of a video codec.
const unsigned char *(* AnboxTracerGetCategoryEnabledFunc)(const char *name)
Method prototype which will be used to determine if the given tracing category is enabled for tracing...
void(* AnboxTracerAddEventFunc)(char phase, const unsigned char *category, const char *name, unsigned long long id, int num_args, const char **arg_names, const unsigned char *arg_types, const unsigned long long *arg_values, unsigned char flags)
Method prototype which will be used by the platform to submit trace events to the tracing implementat...
AnboxEventType
AnboxEventType describes the type of event sent from Anbox.