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
18namespace mediax {
19
21enum class Status { kSuccess = 0, kFailure = 1, kError = 2, kTimeout = 3 };
23const uint16_t kDefaultHeight = 480;
25const uint16_t kDefaultWidth = 640;
27const uint16_t kDefaultFramerate = 25;
29const char kDefaultFont[] = "Courier";
31const uint16_t kDefaultFontSize = 24;
32
34struct Resolution {
36 int width;
38 int height;
41};
42
43} // namespace mediax
44
45#endif // KME_DATATYPES_H_
The Astute Systems (MediaX) library for video streaming.
Definition rtp_av1_depayloader.cc:34
const uint16_t kDefaultHeight
The default width of the display.
Definition datatypes.h:23
const uint16_t kDefaultWidth
The default height of the display.
Definition datatypes.h:25
Status
Enum of status.
Definition datatypes.h:21
const uint16_t kDefaultFontSize
Default font size.
Definition datatypes.h:31
const uint16_t kDefaultFramerate
The default framerate.
Definition datatypes.h:27
const char kDefaultFont[]
Default font.
Definition datatypes.h:29
The video resolution structure.
Definition datatypes.h:34
int bits_per_pixel
The bits per pixel.
Definition datatypes.h:40
int height
The height in pixels.
Definition datatypes.h:38
int width
The width in pixels.
Definition datatypes.h:36