|
static void | RunnableRun (void *) |
|
static task_t * | TaskNew (vlc_thumbnailer_t *thumbnailer, input_item_t *item, struct seek_target seek_target, bool fast_seek, vlc_thumbnailer_cb cb, void *userdata, vlc_tick_t timeout) |
|
static void | TaskDelete (task_t *task) |
|
static void | ThumbnailerAddTask (vlc_thumbnailer_t *thumbnailer, task_t *task) |
|
static void | ThumbnailerRemoveTask (vlc_thumbnailer_t *thumbnailer, task_t *task) |
|
static void | NotifyThumbnail (task_t *task, picture_t *pic) |
|
static void | on_thumbnailer_input_event (input_thread_t *input, const struct vlc_input_event *event, void *userdata) |
|
static void | Interrupt (task_t *task) |
|
static task_t * | RequestCommon (vlc_thumbnailer_t *thumbnailer, struct seek_target seek_target, enum vlc_thumbnailer_seek_speed speed, input_item_t *item, vlc_tick_t timeout, vlc_thumbnailer_cb cb, void *userdata) |
|
task_t * | vlc_thumbnailer_RequestByTime (vlc_thumbnailer_t *thumbnailer, vlc_tick_t time, enum vlc_thumbnailer_seek_speed speed, input_item_t *item, vlc_tick_t timeout, vlc_thumbnailer_cb cb, void *userdata) |
| vlc_thumbnailer_RequestByTime Requests a thumbnailer at a given time More...
|
|
task_t * | vlc_thumbnailer_RequestByPos (vlc_thumbnailer_t *thumbnailer, float pos, enum vlc_thumbnailer_seek_speed speed, input_item_t *item, vlc_tick_t timeout, vlc_thumbnailer_cb cb, void *userdata) |
| vlc_thumbnailer_RequestByTime Requests a thumbnailer at a given time More...
|
|
void | vlc_thumbnailer_Cancel (vlc_thumbnailer_t *thumbnailer, task_t *task) |
| vlc_thumbnailer_Cancel Cancel a thumbnail request More...
|
|
vlc_thumbnailer_t * | vlc_thumbnailer_Create (vlc_object_t *parent) |
| vlc_thumbnailer_Create Creates a thumbnailer object More...
|
|
static void | CancelAllTasks (vlc_thumbnailer_t *thumbnailer) |
|
void | vlc_thumbnailer_Release (vlc_thumbnailer_t *thumbnailer) |
| vlc_thumbnailer_Release releases a thumbnailer and cancel all pending requests More...
|
|
vlc_thumbnailer_RequestByTime Requests a thumbnailer at a given time
- Parameters
-
thumbnailer | A thumbnailer object |
pos | The position at which the thumbnail should be taken |
speed | The seeking speed |
- See also
- {enum vlc_thumbnailer_seek_speed}
- Parameters
-
input_item | The input item to generate the thumbnail for |
timeout | A timeout value, or VLC_TICK_INVALID to disable timeout |
cb | A user callback to be called on completion (success & error) |
user_data | An opaque value, provided as pf_cb's first parameter |
- Returns
- An opaque request object, or NULL in case of failure
If this function returns a valid request object, the callback is guaranteed to be called, even in case of later failure. The returned request object must not be used after the callback has been invoked. That request object is owned by the thumbnailer, and must not be released. The provided input_item will be held by the thumbnailer and can safely be released after calling this function.
References seek_target::pos, RequestCommon(), seek_target::type, and seek_target::VLC_THUMBNAILER_SEEK_POS.
vlc_thumbnailer_RequestByTime Requests a thumbnailer at a given time
- Parameters
-
thumbnailer | A thumbnailer object |
time | The time at which the thumbnail should be taken |
speed | The seeking speed |
- See also
- {enum vlc_thumbnailer_seek_speed}
- Parameters
-
input_item | The input item to generate the thumbnail for |
timeout | A timeout value, or VLC_TICK_INVALID to disable timeout |
cb | A user callback to be called on completion (success & error) |
user_data | An opaque value, provided as pf_cb's first parameter |
- Returns
- An opaque request object, or NULL in case of failure
If this function returns a valid request object, the callback is guaranteed to be called, even in case of later failure. The returned request object must not be used after the callback has been invoked. That request object is owned by the thumbnailer, and must not be released. The provided input_item will be held by the thumbnailer and can safely be released safely after calling this function.
References RequestCommon(), seek_target::time, seek_target::type, and seek_target::VLC_THUMBNAILER_SEEK_TIME.