23 #ifndef VLC_LIBVLC_PICTURE_H 24 #define VLC_LIBVLC_PICTURE_H 1 127 #endif // VLC_LIBVLC_PICTURE_H 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 unsigned int libvlc_picture_get_height(const libvlc_picture_t *pic)
Returns the height of the image in pixels.
#define LIBVLC_API
Definition: libvlc.h:42
Definition: libvlc_picture.h:35
struct libvlc_picture_t libvlc_picture_t
Definition: libvlc_picture.h:30
LIBVLC_API int libvlc_picture_save(const libvlc_picture_t *pic, const char *path)
Saves this picture to a file.
Definition: libvlc_picture.h:34
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.
Definition: libvlc_picture.h:36
libvlc_picture_type_t
Definition: libvlc_picture.h:32
LIBVLC_API void libvlc_picture_retain(libvlc_picture_t *pic)
Increment 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_API libvlc_picture_type_t libvlc_picture_type(const libvlc_picture_t *pic)
Returns the picture type.
LIBVLC_API unsigned int libvlc_picture_get_width(const libvlc_picture_t *pic)
Returns the width of the image in pixels.
int64_t libvlc_time_t
Definition: libvlc.h:78
LIBVLC_API void libvlc_picture_release(libvlc_picture_t *pic)
Decrement the reference count of this picture.