ATSC3  24.10.0
atsc_plf_mp_control_template.h
Go to the documentation of this file.
1  /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2013 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
18 
23 #include "atsc_basetype.h"
24 
31 void* STB_MPInit(uint8_t *source_url);
32 
39 int32_t STB_MPStart(void *handle, int32_t *params);
46 int32_t STB_MPPause(void *handle);
47 
54 int32_t STB_MPResume(void *handle);
55 
62 int32_t STB_MPResize(void *handle, int32_t x,int32_t y,int32_t w,int32_t h);
69 int32_t STB_MPStop(void *handle);
70 
77 void STB_MPExit(void *handle);
78 
85 int32_t STB_MPGetTimes(void *handle, uint32_t *begin, uint32_t *current, uint32_t *end);
86 
93 void STB_MPRegisterCallback(void *handle, int32_t callback);
94 
101 int32_t STB_MPSeek(void *handle, uint32_t position);
102 
109 int32_t STB_MPObtainComponentList(void *handle, int32_t type,uint32_t *num_ptr, int32_t **list_ptr);
110 
117 void STB_MPReleaseComponentList(void *handle, int32_t *list_ptr);
124 int32_t STB_MPSelectComponent(void *handle, int32_t *component);
125 
132 int32_t STB_MPUnselectComponent(void *handle, int32_t *component);
133 
140 int32_t STB_MPGetError(void *handle);