| 
    FFmpeg
    
   | 
 
AVPicture management routines. More...
#include "avcodec.h"#include "internal.h"#include "libavutil/common.h"#include "libavutil/pixdesc.h"#include "libavutil/imgutils.h"#include "libavutil/colorspace.h"Go to the source code of this file.
Functions | |
| int | avpicture_fill (AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height) | 
| Fill in the AVPicture fields, always assume a linesize alignment of 1.   | |
| int | avpicture_layout (const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size) | 
| Copy pixel data from an AVPicture into a buffer, always assume a linesize alignment of 1.   | |
| int | avpicture_get_size (enum AVPixelFormat pix_fmt, int width, int height) | 
| Calculate the size in bytes that a picture of the given width and height would occupy if stored in the given picture format.   | |
| int | avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height) | 
| Allocate memory for a picture.   | |
| void | avpicture_free (AVPicture *picture) | 
| Free a picture previously allocated by avpicture_alloc().   | |
| void | av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height) | 
| Copy image src to dst.   | |
AVPicture management routines.
Definition in file avpicture.c.
 1.8.2