23#ifndef VLC_THUMBNAILER_H
24#define VLC_THUMBNAILER_H
#define VLC_USED
Definition: fourcc_gen.c:32
#define VLC_API
Definition: fourcc_gen.c:31
Video picture.
Definition: vlc_picture.h:130
VLC object common members.
Definition: vlc_objects.h:45
Definition: thumbnailer.c:56
vlc_tick_t timeout
A positive value will be used as the timeout duration VLC_TICK_INVALID means no timeout.
Definition: thumbnailer.c:67
vlc_thumbnailer_cb cb
Definition: thumbnailer.c:68
vlc_thumbnailer_t * thumbnailer
Definition: thumbnailer.c:58
Definition: thumbnailer.c:32
This file is a collection of common definitions and types.
void vlc_thumbnailer_Release(vlc_thumbnailer_t *thumbnailer)
vlc_thumbnailer_Release releases a thumbnailer and cancel all pending requests
Definition: thumbnailer.c:318
vlc_thumbnailer_request_t * vlc_thumbnailer_RequestByPos(vlc_thumbnailer_t *thumbnailer, double pos, enum vlc_thumbnailer_seek_speed speed, input_item_t *input_item, vlc_tick_t timeout, vlc_thumbnailer_cb cb, void *user_data)
vlc_thumbnailer_RequestByTime Requests a thumbnailer at a given time
Definition: thumbnailer.c:271
void vlc_thumbnailer_DestroyRequest(vlc_thumbnailer_t *thumbnailer, vlc_thumbnailer_request_t *request)
vlc_thumbnailer_DestroyRequest Destroy a thumbnail request
Definition: thumbnailer.c:284
vlc_thumbnailer_request_t * vlc_thumbnailer_RequestByTime(vlc_thumbnailer_t *thumbnailer, vlc_tick_t time, enum vlc_thumbnailer_seek_speed speed, input_item_t *input_item, vlc_tick_t timeout, vlc_thumbnailer_cb cb, void *user_data)
vlc_thumbnailer_RequestByTime Requests a thumbnailer at a given time
Definition: thumbnailer.c:256
vlc_thumbnailer_t * vlc_thumbnailer_Create(vlc_object_t *p_parent)
vlc_thumbnailer_Create Creates a thumbnailer object
Definition: thumbnailer.c:300
void(* vlc_thumbnailer_cb)(void *data, picture_t *thumbnail)
vlc_thumbnailer_cb defines a callback invoked on thumbnailing completion or error
Definition: vlc_thumbnailer.h:46
vlc_thumbnailer_seek_speed
Definition: vlc_thumbnailer.h:59
@ VLC_THUMBNAILER_SEEK_PRECISE
Precise, but potentially slow.
Definition: vlc_thumbnailer.h:61
@ VLC_THUMBNAILER_SEEK_FAST
Fast, but potentially imprecise.
Definition: vlc_thumbnailer.h:63
int64_t vlc_tick_t
High precision date or time interval.
Definition: vlc_tick.h:45