#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
#include <assert.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "libavutil/mem.h"
#include "libavcodec/avcodec.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "av_helpers.h"
#include "libvo/fastmemcpy.h"
Go to the source code of this file.
|
static const uint8_t | __attribute__ ((aligned(8))) |
|
static void | store_slice_c (uint8_t *dst, int16_t *src, int dst_stride, int src_stride, int width, int height, int log2_scale) |
|
static void | filter (struct vf_priv_s *p, uint8_t *dst[3], uint8_t *src[3], int dst_stride[3], int src_stride[3], int width, int height, uint8_t *qp_store, int qp_stride) |
|
static int | config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) |
|
static void | get_image (struct vf_instance *vf, mp_image_t *mpi) |
|
static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
|
static void | uninit (struct vf_instance *vf) |
|
static int | query_format (struct vf_instance *vf, unsigned int fmt) |
|
static int | control (struct vf_instance *vf, int request, void *data) |
|
static int | vf_open (vf_instance_t *vf, char *args) |
|
Value:temp= ((
src[
x +
y*src_stride + pos]<<log2_scale) +
d[pos])>>8;
\
else dst[i][x+y *dst_stride[i]]
Referenced by store_slice_c().
#define XMIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
static const uint8_t __attribute__ |
( |
(aligned(8)) |
| ) |
|
|
static |
static int config |
( |
struct vf_instance * |
vf, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
d_width, |
|
|
int |
d_height, |
|
|
unsigned int |
flags, |
|
|
unsigned int |
outfmt |
|
) |
| |
|
static |
static void filter |
( |
struct vf_priv_s * |
p, |
|
|
uint8_t * |
dst[3], |
|
|
uint8_t * |
src[3], |
|
|
int |
dst_stride[3], |
|
|
int |
src_stride[3], |
|
|
int |
width, |
|
|
int |
height, |
|
|
uint8_t * |
qp_store, |
|
|
int |
qp_stride |
|
) |
| |
|
static |
static int query_format |
( |
struct vf_instance * |
vf, |
|
|
unsigned int |
fmt |
|
) |
| |
|
static |
static void store_slice_c |
( |
uint8_t * |
dst, |
|
|
int16_t * |
src, |
|
|
int |
dst_stride, |
|
|
int |
src_stride, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
log2_scale |
|
) |
| |
|
static |
Initial value:= {
"ultra simple/slow postprocess",
"uspp",
"Michael Niedermayer",
"",
}
static int vf_open(vf_instance_t *vf, char *args)
Definition at line 386 of file vf_uspp.c.