FFmpeg
|
#include "libavutil/avassert.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Macros | |
#define | pixel uint16_t |
#define | htype uint16_t |
#define | SHIFT ((DEPTH + 1) / 2) |
#define | BINS (1 << SHIFT) |
#define | MASK (BINS - 1) |
#define | fn3(a, b) a##_##b |
#define | fn2(a, b) fn3(a,b) |
#define | fn(a) fn2(a, DEPTH) |
#define | PICK_COARSE_BIN(x, y) (BINS * (x) + ((y) >> SHIFT)) |
#define | PICK_FINE_BIN(x, y, z) (BINS * ((x) * ((y) >> SHIFT) + (z)) + ((y) & MASK)) |
Functions | |
static void fn() | filter_plane (AVFilterContext *ctx, const uint8_t *ssrc, int src_linesize, uint8_t *ddst, int dst_linesize, int width, int height, int slice_h_start, int slice_h_end, int jobnr) |
#define pixel uint16_t |
Definition at line 33 of file median_template.c.
#define htype uint16_t |
Definition at line 37 of file median_template.c.
#define SHIFT ((DEPTH + 1) / 2) |
Definition at line 42 of file median_template.c.
#define BINS (1 << SHIFT) |
Definition at line 43 of file median_template.c.
#define MASK (BINS - 1) |
Definition at line 44 of file median_template.c.
Definition at line 49 of file median_template.c.
Definition at line 50 of file median_template.c.