FFmpeg
|
avpicture.c File Reference
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"
Include dependency graph for avpicture.c:
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. More... | |
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. More... | |
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. More... | |
int | avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height) |
Allocate memory for a picture. More... | |
void | avpicture_free (AVPicture *picture) |
Free a picture previously allocated by avpicture_alloc(). More... | |
void | av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height) |
Copy image src to dst. More... | |
Detailed Description
AVPicture management routines.
Definition in file avpicture.c.
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11