Home
last modified time | relevance | path

Searched refs:color_standard (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/xvmc/
Dattributes.c102 context_priv->color_standard = value ? in XvMCSetAttribute()
110 context_priv->color_standard, in XvMCSetAttribute()
146 *value = context_priv->color_standard == VL_CSC_COLOR_STANDARD_BT_709; in XvMCGetAttribute()
Dxvmc_private.h57 enum VL_CSC_COLOR_STANDARD color_standard; member
Dcontext.c288 context_priv->color_standard = in XvMCCreateContext()
295 context_priv->color_standard, in XvMCCreateContext()
/third_party/ffmpeg/libavcodec/
Dmediacodecdec_common.c112 static enum AVColorSpace mcdec_get_color_space(int color_standard) in mcdec_get_color_space() argument
114 switch (color_standard) { in mcdec_get_color_space()
128 static enum AVColorPrimaries mcdec_get_color_pri(int color_standard) in mcdec_get_color_pri() argument
130 switch (color_standard) { in mcdec_get_color_pri()
455 int color_standard = 0; in mediacodec_dec_parse_format() local
519 AMEDIAFORMAT_GET_INT32(color_standard, "color-standard", 0); in mediacodec_dec_parse_format()
520 if (color_standard) { in mediacodec_dec_parse_format()
521 avctx->colorspace = mcdec_get_color_space(color_standard); in mediacodec_dec_parse_format()
522 avctx->color_primaries = mcdec_get_color_pri(color_standard); in mediacodec_dec_parse_format()