23#ifndef VLC_LIBVLC_PICTURE_H
24#define VLC_LIBVLC_PICTURE_H 1
struct vlc_param ** list
Definition: core.c:402
int64_t libvlc_time_t
Definition: libvlc.h:78
#define LIBVLC_API
Definition: libvlc.h:42
LIBVLC_API libvlc_picture_t * libvlc_picture_list_at(const libvlc_picture_list_t *list, size_t index)
Returns the picture at the provided index.
struct libvlc_picture_t libvlc_picture_t
Definition: libvlc_picture.h:30
struct libvlc_picture_list_t libvlc_picture_list_t
Definition: libvlc_picture.h:31
LIBVLC_API const unsigned char * libvlc_picture_get_buffer(const libvlc_picture_t *pic, size_t *size)
Returns the image internal buffer, including potential padding.
LIBVLC_API libvlc_time_t libvlc_picture_get_time(const libvlc_picture_t *pic)
Returns the time at which this picture was generated, in milliseconds.
LIBVLC_API libvlc_picture_t * libvlc_picture_retain(libvlc_picture_t *pic)
Increment the reference count of this picture.
LIBVLC_API unsigned int libvlc_picture_get_width(const libvlc_picture_t *pic)
Returns the width of the image in pixels.
LIBVLC_API void libvlc_picture_release(libvlc_picture_t *pic)
Decrement the reference count of this picture.
LIBVLC_API unsigned int libvlc_picture_get_stride(const libvlc_picture_t *pic)
Returns the image stride, ie.
libvlc_picture_type_t
Definition: libvlc_picture.h:34
@ libvlc_picture_Argb
Definition: libvlc_picture.h:35
@ libvlc_picture_Jpg
Definition: libvlc_picture.h:37
@ libvlc_picture_Png
Definition: libvlc_picture.h:36
LIBVLC_API int libvlc_picture_save(const libvlc_picture_t *pic, const char *path)
Saves this picture to a file.
LIBVLC_API void libvlc_picture_list_destroy(libvlc_picture_list_t *list)
Destroys a picture list and releases the pictures it contains.
LIBVLC_API size_t libvlc_picture_list_count(const libvlc_picture_list_t *list)
Returns the number of pictures in the list.
LIBVLC_API unsigned int libvlc_picture_get_height(const libvlc_picture_t *pic)
Returns the height of the image in pixels.
LIBVLC_API libvlc_picture_type_t libvlc_picture_type(const libvlc_picture_t *pic)
Returns the picture type.