libavfilter/libmpcodecs/vf_eq2.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <inttypes.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
Go to the source code of this file.
|
Data Structures |
struct | eq2_param_t |
struct | vf_priv_s |
Defines |
#define | LUT16 |
Typedefs |
typedef struct vf_priv_s | vf_eq2_t |
Functions |
static void | create_lut (eq2_param_t *par) |
static void | affine_1d_MMX (eq2_param_t *par, unsigned char *dst, unsigned char *src, unsigned w, unsigned h, unsigned dstride, unsigned sstride) |
static void | apply_lut (eq2_param_t *par, unsigned char *dst, unsigned char *src, unsigned w, unsigned h, unsigned dstride, unsigned sstride) |
static int | put_image (vf_instance_t *vf, mp_image_t *src, double pts) |
static void | check_values (eq2_param_t *par) |
static void | print_values (vf_eq2_t *eq2) |
static void | set_contrast (vf_eq2_t *eq2, double c) |
static void | set_brightness (vf_eq2_t *eq2, double b) |
static void | set_gamma (vf_eq2_t *eq2, double g) |
static void | set_saturation (vf_eq2_t *eq2, double s) |
static int | control (vf_instance_t *vf, int request, void *data) |
static int | query_format (vf_instance_t *vf, unsigned fmt) |
static void | uninit (vf_instance_t *vf) |
static int | vf_open (vf_instance_t *vf, char *args) |
Variables |
const vf_info_t | vf_info_eq2 |
Define Documentation
Typedef Documentation
Function Documentation
static void affine_1d_MMX |
( |
eq2_param_t * |
par, |
|
|
unsigned char * |
dst, |
|
|
unsigned char * |
src, |
|
|
unsigned |
w, |
|
|
unsigned |
h, |
|
|
unsigned |
dstride, |
|
|
unsigned |
sstride | |
|
) |
| | [static] |
static void apply_lut |
( |
eq2_param_t * |
par, |
|
|
unsigned char * |
dst, |
|
|
unsigned char * |
src, |
|
|
unsigned |
w, |
|
|
unsigned |
h, |
|
|
unsigned |
dstride, |
|
|
unsigned |
sstride | |
|
) |
| | [static] |
static void check_values |
( |
eq2_param_t * |
par |
) |
[static] |
static int control |
( |
vf_instance_t * |
vf, |
|
|
int |
request, |
|
|
void * |
data | |
|
) |
| | [static] |
static void print_values |
( |
vf_eq2_t * |
eq2 |
) |
[static] |
static int query_format |
( |
vf_instance_t * |
vf, |
|
|
unsigned |
fmt | |
|
) |
| | [static] |
static void set_brightness |
( |
vf_eq2_t * |
eq2, |
|
|
double |
b | |
|
) |
| | [static] |
static void set_contrast |
( |
vf_eq2_t * |
eq2, |
|
|
double |
c | |
|
) |
| | [static] |
static void set_gamma |
( |
vf_eq2_t * |
eq2, |
|
|
double |
g | |
|
) |
| | [static] |
static void set_saturation |
( |
vf_eq2_t * |
eq2, |
|
|
double |
s | |
|
) |
| | [static] |
Variable Documentation
Initial value:
{
"Software equalizer",
"eq2",
"Hampa Hug, Daniel Moreno, Richard Felker",
"",
&vf_open,
NULL
}
Definition at line 512 of file vf_eq2.c.