Package version up to 3.0.6
[platform/adaptation/nexell/libtdm-nexell.git] / src / libtdm-nexell / tdm_nexell_pp.h
1 /**************************************************************************
2
3 libtdm_nexell
4
5 Copyright 2017 Samsung Electronics co., Ltd. All Rights Reserved.
6
7 Contact: SooChan Lim <sc1.lim@samsung.com>
8
9 Permission is hereby granted, free of charge, to any person obtaining a
10 copy of this software and associated documentation files (the
11 "Software"), to deal in the Software without restriction, including
12 without limitation the rights to use, copy, modify, merge, publish,
13 distribute, sub license, and/or sell copies of the Software, and to
14 permit persons to whom the Software is furnished to do so, subject to
15 the following conditions:
16
17 The above copyright notice and this permission notice (including the
18 next paragraph) shall be included in all copies or substantial portions
19 of the Software.
20
21 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
24 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
25 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
26 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
27 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
29 **************************************************************************/
30
31 #ifndef _TDM_NEXELL_PP_H_
32 #define _TDM_NEXELL_PP_H_
33
34 #include "tdm_nexell.h"
35
36 tdm_error    tdm_nexell_pp_get_capability(tdm_nexell_data *nexell_data, tdm_caps_pp *caps);
37 tdm_pp*      tdm_nexell_pp_create(tdm_nexell_data *nexell_data, tdm_error *error);
38 void         tdm_nexell_pp_handler(unsigned int prop_id, unsigned int *buf_idx,
39                                    unsigned int tv_sec, unsigned int tv_usec, void *data);
40 void         tdm_nexell_pp_cb(int fd, unsigned int prop_id, unsigned int *buf_idx,
41                               unsigned int tv_sec, unsigned int tv_usec,
42                               void *user_data);
43 #endif /* _TDM_NEXELL_PP_H_ */