Kodi Development  19.0
for Binary and Script based Add-Ons
pvr_edl.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #ifndef C_API_ADDONINSTANCE_PVR_EDL_H
12 #define C_API_ADDONINSTANCE_PVR_EDL_H
13 
14 #include "pvr_defines.h"
15 
16 #include <stdint.h>
17 
18 //¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
19 // "C" Definitions group 8 - PVR Edit definition list (EDL)
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif /* __cplusplus */
24 
25  //============================================================================
32  typedef enum PVR_EDL_TYPE
33  {
36 
39 
42 
47  //----------------------------------------------------------------------------
48 
56  typedef struct PVR_EDL_ENTRY
57  {
58  int64_t start;
59  int64_t end;
60  enum PVR_EDL_TYPE type;
61  } PVR_EDL_ENTRY;
62 
63 #ifdef __cplusplus
64 }
65 #endif /* __cplusplus */
66 
67 #endif /* !C_API_ADDONINSTANCE_PVR_EDL_H */
PVR_EDL_TYPE_COMBREAK
@ PVR_EDL_TYPE_COMBREAK
3 : commercial breaks
Definition: pvr_edl.h:44
PVR_EDL_TYPE_SCENE
@ PVR_EDL_TYPE_SCENE
2 : scene markers (chapter seeking)
Definition: pvr_edl.h:41
PVR_EDL_TYPE
PVR_EDL_TYPE
Definition: pvr_edl.h:33
PVR_EDL_TYPE_CUT
@ PVR_EDL_TYPE_CUT
0 : cut (completely remove content)
Definition: pvr_edl.h:35
PVR_EDL_TYPE_MUTE
@ PVR_EDL_TYPE_MUTE
1 : mute audio
Definition: pvr_edl.h:38
PVR_EDL_ENTRY
"C" Edit definition list entry.
Definition: pvr_edl.h:57