anbox-platform-sdk  1.29.0
Anbox Platform SDK API documentation
public_api.h
Go to the documentation of this file.
1 /*
2  * This file is part of Anbox Platform SDK
3  *
4  * Copyright 2021 Canonical Ltd.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 #ifndef ANBOX_SDK_INTERNAL_PUBLIC_API_H_
20 #define ANBOX_SDK_INTERNAL_PUBLIC_API_H_
21 
23 
32 typedef AnboxPlatform* (*AnboxInitializePlatformFunc)(const AnboxPlatformConfiguration* configuration);
33 
42 typedef void (*AnboxReleasePlatformFunc)(AnboxPlatform* platform);
43 
52 typedef const AnboxAudioProcessor* (*AnboxPlatformGetAudioProcessorFunc)(const AnboxPlatform* platform);
53 
62 typedef const AnboxInputProcessor* (*AnboxPlatformGetInputProcessorFunc)(const AnboxPlatform* platform);
63 
72 typedef const AnboxGraphicsProcessor* (*AnboxPlatformGetGraphicsProcessorFunc)(const AnboxPlatform* platform);
73 
82 typedef const AnboxSensorProcessor* (*AnboxPlatformGetSensorProcessorFunc)(const AnboxPlatform* platform);
83 
92 typedef const AnboxGpsProcessor* (*AnboxPlatformGetGpsProcessorFunc)(const AnboxPlatform* platform);
93 
102 typedef const AnboxCameraProcessor* (*AnboxPlatformGetCameraProcessorFunc)(const AnboxPlatform* platform);
103 
112 typedef const AnboxProxy* (*AnboxPlatformGetAnboxProxyFunc)(const AnboxPlatform* platform);
113 
121 typedef AnboxVideoDecoder* (*AnboxPlatformCreateVideoDecoderFunc)(const AnboxPlatform* platform, AnboxVideoCodecType codec_type);
122 
130 typedef bool (*AnboxPlatformReadyFunc)(const AnboxPlatform* platform);
131 
139 typedef int (*AnboxPlatformWaitUntilReadyFunc)(const AnboxPlatform* platform);
140 
148 typedef int (*AnboxPlatformGetConfigItemFunc)(const AnboxPlatform* platform,
150  void* data, size_t data_size);
151 
159 typedef int (*AnboxPlatformSetConfigItemFunc)(const AnboxPlatform* platform,
161  void* data, size_t data_size);
162 
170 typedef int (*AnboxPlatformSetConfigItemsFunc)(const AnboxPlatform* platform,
171  const AnboxPlatformConfigurationItem* items,
172  size_t count);
173 
181 typedef void (*AnboxPlatformSetupEventTracerFunc)(const AnboxPlatform* platform,
182  AnboxTracerGetCategoryEnabledFunc get_category_enabled_func,
183  AnboxTracerAddEventFunc add_event_func);
184 
192 typedef int (*AnboxPlatformStopFunc)(const AnboxPlatform* platform);
193 
201 typedef void (*AnboxPlatformHandleEventFunc)(const AnboxPlatform* platform, AnboxEventType type);
202 
210 typedef size_t (*AnboxAudioProcessorProcessDataFunc)(const AnboxAudioProcessor* audio_processor,
211  const uint8_t* data,
212  size_t size);
213 
221 typedef ssize_t (*AnboxAudioProcessorWriteDataFunc)(const AnboxAudioProcessor* audio_processor,
222  const uint8_t* data,
223  size_t size);
224 
232 typedef ssize_t (*AnboxAudioProcessorReadDataFunc)(const AnboxAudioProcessor* audio_processor,
233  uint8_t* data,
234  size_t size);
235 
243 typedef int (*AnboxAudioProcessorStandbyFunc)(const AnboxAudioProcessor* audio_processor,
244  AnboxAudioStreamType type);
245 
253 typedef int (*AnboxAudioProcessorActivateFunc)(const AnboxAudioProcessor* audio_processor,
254  AnboxAudioStreamType type);
255 
263 typedef bool (*AnboxAudioProcessorNeedSilenceOnStandbyFunc)(const AnboxAudioProcessor* audio_processor);
264 
272 typedef int (*AnboxInputProcessorReadEventFunc)(const AnboxInputProcessor* input_processor,
273  AnboxInputEvent* event,
274  int timeout);
275 
283 typedef int (*AnboxInputProcessorInjectEventFunc)(const AnboxInputProcessor* input_processor,
284  AnboxInputEvent event);
285 
292 typedef int (*AnboxGraphicsProcessorInitializeFunc)(const AnboxGraphicsProcessor* graphics_processor,
293  AnboxGraphicsConfiguration* configuration);
294 
301 typedef EGLDisplay (*AnboxGraphicsProcessorCreateDisplayFunc)(const AnboxGraphicsProcessor* graphics_processor);
302 
310 typedef void (*AnboxGraphicsProcessorBeginFrameFunc)(const AnboxGraphicsProcessor* graphics_processor);
311 
319 typedef void (*AnboxGraphicsProcessorFinishFrameFunc)(const AnboxGraphicsProcessor* graphics_processor);
320 
328 typedef EGLSurface (*AnboxGraphicsProcessorCreateOffscreenSurfaceFunc)(const AnboxGraphicsProcessor* graphics_processor,
329  EGLDisplay display,
330  EGLConfig config,
331  const EGLint* attribs);
332 
341  EGLDisplay display,
342  EGLSurface surface);
343 
350 typedef bool (*AnboxGraphicsProcessorPresentFunc)(const AnboxGraphicsProcessor* graphics_processor,
351  AnboxGraphicsBuffer* buffer,
352  AnboxCallback* callback);
353 
360 typedef bool (*AnboxGraphicsProcessorPresent2Func)(const AnboxGraphicsProcessor* graphics_processor,
361  AnboxGraphicsBuffer2* buffer,
362  AnboxCallback* callback);
363 
370 typedef bool (*AnboxGraphicsProcessorPresent3Func)(const AnboxGraphicsProcessor* graphics_processor,
371  AnboxGraphicsBuffer2* buffer,
372  AnboxCallback* callback,
373  uint32_t display_id);
374 
375 /*
376  * @brief Create a new graphics buffer
377  *
378  * The function prototype for C API function which stands for
379  * the C++ method of anbox::GraphicsProcessor::create_buffer
380  */
381 typedef bool (*AnboxGraphicsProcessorCreateBufferFunc)(const AnboxGraphicsProcessor* graphics_processor,
382  uint32_t width, uint32_t height, uint32_t format,
383  uint32_t usage, AnboxGraphicsBuffer2** buffer);
384 
385 
386 /*
387  * @brief Set the vsync callback
388  *
389  * The function prototype for C API function which stands for
390  * the C++ method of anbox::GraphicsProcessor::set_vsync_callback
391  */
393  const AnboxGraphicsProcessor* graphics_processor,
394  const AnboxVsyncCallback& callback, void* user_data);
395 
404 
412 typedef int (*AnboxSensorProcessorActivateSensorFunc)(const AnboxSensorProcessor* sensor_processor,
413  const AnboxSensorType type,
414  bool on);
415 
416 
424 typedef int (*AnboxSensorProcessorReadDataFunc)(const AnboxSensorProcessor* sensor_processor,
425  AnboxSensorData* data,
426  int timeout);
427 
435 typedef int (*AnboxSensorProcessorInjectDataFunc)(const AnboxSensorProcessor* sensor_processor,
436  AnboxSensorData data);
437 
446  const AnboxChangeScreenOrientationCallback& callback,
447  void* user_data);
448 
457  const AnboxChangeDisplayDensityCallback& callback,
458  void* user_data);
459 
467 typedef int (*AnboxProxySetChangeDisplaySizeCallbackFunc)(const AnboxProxy* anbox_proxy,
468  const AnboxChangeDisplaySizeCallback& callback,
469  void* user_data);
470 
478 typedef int (*AnboxProxySendMessageFunc)(const AnboxProxy* anbox_proxy,
479  const char* type,
480  size_t type_size,
481  const char* data,
482  size_t data_size);
483 
492  const AnboxTriggerActionCallback& callback,
493  void* user_data);
494 
503  const AnboxCreateADBConnectionCallback& callback,
504  void* user_data);
505 
514  const AnboxDisconnectADBConnectionCallback& callback,
515  void* user_data);
516 
524 typedef int (*AnboxGpsProcessorStartFunc)(const AnboxGpsProcessor* gps_processor);
525 
533 typedef int (*AnboxGpsProcessorStopFunc)(const AnboxGpsProcessor* gps_processor);
534 
542 typedef int (*AnboxGpsProcessorReadDataFunc)(const AnboxGpsProcessor* gps_processor,
543  AnboxGpsData* data,
544  int timeout);
545 
553 typedef int (*AnboxGpsProcessorInjectDataFunc)(const AnboxGpsProcessor* gps_processor,
554  AnboxGpsData data);
555 
563 typedef int (*AnboxCameraProcessorGetDeviceSpecsFunc)(const AnboxCameraProcessor* camera_processor,
564  AnboxCameraSpec** specs,
565  size_t *length);
566 
574 typedef int (*AnboxCameraProcessorOpenDeviceFunc)(const AnboxCameraProcessor* camera_processor,
575  AnboxCameraSpec spec,
576  AnboxCameraOrientation orientation);
577 
585 typedef int (*AnboxCameraProcessorCloseDeviceFunc)(const AnboxCameraProcessor* camera_processor);
586 
587 
595 typedef int (*AnboxCameraProcessorReadFrameFunc)(const AnboxCameraProcessor* camera_processor,
596  AnboxVideoFrame* frame,
597  int timeout);
598 
606 typedef int (*AnboxCameraProcessorInjectFrameFunc)(const AnboxCameraProcessor* camera_processor,
607  AnboxVideoFrame frame);
608 
609 /*
610  * @brief Release the video decoder instance
611  **/
613 
614 /*
615  * @brief Configure the video decoder with the given spec
616  *
617  * The function prototype for C API function which stands for
618  * the C++ method of anbox::VideoDecoder::configure
619  *
620  **/
622 
623 /*
624  * @brief Flush any pending work the video decoder may have
625  *
626  * The function prototype for C API function which stands for
627  * the C++ method of anbox::VideoDecoder::flush
628  *
629  **/
630 typedef int (*AnboxVideoDecoderFlushFunc)(const AnboxVideoDecoder* decoder);
631 
632 /*
633  * @brief Submit the given frame to the video decoder
634  *
635  * The function prototype for C API function which stands for
636  * the C++ method of anbox::VideoDecoder::decode_frame
637  *
638  **/
639 typedef uint64_t (*AnboxVideoDecoderDecodeFrameFunc)(const AnboxVideoDecoder* decoder, const AnboxVideoFrame* frame, uint64_t pts);
640 
641 /*
642  * @brief Retrieve a decoded image from the decoder
643  *
644  * The function prototype for C API function which stands for
645  * the C++ method of anbox::VideoDecoder::retrieve_image
646  *
647  **/
649 
657 typedef AnboxVhalConnector* (*AnboxPlatformGetVhalConnectorFunc)(const AnboxPlatform* platform);
658 
667  const AnboxVhalConnectorCallbacks* callbacks,
668  void* user_data);
669 
670 #endif
int(* AnboxCreateADBConnectionCallback)(const char *id, void *user_data)
AnboxCreateADBConnectionCallback is invoked when creating ADB connection.
Definition: anbox_proxy.h:57
int(* AnboxDisconnectADBConnectionCallback)(const char *id, void *user_data)
AnboxDisconnectADBConnectionCallback is invoked when disconnecting ADB connection.
Definition: anbox_proxy.h:63
int(* AnboxChangeDisplaySizeCallback)(uint32_t width, uint32_t height, void *user_data)
AnboxChangeDisplaySizeCallback is invoked when changing the display size.
Definition: anbox_proxy.h:44
int(* AnboxTriggerActionCallback)(const char *name, const char **args, size_t args_len, void *user_data)
AnboxTriggerActionCallback is invoked when an action is triggered within the Android system.
Definition: anbox_proxy.h:51
int(* AnboxChangeScreenOrientationCallback)(AnboxScreenOrientationType orientation_type, void *user_data)
AnboxChangeScreenOrientationCallback is invoked when changing the screen orientation.
Definition: anbox_proxy.h:32
int(* AnboxChangeDisplayDensityCallback)(uint32_t density, void *user_data)
AnboxChangeDisplayDensityCallback is invoked when changing the display density.
Definition: anbox_proxy.h:38
void(* AnboxVsyncCallback)(uint64_t time_ns, void *user_data)
AnboxVsyncCallback is invoked to signal a new vsync is about to start.
int(* AnboxVideoDecoderRetrieveImageFunc)(const AnboxVideoDecoder *decoder, AnboxVideoImage *img)
Definition: public_api.h:648
int(* AnboxSensorProcessorActivateSensorFunc)(const AnboxSensorProcessor *sensor_processor, const AnboxSensorType type, bool on)
Activate or deactivate a specific sensor.
Definition: public_api.h:412
int(* AnboxGraphicsProcessorInitializeFunc)(const AnboxGraphicsProcessor *graphics_processor, AnboxGraphicsConfiguration *configuration)
Initialize the graphics processor.
Definition: public_api.h:292
int(* AnboxCameraProcessorInjectFrameFunc)(const AnboxCameraProcessor *camera_processor, AnboxVideoFrame frame)
Inject a video frame into AnboxPlatform.
Definition: public_api.h:606
bool(* AnboxAudioProcessorNeedSilenceOnStandbyFunc)(const AnboxAudioProcessor *audio_processor)
Produce a silent audio stream on need while the audio output stream goes into the standby state.
Definition: public_api.h:263
int(* AnboxSensorProcessorInjectDataFunc)(const AnboxSensorProcessor *sensor_processor, AnboxSensorData data)
Inject a sensor data into AnboxPlatform.
Definition: public_api.h:435
ssize_t(* AnboxAudioProcessorWriteDataFunc)(const AnboxAudioProcessor *audio_processor, const uint8_t *data, size_t size)
Write a chunk of audio data.
Definition: public_api.h:221
bool(* AnboxPlatformReadyFunc)(const AnboxPlatform *platform)
Query the platform for its ready status.
Definition: public_api.h:130
int(* AnboxProxySetChangeDisplayDensityCallbackFunc)(const AnboxProxy *anbox_proxy, const AnboxChangeDisplayDensityCallback &callback, void *user_data)
Set the change display density callback function.
Definition: public_api.h:456
int(* AnboxAudioProcessorStandbyFunc)(const AnboxAudioProcessor *audio_processor, AnboxAudioStreamType type)
Notify the platform when an audio stream is in standby mode.
Definition: public_api.h:243
int(* AnboxGpsProcessorStartFunc)(const AnboxGpsProcessor *gps_processor)
Request Gps processor to start forwarding the GPS data to Android container.
Definition: public_api.h:524
int(* AnboxPlatformStopFunc)(const AnboxPlatform *platform)
Ask the platform to stop any pending work it has to prepare for Anbox to terminate.
Definition: public_api.h:192
bool(* AnboxGraphicsProcessorCreateBufferFunc)(const AnboxGraphicsProcessor *graphics_processor, uint32_t width, uint32_t height, uint32_t format, uint32_t usage, AnboxGraphicsBuffer2 **buffer)
Definition: public_api.h:381
int(* AnboxProxySendMessageFunc)(const AnboxProxy *anbox_proxy, const char *type, size_t type_size, const char *data, size_t data_size)
Send a message from Anbox to the platform.
Definition: public_api.h:478
ssize_t(* AnboxAudioProcessorReadDataFunc)(const AnboxAudioProcessor *audio_processor, uint8_t *data, size_t size)
Read a chunk of audio data.
Definition: public_api.h:232
int(* AnboxPlatformWaitUntilReadyFunc)(const AnboxPlatform *platform)
Wait for platform plugin to be initialized.
Definition: public_api.h:139
int(* AnboxVideoDecoderFlushFunc)(const AnboxVideoDecoder *decoder)
Definition: public_api.h:630
int(* AnboxVideoDecoderReleaseFunc)(AnboxVideoDecoder *decoder)
Definition: public_api.h:612
int(* AnboxPlatformGetConfigItemFunc)(const AnboxPlatform *platform, AnboxPlatformConfigurationKey key, void *data, size_t data_size)
Retrieve the configuration options provided by platform plugin.
Definition: public_api.h:148
EGLDisplay(* AnboxGraphicsProcessorCreateDisplayFunc)(const AnboxGraphicsProcessor *graphics_processor)
Create an EGL display.
Definition: public_api.h:301
uint64_t(* AnboxVideoDecoderDecodeFrameFunc)(const AnboxVideoDecoder *decoder, const AnboxVideoFrame *frame, uint64_t pts)
Definition: public_api.h:639
int(* AnboxProxySetCreateAdbConnectionCallbackFunc)(const AnboxProxy *proxy, const AnboxCreateADBConnectionCallback &callback, void *user_data)
Allows the platform to create ADB connection.
Definition: public_api.h:502
int(* AnboxPlatformSetConfigItemsFunc)(const AnboxPlatform *platform, const AnboxPlatformConfigurationItem *items, size_t count)
Set multiple configuration items to the platform in a single transaction.
Definition: public_api.h:170
int(* AnboxCameraProcessorCloseDeviceFunc)(const AnboxCameraProcessor *camera_processor)
Close a camera device.
Definition: public_api.h:585
bool(* AnboxGraphicsProcessorPresent2Func)(const AnboxGraphicsProcessor *graphics_processor, AnboxGraphicsBuffer2 *buffer, AnboxCallback *callback)
Present the given buffer to a display or other output.
Definition: public_api.h:360
size_t(* AnboxAudioProcessorProcessDataFunc)(const AnboxAudioProcessor *audio_processor, const uint8_t *data, size_t size)
Process a chunk of audio data.
Definition: public_api.h:210
void(* AnboxPlatformSetupEventTracerFunc)(const AnboxPlatform *platform, AnboxTracerGetCategoryEnabledFunc get_category_enabled_func, AnboxTracerAddEventFunc add_event_func)
Register an external event tracing implementation with the platform.
Definition: public_api.h:181
int(* AnboxProxySetChangeScreenOrientationCallbackFunc)(const AnboxProxy *anbox_proxy, const AnboxChangeScreenOrientationCallback &callback, void *user_data)
Set the change screen orientation callback function.
Definition: public_api.h:445
int(* AnboxGpsProcessorStopFunc)(const AnboxGpsProcessor *gps_processor)
Request Gps processor to stop forwarding the GPS data to Android container.
Definition: public_api.h:533
bool(* AnboxGraphicsProcessorSetVsyncCallbackFunc)(const AnboxGraphicsProcessor *graphics_processor, const AnboxVsyncCallback &callback, void *user_data)
Definition: public_api.h:392
int(* AnboxCameraProcessorReadFrameFunc)(const AnboxCameraProcessor *camera_processor, AnboxVideoFrame *frame, int timeout)
Read next available video frame.
Definition: public_api.h:595
int(* AnboxSensorProcessorReadDataFunc)(const AnboxSensorProcessor *sensor_processor, AnboxSensorData *data, int timeout)
Read next available sensor data.
Definition: public_api.h:424
int(* AnboxCameraProcessorGetDeviceSpecsFunc)(const AnboxCameraProcessor *camera_processor, AnboxCameraSpec **specs, size_t *length)
Open a camera device.
Definition: public_api.h:563
int(* AnboxCameraProcessorOpenDeviceFunc)(const AnboxCameraProcessor *camera_processor, AnboxCameraSpec spec, AnboxCameraOrientation orientation)
Open a camera device.
Definition: public_api.h:574
int(* AnboxVideoDecoderConfigureFunc)(const AnboxVideoDecoder *decoder, AnboxVideoDecoderConfig config)
Definition: public_api.h:621
int(* AnboxProxySetTriggerActionCallbackFunc)(const AnboxProxy *proxy, const AnboxTriggerActionCallback &callback, void *user_data)
Allows the platform to trigger an action within the Android system.
Definition: public_api.h:491
bool(* AnboxGraphicsProcessorPresent3Func)(const AnboxGraphicsProcessor *graphics_processor, AnboxGraphicsBuffer2 *buffer, AnboxCallback *callback, uint32_t display_id)
Present the given buffer to one specific display or other output.
Definition: public_api.h:370
int(* AnboxInputProcessorInjectEventFunc)(const AnboxInputProcessor *input_processor, AnboxInputEvent event)
Inject an input event into AnboxPlatform.
Definition: public_api.h:283
int(* AnboxAudioProcessorActivateFunc)(const AnboxAudioProcessor *audio_processor, AnboxAudioStreamType type)
Notify the platform when an audio stream is in activation mode.
Definition: public_api.h:253
void(* AnboxPlatformHandleEventFunc)(const AnboxPlatform *platform, AnboxEventType type)
Handle an event fired from Anbox by a platform.
Definition: public_api.h:201
int(* AnboxGpsProcessorInjectDataFunc)(const AnboxGpsProcessor *gps_processor, AnboxGpsData data)
Inject a gps data into AnboxPlatform.
Definition: public_api.h:553
int(* AnboxProxySetDisconnectAdbConnectionCallbackFunc)(const AnboxProxy *proxy, const AnboxDisconnectADBConnectionCallback &callback, void *user_data)
Allows the platform to disconnect ADB connection.
Definition: public_api.h:513
int(* AnboxGpsProcessorReadDataFunc)(const AnboxGpsProcessor *gps_processor, AnboxGpsData *data, int timeout)
Read next available gps data.
Definition: public_api.h:542
AnboxSensorType(* AnboxSensorProcessorSupportedSensorsFunc)(const AnboxSensorProcessor *sensor_processor)
Sensors supported by the platform.
Definition: public_api.h:403
void(* AnboxGraphicsProcessorBeginFrameFunc)(const AnboxGraphicsProcessor *graphics_processor)
Begin a new frame.
Definition: public_api.h:310
int(* AnboxVhalConnectorSetCallbacksFunc)(const AnboxVhalConnector *connector, const AnboxVhalConnectorCallbacks *callbacks, void *user_data)
Allows the platform to call Android VHAL functions through Anbox.
Definition: public_api.h:666
EGLSurface(* AnboxGraphicsProcessorCreateOffscreenSurfaceFunc)(const AnboxGraphicsProcessor *graphics_processor, EGLDisplay display, EGLConfig config, const EGLint *attribs)
Create an offscreen EGL surface.
Definition: public_api.h:328
int(* AnboxProxySetChangeDisplaySizeCallbackFunc)(const AnboxProxy *anbox_proxy, const AnboxChangeDisplaySizeCallback &callback, void *user_data)
Set the change display size callback function.
Definition: public_api.h:467
int(* AnboxInputProcessorReadEventFunc)(const AnboxInputProcessor *input_processor, AnboxInputEvent *event, int timeout)
Read next available input event.
Definition: public_api.h:272
void(* AnboxReleasePlatformFunc)(AnboxPlatform *platform)
Release a platform instance.
Definition: public_api.h:42
void(* AnboxGraphicsProcessorFinishFrameFunc)(const AnboxGraphicsProcessor *graphics_processor)
Finish the currently rendered frame.
Definition: public_api.h:319
bool(* AnboxGraphicsProcessorPresentFunc)(const AnboxGraphicsProcessor *graphics_processor, AnboxGraphicsBuffer *buffer, AnboxCallback *callback)
Present the given buffer to a display or other output.
Definition: public_api.h:350
bool(* AnboxGraphicsProcessorDestroyOffscreenSurfaceFunc)(const AnboxGraphicsProcessor *graphics_processor, EGLDisplay display, EGLSurface surface)
Destroy an offscreen EGL surface.
Definition: public_api.h:340
int(* AnboxPlatformSetConfigItemFunc)(const AnboxPlatform *platform, AnboxPlatformConfigurationKey key, void *data, size_t data_size)
Set the configuration options by Anbox to the platform.
Definition: public_api.h:159
Generic callback wrapper.
Definition: types.h:334
AnboxCameraSpec represents the camera specification.
Definition: types.h:786
Graphics buffer.
Definition: types.h:312
Graphics buffer.
Definition: types.h:273
AnboxDisplaySpec describes properties of the Anbox rendering pipeline the platform plugin can influen...
Definition: types.h:1293
AnboxInputEvent is similar to the input_event that is defined in the Linux kernel API....
Definition: types.h:1352
Represents a single configuration item.
Definition: types.h:674
AnboxPlatformConfiguration holds platform configuration options which Anbox supplies to the platform ...
Definition: types.h:699
AnboxSensorData represents the sensor data stucture,.
Definition: types.h:1426
AnboxVhalConnectorCallbacks is the structure holding all VHAL-related callbacks.
AnboxVideoDecoderConfig describes the configuration of a video decoder.
Definition: types.h:1671
AnboxVideoFrame represents a single complete video frame.
Definition: types.h:802
AnboxVideoImage describes a decoded image returned by the video decoder.
Definition: types.h:1683
AnboxPlatformConfigurationKey
AnboxPlatformConfigurationKey specifies configuration items which allow to influence the behavior and...
Definition: types.h:482
AnboxVideoCodecType
AnboxVideoCodecType describes the type of a video codec.
Definition: types.h:1653
const unsigned char *(* AnboxTracerGetCategoryEnabledFunc)(const char *name)
Method prototype which will be used to determine if the given tracing category is enabled for tracing...
Definition: types.h:1710
AnboxCameraOrientation
describes the orientations that Anbox supports in the camea processor
Definition: types.h:766
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...
Definition: types.h:1750
AnboxAudioStreamType
AnboxAudioStreamType describes the audio stream type.
Definition: types.h:174
AnboxSensorType
AnboxSensorType describes all sensor types supported by Anbox.
Definition: types.h:1373
AnboxEventType
AnboxEventType describes the type of event sent from Anbox.
Definition: types.h:728