Go to the source code of this file.
Classes | |
| struct | ThisFilter |
Typedefs | |
| typedef struct ThisFilter | ThisFilter |
Functions | |
| static void | adjustRegion (uint8_t *buf, uint8_t *end, const uint8_t *table) |
| static void | adjustRegionMMX (uint8_t *buf, uint8_t *end, const uint8_t *table, const mmx_t *shift, const mmx_t *scale, const mmx_t *min, const mmx_t *clamp1, const mmx_t *clamp2) |
| static int | adjustFilter (VideoFilter *vf, VideoFrame *frame, int field) |
| static void | fillTable (uint8_t *table, int in_min, int in_max, int out_min, int out_max, float gamma) |
| static int | fillTableMMX (uint8_t *table, mmx_t *shift, mmx_t *scale, mmx_t *min, int in_min, int in_max, int out_min, int out_max, float gamma) |
| static VideoFilter * | newAdjustFilter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, int *width, int *height, char *options, int threads) |
Variables | |
| static const mmx_t | mm_cpool [] |
| static FmtConv | FmtList [] |
| ConstFilterInfo | filter_table [] |
| typedef struct ThisFilter ThisFilter |
Definition at line 57 of file filter_adjust.c.
Referenced by adjustFilter().
| static void adjustRegionMMX | ( | uint8_t * | buf, | |
| uint8_t * | end, | |||
| const uint8_t * | table, | |||
| const mmx_t * | shift, | |||
| const mmx_t * | scale, | |||
| const mmx_t * | min, | |||
| const mmx_t * | clamp1, | |||
| const mmx_t * | clamp2 | |||
| ) | [static] |
Definition at line 67 of file filter_adjust.c.
Referenced by adjustFilter().
| static int adjustFilter | ( | VideoFilter * | vf, | |
| VideoFrame * | frame, | |||
| int | field | |||
| ) | [static] |
Definition at line 139 of file filter_adjust.c.
Referenced by newAdjustFilter().
| static void fillTable | ( | uint8_t * | table, | |
| int | in_min, | |||
| int | in_max, | |||
| int | out_min, | |||
| int | out_max, | |||
| float | gamma | |||
| ) | [static] |
Definition at line 192 of file filter_adjust.c.
Referenced by fillTableMMX(), and newAdjustFilter().
| static int fillTableMMX | ( | uint8_t * | table, | |
| mmx_t * | shift, | |||
| mmx_t * | scale, | |||
| mmx_t * | min, | |||
| int | in_min, | |||
| int | in_max, | |||
| int | out_min, | |||
| int | out_max, | |||
| float | gamma | |||
| ) | [static] |
Definition at line 208 of file filter_adjust.c.
Referenced by newAdjustFilter().
| static VideoFilter* newAdjustFilter | ( | VideoFrameType | inpixfmt, | |
| VideoFrameType | outpixfmt, | |||
| int * | width, | |||
| int * | height, | |||
| char * | options, | |||
| int | threads | |||
| ) | [static] |
Definition at line 239 of file filter_adjust.c.
{
{ w: {1, 1, 1, 1} },
{ ub: {36, 36, 36, 36, 36, 36, 36, 36} },
{ ub: {20, 20, 20, 20, 20, 20, 20, 20} },
{ ub: {31, 31, 31, 31, 31, 31, 31, 31} },
{ ub: {15, 15, 15, 15, 15, 15, 15, 15} }
}
Definition at line 24 of file filter_adjust.c.
{
{ FMT_YV12, FMT_YV12 },
{ FMT_YUV422P, FMT_YUV422P },
FMT_NULL
}
Definition at line 308 of file filter_adjust.c.
{
{
filter_init: &newAdjustFilter,
name: "adjust",
descript: "adjust range and gamma of video",
formats: FmtList,
libname: NULL
},
FILT_NULL
}
Definition at line 315 of file filter_adjust.c.
1.6.3