FFmpeg
|
Go to the source code of this file.
Macros | |
#define | TEMPLATE_PP_C 0 |
#define | TEMPLATE_PP_ALTIVEC 0 |
#define | TEMPLATE_PP_MMX 0 |
#define | TEMPLATE_PP_MMXEXT 0 |
#define | TEMPLATE_PP_3DNOW 0 |
#define | TEMPLATE_PP_SSE2 0 |
#define | PAVGB(a, b) REAL_PAVGB(a,b) |
#define | FAST_L2_DIFF |
Functions | |
static void | doVertLowPass_TMPL (uint8_t *src, int stride, PPContext *c) |
Do a vertical low pass filter on the 8x16 block (only write to the 8x8 block in the middle) using the 9-Tap Filter (1,1,2,2,4,2,2,1,1)/16. More... | |
static void | vertX1Filter_TMPL (uint8_t *src, int stride, PPContext *co) |
Experimental Filter 1 will not damage linear gradients Flat blocks should look like they were passed through the (1,1,2,2,4,2,2,1,1) 9-Tap filter can only smooth blocks at the expected locations (it cannot smooth them if they did move) MMX2 version does correct clipping C version does not. More... | |
static void | doVertDefFilter_TMPL (uint8_t src[], int stride, PPContext *c) |
static void | dering_TMPL (uint8_t src[], int stride, PPContext *c) |
static void | deInterlaceInterpolateLinear_TMPL (uint8_t src[], int stride) |
Deinterlace the given block by linearly interpolating every second line. More... | |
static void | deInterlaceInterpolateCubic_TMPL (uint8_t src[], int stride) |
Deinterlace the given block by cubic interpolating every second line. More... | |
static void | deInterlaceFF_TMPL (uint8_t src[], int stride, uint8_t *tmp) |
Deinterlace the given block by filtering every second line with a (-1 4 2 4 -1) filter. More... | |
static void | deInterlaceL5_TMPL (uint8_t src[], int stride, uint8_t *tmp, uint8_t *tmp2) |
Deinterlace the given block by filtering every line with a (-1 2 6 2 -1) filter. More... | |
static void | deInterlaceBlendLinear_TMPL (uint8_t src[], int stride, uint8_t *tmp) |
Deinterlace the given block by filtering all lines with a (1 2 1) filter. More... | |
static void | deInterlaceMedian_TMPL (uint8_t src[], int stride) |
Deinterlace the given block by applying a median filter to every second line. More... | |
static void | tempNoiseReducer_TMPL (uint8_t *src, int stride, uint8_t *tempBlurred, uint32_t *tempBlurredPast, const int *maxNoise) |
static void | postProcess_TMPL (const uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, const int8_t QPs[], int QPStride, int isColor, PPContext *c2) |
Filter array of bytes (Y or U or V values) More... | |
static void | blockCopy_TMPL (uint8_t dst[], int dstStride, const uint8_t src[], int srcStride, int levelFix, int64_t *packedOffsetAndScale) |
Copy a block from src to dst and fixes the blacklevel. More... | |
static void | duplicate_TMPL (uint8_t src[], int stride) |
Duplicate the given 8 src pixels ? times upward. More... | |
static void | prefetchnta_TMPL (const void *p) |
static void | prefetcht0_TMPL (const void *p) |
static void | prefetcht1_TMPL (const void *p) |
static void | prefetcht2_TMPL (const void *p) |
mmx/mmx2/3dnow postprocess code.
Definition in file postprocess_template.c.
#define TEMPLATE_PP_C 0 |
Definition at line 37 of file postprocess_template.c.
#define TEMPLATE_PP_ALTIVEC 0 |
Definition at line 43 of file postprocess_template.c.
#define TEMPLATE_PP_MMX 0 |
Definition at line 49 of file postprocess_template.c.
#define TEMPLATE_PP_MMXEXT 0 |
Definition at line 57 of file postprocess_template.c.
#define TEMPLATE_PP_3DNOW 0 |
Definition at line 65 of file postprocess_template.c.
#define TEMPLATE_PP_SSE2 0 |
Definition at line 75 of file postprocess_template.c.
#define FAST_L2_DIFF |
Do a vertical low pass filter on the 8x16 block (only write to the 8x8 block in the middle) using the 9-Tap Filter (1,1,2,2,4,2,2,1,1)/16.
Definition at line 229 of file postprocess_template.c.
Experimental Filter 1 will not damage linear gradients Flat blocks should look like they were passed through the (1,1,2,2,4,2,2,1,1) 9-Tap filter can only smooth blocks at the expected locations (it cannot smooth them if they did move) MMX2 version does correct clipping C version does not.
Definition at line 408 of file postprocess_template.c.
Definition at line 535 of file postprocess_template.c.
Definition at line 1094 of file postprocess_template.c.
|
inlinestatic |
Deinterlace the given block by linearly interpolating every second line.
will be called for every 8x8 block and can read & write from line 4-15 lines 0-3 have been passed through the deblock / dering filters already, but can be read, too. lines 4-12 will be read into the deblocking filter and should be deinterlaced
Definition at line 1451 of file postprocess_template.c.
|
inlinestatic |
Deinterlace the given block by cubic interpolating every second line.
will be called for every 8x8 block and can read & write from line 4-15 lines 0-3 have been passed through the deblock / dering filters already, but can be read, too. lines 4-12 will be read into the deblocking filter and should be deinterlaced this filter will read lines 3-15 and write 7-13
Definition at line 1504 of file postprocess_template.c.
|
inlinestatic |
Deinterlace the given block by filtering every second line with a (-1 4 2 4 -1) filter.
will be called for every 8x8 block and can read & write from line 4-15 lines 0-3 have been passed through the deblock / dering filters already, but can be read, too. lines 4-12 will be read into the deblocking filter and should be deinterlaced this filter will read lines 4-13 and write 5-11
Definition at line 1591 of file postprocess_template.c.
|
inlinestatic |
Deinterlace the given block by filtering every line with a (-1 2 6 2 -1) filter.
will be called for every 8x8 block and can read & write from line 4-15 lines 0-3 have been passed through the deblock / dering filters already, but can be read, too. lines 4-12 will be read into the deblocking filter and should be deinterlaced this filter will read lines 4-13 and write 4-11
Definition at line 1670 of file postprocess_template.c.
|
inlinestatic |
Deinterlace the given block by filtering all lines with a (1 2 1) filter.
will be called for every 8x8 block and can read & write from line 4-15 lines 0-3 have been passed through the deblock / dering filters already, but can be read, too. lines 4-12 will be read into the deblocking filter and should be deinterlaced this filter will read lines 4-13 and write 4-11
Definition at line 1771 of file postprocess_template.c.
|
inlinestatic |
Deinterlace the given block by applying a median filter to every second line.
will be called for every 8x8 block and can read & write from line 4-15, lines 0-3 have been passed through the deblock / dering filters already, but can be read, too. lines 4-12 will be read into the deblocking filter and should be deinterlaced
Definition at line 1872 of file postprocess_template.c.
|
inlinestatic |
Definition at line 2158 of file postprocess_template.c.
|
static |
Filter array of bytes (Y or U or V values)
Definition at line 3306 of file postprocess_template.c.
|
inlinestatic |
Copy a block from src to dst and fixes the blacklevel.
levelFix == 0 -> do not touch the brightness & contrast
Definition at line 3088 of file postprocess_template.c.
|
inlinestatic |
Duplicate the given 8 src pixels ? times upward.
Definition at line 3216 of file postprocess_template.c.
|
inlinestatic |
Definition at line 3286 of file postprocess_template.c.
|
inlinestatic |
Definition at line 3290 of file postprocess_template.c.
|
inlinestatic |
Definition at line 3294 of file postprocess_template.c.
|
inlinestatic |
Definition at line 3298 of file postprocess_template.c.