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

LibVLC parser API. More...

Include dependency graph for libvlc_parser.h:

Go to the source code of this file.

Data Structures

union  libvlc_thumbnailer_seek_value_t
 Thumbnailer seek value. More...
struct  libvlc_parser_cbs
 struct defining callbacks for libvlc_parser_queue More...
struct  libvlc_parser_request_t
 struct defining a parse request More...
struct  libvlc_thumbnailer_cbs
 struct defining callbacks for libvlc_parser_queue_thumbnailing More...
struct  libvlc_thumbnailer_request_t
 struct defining a thumbnailer request More...
struct  libvlc_parser_cfg
 struct defining parser configuration More...

Typedefs

typedef struct libvlc_parser_t libvlc_parser_t
typedef struct libvlc_media_t libvlc_media_t
typedef struct libvlc_picture_t libvlc_picture_t
typedef enum libvlc_picture_type_t libvlc_picture_type_t
typedef struct libvlc_parser_request_t libvlc_parser_request_t
 A parser request object.
typedef struct libvlc_thumbnailer_request_t libvlc_thumbnailer_request_t
 A thumbnailer request object.
typedef struct libvlc_parser_task libvlc_parser_task
 Opaque handle of a parsing/thumbnailing task.
typedef enum libvlc_media_parse_flag_t libvlc_media_parse_flag_t
 Parse flags used by libvlc_parser_request_t.
typedef enum libvlc_parser_status_t libvlc_parser_status_t
 Outcome of a finished parse request, reported by libvlc_parser_cbs::on_parsed.
typedef enum libvlc_thumbnailer_seek_type_t libvlc_thumbnailer_seek_type_t
 Thumbnailer seek type.
typedef enum libvlc_thumbnailer_seek_speed_t libvlc_thumbnailer_seek_speed_t
 Thumbnailer seek speed.
typedef union libvlc_thumbnailer_seek_value_t libvlc_thumbnailer_seek_value_t
 Thumbnailer seek value.

Enumerations

enum  libvlc_media_parse_flag_t { libvlc_media_parse = 0x01 , libvlc_media_fetch_local = 0x02 , libvlc_media_fetch_network = 0x04 , libvlc_media_do_interact = 0x08 }
 Parse flags used by libvlc_parser_request_t. More...
enum  libvlc_parser_status_t { libvlc_parser_status_failed , libvlc_parser_status_timeout , libvlc_parser_status_cancelled , libvlc_parser_status_done }
 Outcome of a finished parse request, reported by libvlc_parser_cbs::on_parsed. More...
enum  libvlc_thumbnailer_seek_type_t { libvlc_thumbnailer_seek_none , libvlc_thumbnailer_seek_time , libvlc_thumbnailer_seek_pos }
 Thumbnailer seek type. More...
enum  libvlc_thumbnailer_seek_speed_t { libvlc_media_thumbnail_seek_precise , libvlc_media_thumbnail_seek_fast }
 Thumbnailer seek speed. More...

Functions

libvlc_parser_tlibvlc_parser_new (libvlc_instance_t *inst, const struct libvlc_parser_cfg *cfg)
 Create a parser.
void libvlc_parser_destroy (libvlc_parser_t *parser)
 Destroy a parser and free resources.
libvlc_parser_tasklibvlc_parser_queue (libvlc_parser_t *parser, const libvlc_parser_request_t *req, const struct libvlc_parser_cbs *cbs, void *cbs_opaque)
 Parse a media asynchronously.
libvlc_parser_tasklibvlc_parser_queue_thumbnailing (libvlc_parser_t *parser, const libvlc_thumbnailer_request_t *req, const struct libvlc_thumbnailer_cbs *cbs, void *cbs_opaque)
 Generate a thumbnail asynchronously.
size_t libvlc_parser_cancel_request (libvlc_parser_t *parser, libvlc_parser_task *task)
 Cancel a parser request.
libvlc_media_tlibvlc_parser_task_get_media (libvlc_parser_task *task)
 Fetch the media associated with the task handle.
void libvlc_parser_task_release (libvlc_parser_task *task)
 Release a parser task handle.

Detailed Description

LibVLC parser API.