Music Hub
..
A session-wide music playback service
socket_types.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2017 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License version 3,
6
* as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Alfonso Sanchez-Beato <alfonso.sanchez-beato@canonical.com>
17
*/
18
#ifndef CORE_UBUNTU_MEDIA_VIDEO_SOCKET_TYPES_H_
19
#define CORE_UBUNTU_MEDIA_VIDEO_SOCKET_TYPES_H_
20
21
namespace
core
22
{
23
namespace
ubuntu
24
{
25
namespace
media
26
{
27
namespace
video
28
{
29
30
struct
BufferMetadata
31
{
32
int
width
;
33
int
height
;
34
int
fourcc
;
35
int
stride
;
36
int
offset
;
37
};
38
39
struct
BufferData
40
{
41
int
fd
;
42
BufferMetadata
meta
;
43
};
44
45
}
46
}
47
}
48
}
49
50
#endif // CORE_UBUNTU_MEDIA_VIDEO_SOCKET_TYPES_H_
core::ubuntu::media::video
Definition:
dimensions.h:31
core::ubuntu::media::video::BufferData::fd
int fd
Definition:
socket_types.h:41
core::ubuntu::media::video::BufferMetadata::stride
int stride
Definition:
socket_types.h:35
core
Definition:
player.h:33
core::ubuntu::media::video::BufferMetadata
Definition:
socket_types.h:30
core::ubuntu::media::video::BufferMetadata::fourcc
int fourcc
Definition:
socket_types.h:34
core::ubuntu::media::video::BufferMetadata::width
int width
Definition:
socket_types.h:32
core::ubuntu::media::video::BufferData::meta
BufferMetadata meta
Definition:
socket_types.h:42
core::ubuntu::media::video::BufferData
Definition:
socket_types.h:39
core::ubuntu::media
Definition:
player.h:37
core::ubuntu::media::video::BufferMetadata::height
int height
Definition:
socket_types.h:33
core::ubuntu::media::video::BufferMetadata::offset
int offset
Definition:
socket_types.h:36
src
core
media
video
socket_types.h
Generated on Thu Oct 26 2017 17:20:08 for Music Hub by
1.8.13