![]() More.Īvpicture_alloc ( AVPicture *picture, enum PixelFormat pix_fmt, int width, int height)įree a picture previously allocated by avpicture_alloc().Īvpicture_fill ( AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int width, int height)įill in the AVPicture fields, always assume a linesize alignment of 1.Īvpicture_layout (const AVPicture *src, enum PixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size)Ĭopy pixel data from an AVPicture into a buffer, always assume a linesize alignment of 1.Īvpicture_get_size (enum PixelFormat pix_fmt, int width, int height)Ĭalculate the size in bytes that a picture of the given width and height would occupy if stored in the given picture format. The book will try to make you familiar with FFmpeg tools that are used by Facebook, Google and many other companies. Functions for working with AVPicture.įour components are given, that's all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |