VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_preparser.h File Reference

VLC Preparser API. More...

Include dependency graph for vlc_preparser.h:

Go to the source code of this file.

Data Structures

struct  vlc_thumbnailer_cbs
 Preparser thumbnailer callbacks. More...
 
struct  vlc_thumbnailer_arg
 Thumbnailer argument. More...
 
struct  vlc_thumbnailer_arg::seek
 Seek argument. More...
 
struct  vlc_preparser_cfg
 Preparser creation configuration. More...
 

Macros

#define VLC_PREPARSER_REQ_ID_INVALID   0
 
#define VLC_PREPARSER_TYPE_PARSE   0x01
 
#define VLC_PREPARSER_TYPE_FETCHMETA_LOCAL   0x02
 
#define VLC_PREPARSER_TYPE_FETCHMETA_NET   0x04
 
#define VLC_PREPARSER_TYPE_THUMBNAIL   0x08
 
#define VLC_PREPARSER_TYPE_FETCHMETA_ALL    (VLC_PREPARSER_TYPE_FETCHMETA_LOCAL|VLC_PREPARSER_TYPE_FETCHMETA_NET)
 
#define VLC_PREPARSER_OPTION_INTERACT   0x1000
 
#define VLC_PREPARSER_OPTION_SUBITEMS   0x2000
 

Typedefs

typedef struct vlc_preparser_t vlc_preparser_t
 Preparser opaque structure.
 
typedef size_t vlc_preparser_req_id
 

Functions

vlc_preparser_tvlc_preparser_New (vlc_object_t *obj, const struct vlc_preparser_cfg *cfg)
 This function creates the preparser object and thread.
 
vlc_preparser_req_id vlc_preparser_Push (vlc_preparser_t *preparser, input_item_t *item, int type_option, const input_item_parser_cbs_t *cbs, void *cbs_userdata)
 This function enqueues the provided item to be preparsed or fetched.
 
vlc_preparser_req_id vlc_preparser_GenerateThumbnail (vlc_preparser_t *preparser, input_item_t *item, const struct vlc_thumbnailer_arg *arg, const struct vlc_thumbnailer_cbs *cbs, void *cbs_userdata)
 This function enqueues the provided item for generating a thumbnail.
 
size_t vlc_preparser_Cancel (vlc_preparser_t *preparser, vlc_preparser_req_id id)
 This function cancel all preparsing requests for a given id.
 
void vlc_preparser_Delete (vlc_preparser_t *preparser)
 This function destroys the preparser object and thread.
 
void vlc_preparser_SetTimeout (vlc_preparser_t *preparser, vlc_tick_t timeout)
 Do not use, libVLC only fonction, will be removed soon.
 

Detailed Description

VLC Preparser API.