
Data Structures | |
| struct | filter_sys_t |
| filter_sys_t: chroma method descriptor More... | |
Defines | |
| #define | COMPONENT_TEXT N_("RGB component to extract") |
| #define | COMPONENT_LONGTEXT N_("RGB component to extract. 0 for Red, 1 for Green and 2 for Blue.") |
| #define | FILTER_PREFIX "extract-" |
| #define | U 128 |
| #define | V 128 |
Enumerations | |
| enum | { RED = 0xFF0000, GREEN = 0x00FF00, BLUE = 0x0000FF } |
Functions | |
| static int | Create (vlc_object_t *) |
| static void | Destroy (vlc_object_t *) |
| static picture_t * | Filter (filter_t *, picture_t *) |
| static int | ExtractCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| static void | get_red_from_yuv420 (picture_t *, picture_t *, int, int, int) |
| static void | get_green_from_yuv420 (picture_t *, picture_t *, int, int, int) |
| static void | get_blue_from_yuv420 (picture_t *, picture_t *, int, int, int) |
| static void | get_red_from_yuv422 (picture_t *, picture_t *, int, int, int) |
| static void | get_green_from_yuv422 (picture_t *, picture_t *, int, int, int) |
| static void | get_blue_from_yuv422 (picture_t *, picture_t *, int, int, int) |
| static void | make_projection_matrix (filter_t *, int color, int *matrix) |
| static void | get_custom_from_yuv420 (picture_t *, picture_t *, int, int, int, int *) |
| static void | get_custom_from_yuv422 (picture_t *, picture_t *, int, int, int, int *) |
| static void | get_custom_from_packedyuv422 (picture_t *, picture_t *, int *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static uint8_t | crop (int a) |
| static void | mmult (double *res, double *a, double *b) |
Variables | |
| static const int | pi_component_values [] = { 0xFF0000, 0x00FF00, 0x0000FF } |
| static const char *const | ppsz_component_descriptions [] |
| static const char *const | ppsz_filter_options [] |
| #define COMPONENT_LONGTEXT N_("RGB component to extract. 0 for Red, 1 for Green and 2 for Blue.") |
| #define COMPONENT_TEXT N_("RGB component to extract") |
| #define FILTER_PREFIX "extract-" |
| #define U 128 |
| #define V 128 |
| static int Create | ( | vlc_object_t * | p_this | ) | [static] |
References CASE_PACKED_YUV_422, config_ChainParse, ExtractCallback(), Filter(), FILTER_PREFIX, filter_t::fmt_in, video_format_t::i_chroma, filter_sys_t::i_color, filter_sys_t::lock, make_projection_matrix(), msg_Err, filter_t::p_cfg, filter_t::p_sys, ppsz_filter_options, filter_sys_t::projection_matrix, var_AddCallback, var_CreateGetIntegerCommand, es_format_t::video, VLC_CODEC_I420, VLC_CODEC_I422, VLC_CODEC_J420, VLC_CODEC_J422, VLC_CODEC_YV12, VLC_EGENERIC, VLC_ENOMEM, vlc_mutex_init(), and VLC_SUCCESS.
| static uint8_t crop | ( | int | a | ) | [inline, static] |
| static void Destroy | ( | vlc_object_t * | p_this | ) | [static] |
| static int ExtractCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References BLUE, CASE_PACKED_YUV_422, CopyInfoAndRelease(), filter_NewPicture(), picture_t::format, get_blue_from_yuv420(), get_blue_from_yuv422(), get_custom_from_packedyuv422(), get_custom_from_yuv420(), get_custom_from_yuv422(), get_green_from_yuv420(), get_green_from_yuv422(), get_red_from_yuv420(), get_red_from_yuv422(), GREEN, video_format_t::i_chroma, filter_sys_t::i_color, filter_sys_t::lock, msg_Warn, filter_t::p_sys, p_sys, picture_Release(), filter_sys_t::projection_matrix, RED, U_PLANE, V_PLANE, VLC_CODEC_I420, VLC_CODEC_I422, VLC_CODEC_J420, VLC_CODEC_J422, VLC_CODEC_YV12, vlc_mutex_lock(), vlc_mutex_unlock(), and Y_PLANE.
| static void get_blue_from_yuv420 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void get_blue_from_yuv422 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void get_custom_from_packedyuv422 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int * | m | |||
| ) | [static] |
References crop(), picture_t::format, GetPackedYuvOffsets(), video_format_t::i_chroma, plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, V, and VLC_SUCCESS.
Referenced by Filter().
| static void get_custom_from_yuv420 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp, | |||
| int * | m | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void get_custom_from_yuv422 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp, | |||
| int * | m | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void get_green_from_yuv420 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void get_green_from_yuv422 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void get_red_from_yuv420 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void get_red_from_yuv422 | ( | picture_t * | p_inpic, | |
| picture_t * | p_outpic, | |||
| int | yp, | |||
| int | up, | |||
| int | vp | |||
| ) | [static] |
References crop(), plane_t::i_pitch, plane_t::i_visible_lines, plane_t::i_visible_pitch, picture_t::p, plane_t::p_pixels, U, and V.
Referenced by Filter().
| static void make_projection_matrix | ( | filter_t * | p_filter, | |
| int | color, | |||
| int * | matrix | |||
| ) | [static] |
| static void mmult | ( | double * | res, | |
| double * | a, | |||
| double * | b | |||
| ) | [static] |
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const int pi_component_values[] = { 0xFF0000, 0x00FF00, 0x0000FF } [static] |
const char* const ppsz_component_descriptions[] [static] |
Initial value:
{
"Red", "Green", "Blue" }
const char* const ppsz_filter_options[] [static] |
Initial value:
{
"component", NULL
}
1.5.6