CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
private_avm.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------------------------
2// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
4// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
5// -------------------------------------------------------------------------------------------
6
14#ifndef CDI_PRIVATE_AVM_H__
15#define CDI_PRIVATE_AVM_H__
16
17#include <stdbool.h>
18
19// The configuration.h file must be included first since it can have defines which affect subsequent files.
20#include "configuration.h"
21
22#include "cdi_avm_api.h"
23
24//*********************************************************************************************************************
25//***************************************** START OF DEFINITIONS AND TYPES ********************************************
26//*********************************************************************************************************************
27
28// --------------------------------------------------------------------
29// All structures in the block below are byte packed (no byte padding).
30// --------------------------------------------------------------------
31#pragma pack(push, 1)
32
40
48
57
72
73#pragma pack(pop)
74// --------------------------------------------------------------------
75// End of byte packed structures (no byte padding).
76// --------------------------------------------------------------------
77
79#define MAX_CDI_PACKET_EXTRA_DATA (sizeof(CDIPacketAvmUnion))
80
81//*********************************************************************************************************************
82//******************************************* START OF PUBLIC FUNCTIONS ***********************************************
83//*********************************************************************************************************************
84
85#endif // CDI_PRIVATE_AVM_H__
86
This file declares the public API data types, structures and functions that comprise the CDI audio,...
This header file contains definitions used to define the build configuration of the CDI SDK's impleme...
This defines a structure that contains the CDI packet #0 header that is common to all AVM payload typ...
Definition private_avm.h:37
CdiAvmExtraData avm_extra_data
Extra data that is sent along with the AVM payload to the receiver.
Definition private_avm.h:38
This defines a structure that contains the CDI packet #0 header for a AVM video payload that does not...
Definition private_avm.h:45
CDIPacketAvmCommonHeader header
Header that is common to all AVM packets that contain a CDI header.
Definition private_avm.h:46
Union of AVM payload cdi headers. Use to reserve memory that can be used to hold any type of CDI pack...
Definition private_avm.h:62
CDIPacketAvmCommonHeader common_header
Header that is common to all AVM packets that contain a CDI header.
Definition private_avm.h:65
CDIPacketAvmNoConfig no_config
Header for video payload that does not contain any configuration data.
Definition private_avm.h:67
CDIPacketAvmWithConfig with_config
Header for video payload that contains configuration data.
Definition private_avm.h:69
This defines a structure that contains the CDI packet #0 header for a AVM video payload that contains...
Definition private_avm.h:53
CdiAvmConfig config
Defines the format of the payload.
Definition private_avm.h:55
CDIPacketAvmCommonHeader header
Header that is common to all AVM packets that contain a CDI header.
Definition private_avm.h:54
This is the generic AVM configuration structure which describes the format of each stream.
Definition cdi_avm_api.h:113
Extra data that is sent along with the AVM payload to the receiver. It will be provided to the receiv...
Definition cdi_avm_api.h:138