MediaX
v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
datatypes.h
Go to the documentation of this file.
1
// Copyright (C) 2024 Kent Modular Solutions - All Rights Reserved
2
// You may use, distribute and modify this code under the
3
// terms of the commercial license.
4
//
5
// You should have received a copy of the commercial license with
6
// this file. If not, please write to sales@kme.co.uk, or
7
// visit https://www.kme.co.uk
8
//
10
11
#ifndef KME_DATATYPES_H_
12
#define KME_DATATYPES_H_
13
14
#include <stdint.h>
15
16
#include <string>
17
18
namespace
mediax
{
19
21
enum class
Status
{ kSuccess = 0, kFailure = 1, kError = 2, kTimeout = 3 };
23
const
uint16_t
kDefaultHeight
= 480;
25
const
uint16_t
kDefaultWidth
= 640;
27
const
uint16_t
kDefaultFramerate
= 25;
29
const
char
kDefaultFont
[] =
"Courier"
;
31
const
uint16_t
kDefaultFontSize
= 24;
32
34
struct
Resolution
{
36
int
width
;
38
int
height
;
40
int
bits_per_pixel
;
41
};
42
43
}
// namespace mediax
44
45
#endif
// KME_DATATYPES_H_
mediax
The Astute Systems (MediaX) library for video streaming.
Definition
rtp_av1_depayloader.cc:34
mediax::kDefaultHeight
const uint16_t kDefaultHeight
The default width of the display.
Definition
datatypes.h:23
mediax::kDefaultWidth
const uint16_t kDefaultWidth
The default height of the display.
Definition
datatypes.h:25
mediax::Status
Status
Enum of status.
Definition
datatypes.h:21
mediax::kDefaultFontSize
const uint16_t kDefaultFontSize
Default font size.
Definition
datatypes.h:31
mediax::kDefaultFramerate
const uint16_t kDefaultFramerate
The default framerate.
Definition
datatypes.h:27
mediax::kDefaultFont
const char kDefaultFont[]
Default font.
Definition
datatypes.h:29
mediax::Resolution
The video resolution structure.
Definition
datatypes.h:34
mediax::Resolution::bits_per_pixel
int bits_per_pixel
The bits per pixel.
Definition
datatypes.h:40
mediax::Resolution::height
int height
The height in pixels.
Definition
datatypes.h:38
mediax::Resolution::width
int width
The width in pixels.
Definition
datatypes.h:36
example
common
datatypes.h
Generated by
1.9.8