|
FFmpeg
|
#include "libavutil/attributes.h"#include "libavutil/avassert.h"#include "libavutil/csp.h"#include "libavutil/frame.h"#include "libavutil/mem.h"#include "libavutil/mem_internal.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/pixfmt.h"#include "avfilter.h"#include "colorspacedsp.h"#include "filters.h"#include "formats.h"#include "video.h"#include "colorspace.h"Go to the source code of this file.
Data Structures | |
| struct | TransferCharacteristics |
| struct | ColorSpaceContext |
| struct | ThreadData |
| Used for passing data between threads. More... | |
Macros | |
| #define | supported_depth(d) |
| #define | supported_subsampling(lcw, lch) |
| #define | supported_format(d) |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
| #define | ENUM(x, y, z) |
Enumerations | |
| enum | DitherMode { DITHER_NONE , DITHER_FSB , DITHER_NB } |
| enum | Colorspace { CS_UNSPECIFIED , CS_BT470M , CS_BT470BG , CS_BT601_6_525 , CS_BT601_6_625 , CS_BT709 , CS_SMPTE170M , CS_SMPTE240M , CS_BT2020 , CS_NB } |
| enum | WhitepointAdaptation { WP_ADAPT_BRADFORD , WP_ADAPT_VON_KRIES , NB_WP_ADAPT_NON_IDENTITY , WP_ADAPT_IDENTITY = NB_WP_ADAPT_NON_IDENTITY , NB_WP_ADAPT } |
| enum | ClipGamutMode { CLIP_GAMUT_NONE , CLIP_GAMUT_RGB , NB_CLIP_GAMUT } |
Variables | |
| static enum AVColorTransferCharacteristic | default_trc [CS_NB+1] |
| static enum AVColorPrimaries | default_prm [CS_NB+1] |
| static enum AVColorSpace | default_csp [CS_NB+1] |
| static const struct TransferCharacteristics | transfer_characteristics [] |
| static const AVOption | colorspace_options [] |
| static const AVFilterPad | inputs [] |
| static const AVFilterPad | outputs [] |
| const FFFilter | ff_vf_colorspace |
| #define supported_depth | ( | d | ) |
| #define supported_subsampling | ( | lcw, | |
| lch ) |
| #define supported_format | ( | d | ) |
Referenced by create_filtergraph().
| #define OFFSET | ( | x | ) |
Definition at line 917 of file vf_colorspace.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 918 of file vf_colorspace.c.
| #define ENUM | ( | x, | |
| y, | |||
| z ) |
Definition at line 919 of file vf_colorspace.c.
| enum DitherMode |
| Enumerator | |
|---|---|
| DITHER_NONE | |
| DITHER_FSB | |
| DITHER_NB | |
Definition at line 43 of file vf_colorspace.c.
| enum Colorspace |
| Enumerator | |
|---|---|
| CS_UNSPECIFIED | |
| CS_BT470M | |
| CS_BT470BG | |
| CS_BT601_6_525 | |
| CS_BT601_6_625 | |
| CS_BT709 | |
| CS_SMPTE170M | |
| CS_SMPTE240M | |
| CS_BT2020 | |
| CS_NB | |
Definition at line 49 of file vf_colorspace.c.
| enum WhitepointAdaptation |
| Enumerator | |
|---|---|
| WP_ADAPT_BRADFORD | |
| WP_ADAPT_VON_KRIES | |
| NB_WP_ADAPT_NON_IDENTITY | |
| WP_ADAPT_IDENTITY | |
| NB_WP_ADAPT | |
Definition at line 62 of file vf_colorspace.c.
| enum ClipGamutMode |
| Enumerator | |
|---|---|
| CLIP_GAMUT_NONE | |
| CLIP_GAMUT_RGB | |
| NB_CLIP_GAMUT | |
Definition at line 70 of file vf_colorspace.c.
|
static |
Definition at line 192 of file vf_colorspace.c.
Referenced by create_filtergraph().
|
static |
Definition at line 205 of file vf_colorspace.c.
Referenced by create_filtergraph().
|
static |
Definition at line 254 of file vf_colorspace.c.
Referenced by create_filtergraph().
|
static |
Definition at line 292 of file vf_colorspace.c.
Referenced by convert().
|
static |
Definition at line 315 of file vf_colorspace.c.
|
static |
Definition at line 385 of file vf_colorspace.c.
Referenced by create_filtergraph().
|
static |
Definition at line 415 of file vf_colorspace.c.
Referenced by filter_frame().
|
static |
Definition at line 684 of file vf_colorspace.c.
|
static |
Definition at line 713 of file vf_colorspace.c.
Referenced by filter_frame().
|
static |
Definition at line 731 of file vf_colorspace.c.
|
static |
Definition at line 856 of file vf_colorspace.c.
|
static |
Definition at line 898 of file vf_colorspace.c.
| AVFILTER_DEFINE_CLASS | ( | colorspace | ) |
|
static |
Definition at line 76 of file vf_colorspace.c.
Referenced by create_filtergraph(), and filter_frame().
|
static |
Definition at line 89 of file vf_colorspace.c.
Referenced by create_filtergraph(), and filter_frame().
|
static |
Definition at line 102 of file vf_colorspace.c.
Referenced by create_filtergraph(), and init().
|
static |
Definition at line 178 of file vf_colorspace.c.
Referenced by color_config(), frame_header(), get_transfer_characteristics(), h264_metadata_update_sps(), mpeg2_metadata_init(), parse_mpeg2_extension_descriptor(), sequence_display_extension(), vui_parameters(), vui_parameters(), vui_parameters(), vui_parameters_default(), and vui_parameters_default().
|
static |
Definition at line 921 of file vf_colorspace.c.
|
static |
Definition at line 1049 of file vf_colorspace.c.
|
static |
Definition at line 1057 of file vf_colorspace.c.
| const FFFilter ff_vf_colorspace |
Definition at line 1065 of file vf_colorspace.c.