My Project
mmal_parameters.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2012, Broadcom Europe Ltd
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7  * Redistributions of source code must retain the above copyright
8  notice, this list of conditions and the following disclaimer.
9  * Redistributions in binary form must reproduce the above copyright
10  notice, this list of conditions and the following disclaimer in the
11  documentation and/or other materials provided with the distribution.
12  * Neither the name of the copyright holder nor the
13  names of its contributors may be used to endorse or promote products
14  derived from this software without specific prior written permission.
15 
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
20 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27 
28 #ifndef MMAL_PARAMETERS_H
29 #define MMAL_PARAMETERS_H
30 
31 #include "mmal_common.h"
32 #include "mmal_parameters_camera.h"
33 #include "mmal_parameters_video.h"
34 #include "mmal_parameters_audio.h"
35 #include "mmal_parameters_clock.h"
36 
40 /* @{ */
41 
44 {
46 
47  uint64_t value;
49 
51 typedef struct MMAL_PARAMETER_INT64_T
52 {
54 
55  int64_t value;
57 
60 {
62 
63  uint32_t value;
65 
67 typedef struct MMAL_PARAMETER_INT32_T
68 {
70 
71  int32_t value;
73 
75 typedef struct MMAL_PARAMETER_RATIONAL_T {
77 
80 
83 {
85 
88 
91 {
93 
94  char str[1];
96 
98 typedef struct MMAL_PARAMETER_BYTES_T
99 {
101 
102  uint8_t data[1];
104 
106 #define MMAL_FIXED_16_16_ONE (1 << 16)
107 
110 {
112 
116 
119 {
125 
128 {
130 
133 
138 typedef struct MMAL_PARAMETER_URI_T
139 {
141 
142  char uri[1];
144 
150 {
152 
153  uint32_t encoding[1];
155 
164 
167 
175 
176  uint32_t file_size;
178 
186 
187  uint32_t size;
188  uint32_t offset;
189  char data[1];
191 
192 /* @} */
193 
194 #endif /* MMAL_PARAMETERS_H */
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAM_MIRROR_T value
MMAL_PARAMETER_HEADER_T hdr
struct MMAL_PARAMETER_MIRROR_T MMAL_PARAMETER_MIRROR_T
struct MMAL_PARAMETER_UINT64_T MMAL_PARAMETER_UINT64_T
uint32_t MMAL_FIXED_16_16_T
Definition: mmal_common.h:81
struct MMAL_PARAMETER_INT64_T MMAL_PARAMETER_INT64_T
struct MMAL_PARAMETER_INT32_T MMAL_PARAMETER_INT32_T
MMAL_PARAMETER_HEADER_T hdr
struct MMAL_PARAMETER_CONFIGFILE_T MMAL_PARAMETER_CONFIGFILE_T
MMAL_PARAMETER_HEADER_T hdr
struct MMAL_PARAMETER_SCALEFACTOR_T MMAL_PARAMETER_SCALEFACTOR_T
struct MMAL_PARAMETER_RATIONAL_T MMAL_PARAMETER_RATIONAL_T
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAM_MIRROR_T
struct MMAL_PARAMETER_UINT32_T MMAL_PARAMETER_UINT32_T
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAMETER_HEADER_T hdr
struct MMAL_PARAMETER_BYTES_T MMAL_PARAMETER_BYTES_T
MMAL_PARAMETER_HEADER_T hdr
struct MMAL_PARAMETER_STRING_T MMAL_PARAMETER_STRING_T
struct MMAL_PARAMETER_URI_T MMAL_PARAMETER_URI_T
int32_t MMAL_BOOL_T
Definition: mmal_common.h:60
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAMETER_HEADER_T hdr
MMAL_PARAMETER_HEADER_T hdr
struct MMAL_PARAMETER_ENCODING_T MMAL_PARAMETER_ENCODING_T
struct MMAL_PARAMETER_BOOLEAN_T MMAL_PARAMETER_BOOLEAN_T
struct MMAL_PARAMETER_CONFIGFILE_CHUNK_T MMAL_PARAMETER_CONFIGFILE_CHUNK_T
struct MMAL_PARAMETER_FRAME_RATE_T MMAL_PARAMETER_FRAME_RATE_T