GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / avmedia / source / vlc / wrapper / Types.hxx
blob06a0674c06da1b596b1ed5d2ce2f7a4eebab2242
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /* Typedefs and structures that represent the libvlc API / ABI */
5 #ifndef _WRAPPER_TYPES_HXX
6 #define _WRAPPER_TYPES_HXX
8 #if defined WNT
9 typedef __int64 libvlc_time_t;
10 #else
11 typedef int64_t libvlc_time_t;
12 #endif
14 extern "C" {
16 // basic callback / event types we use
17 typedef int libvlc_event_type_t;
18 typedef struct libvlc_event_manager_t libvlc_event_manager_t;
19 typedef void ( *libvlc_callback_t ) ( const struct libvlc_event_t *, void * );
21 // the enumeration values we use cf. libvlc_events.h
22 #define libvlc_MediaPlayerPaused 0x105
23 #define libvlc_MediaPlayerEndReached 0x109
25 // event structure pieces we use
26 struct libvlc_event_t
28 int type; // event type
29 void *p_obj; // object emitting that event
31 union // so far we don't need this.
33 struct {
34 const char *dummy1;
35 const char *dummy2;
36 } padding;
37 } u;
40 struct libvlc_track_description_t
42 int i_id;
43 char *psz_name;
44 libvlc_track_description_t *p_next;
49 #endif // _WRAPPER_TYPES_HXX
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */