|
FFmpeg
|
#include <stdint.h>#include "libavutil/dict.h"#include "libavutil/imgutils.h"#include "libavutil/log.h"#include "libavutil/pixfmt.h"#include "libavformat/avformat.h"#include "libavcodec/avcodec.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 AVPixelFormat *pix_fmt, const char *filename, void *log_ctx) |
| Load image from filename and put the resulting image in data. More... | |
| int ff_load_image | ( | uint8_t * | data[4], |
| int | linesize[4], | ||
| int * | w, | ||
| int * | h, | ||
| enum AVPixelFormat * | pix_fmt, | ||
| const char * | filename, | ||
| void * | log_ctx | ||
| ) |
Load image from filename and put the resulting image in data.
| 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 |
Definition at line 34 of file lavfutils.c.
Referenced by init(), init_axis_from_file(), and load_mask().
1.8.17