#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "config.h"
#include "mp_msg.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
Go to the source code of this file.
Data Structures | |
struct | vf_priv_s |
Stores persistant variables. More... | |
Functions | |
static unsigned int | getfmt (unsigned int outfmt) |
static void | put_pixel (uint8_t *buf, int x, int y, int stride, int r, int g, int b, int fmt) |
static int | config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) |
static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
static int | query_format (struct vf_instance *vf, unsigned int outfmt) |
static int | vf_open (vf_instance_t *vf, char *args) |
Variables | |
const vf_info_t | vf_info_rgbtest |
static int config | ( | struct vf_instance * | vf, | |
int | width, | |||
int | height, | |||
int | d_width, | |||
int | d_height, | |||
unsigned int | flags, | |||
unsigned int | outfmt | |||
) | [static] |
Definition at line 106 of file vf_rgbtest.c.
static unsigned int getfmt | ( | unsigned int | outfmt | ) | [static] |
static int put_image | ( | struct vf_instance * | vf, | |
mp_image_t * | mpi, | |||
double | pts | |||
) | [static] |
Definition at line 116 of file vf_rgbtest.c.
static void put_pixel | ( | uint8_t * | buf, | |
int | x, | |||
int | y, | |||
int | stride, | |||
int | r, | |||
int | g, | |||
int | b, | |||
int | fmt | |||
) | [static] |
static int query_format | ( | struct vf_instance * | vf, | |
unsigned int | outfmt | |||
) | [static] |
Definition at line 145 of file vf_rgbtest.c.
static int vf_open | ( | vf_instance_t * | vf, | |
char * | args | |||
) | [static] |
Definition at line 151 of file vf_rgbtest.c.
const vf_info_t vf_info_rgbtest |
Initial value:
Definition at line 162 of file vf_rgbtest.c.