libavfilter/lavfutils.c File Reference

#include "libavutil/imgutils.h"
#include "lavfutils.h"

Go to the source code of this file.

Functions

int ff_load_image (uint8_t *data[4], int linesize[4], int *w, int *h, enum PixelFormat *pix_fmt, const char *filename, void *log_ctx)
 Load image from filename and put the resulting image in data.


Function Documentation

int ff_load_image ( uint8_t data[4],
int  linesize[4],
int *  w,
int *  h,
enum PixelFormat pix_fmt,
const char *  filename,
void *  log_ctx 
)

Load image from filename and put the resulting image in data.

Parameters:
w pointer to the width of the loaded image
h pointer to the height of the loaded image
pix_fmt pointer to the pixel format of the loaded image
filename the name of the image file to load
log_ctx log context
Returns:
0 in case of success, a negative error code otherwise.

Definition at line 24 of file lavfutils.c.

Referenced by load_mask().


Generated on Fri Oct 26 02:48:00 2012 for FFmpeg by  doxygen 1.5.8