#include <stdlib.h>#include <unistd.h>#include <stdarg.h>#include "libavutil/common.h"#include "libavformat/avformat.h"#include "libavformat/framehook.h"#include "libswscale/swscale.h"Go to the source code of this file.
Data Structures | |
| struct | ContextInfo |
| Context info for this vhook - stores the pipe and image buffers. More... | |
Functions | |
| int | get_watermark_picture (ContextInfo *ci, int cleanup) |
| void | Release (void *ctx) |
| int | Configure (void **ctxp, int argc, char *argv[]) |
| static void | Process0 (void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int src_width, int src_height, int64_t pts) |
| static void | Process1 (void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int src_width, int src_height, int64_t pts) |
| void | Process (void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int src_width, int src_height, int64_t pts) |
| void | parse_arg_file (const char *filename) |
Variables | |
| static int | sws_flags = SWS_BICUBIC |
| int Configure | ( | void ** | ctxp, | |
| int | argc, | |||
| char * | argv[] | |||
| ) |
Definition at line 126 of file watermark.c.
| int get_watermark_picture | ( | ContextInfo * | ci, | |
| int | cleanup | |||
| ) |
Definition at line 452 of file watermark.c.
Referenced by Configure(), Process0(), Process1(), and Release().
| void parse_arg_file | ( | const char * | filename | ) |
Definition at line 653 of file watermark.c.
| void Process | ( | void * | ctx, | |
| AVPicture * | picture, | |||
| enum PixelFormat | pix_fmt, | |||
| int | src_width, | |||
| int | src_height, | |||
| int64_t | pts | |||
| ) |
Definition at line 427 of file watermark.c.
| static void Process0 | ( | void * | ctx, | |
| AVPicture * | picture, | |||
| enum PixelFormat | pix_fmt, | |||
| int | src_width, | |||
| int | src_height, | |||
| int64_t | pts | |||
| ) | [static] |
| static void Process1 | ( | void * | ctx, | |
| AVPicture * | picture, | |||
| enum PixelFormat | pix_fmt, | |||
| int | src_width, | |||
| int | src_height, | |||
| int64_t | pts | |||
| ) | [static] |
| void Release | ( | void * | ctx | ) |
Definition at line 108 of file watermark.c.
int sws_flags = SWS_BICUBIC [static] |
Definition at line 66 of file watermark.c.
1.5.8