Home
last modified time | relevance | path

Searched refs:color_space (Results 1 – 25 of 28) sorted by relevance

12

/drivers/gpu/drm/amd/display/dc/core/
Ddc_hw_sequencer.c103 enum dc_color_space color_space) in is_rgb_type() argument
107 if (color_space == COLOR_SPACE_SRGB || in is_rgb_type()
108 color_space == COLOR_SPACE_XR_RGB || in is_rgb_type()
109 color_space == COLOR_SPACE_MSREF_SCRGB || in is_rgb_type()
110 color_space == COLOR_SPACE_2020_RGB_FULLRANGE || in is_rgb_type()
111 color_space == COLOR_SPACE_ADOBERGB || in is_rgb_type()
112 color_space == COLOR_SPACE_DCIP3 || in is_rgb_type()
113 color_space == COLOR_SPACE_DOLBYVISION) in is_rgb_type()
119 enum dc_color_space color_space) in is_rgb_limited_type() argument
123 if (color_space == COLOR_SPACE_SRGB_LIMITED || in is_rgb_limited_type()
[all …]
Ddc_resource.c2122 enum dc_color_space color_space = COLOR_SPACE_UNKNOWN; in set_avi_info_frame() local
2139 color_space = pipe_ctx->stream->output_color_space; in set_avi_info_frame()
2140 if (color_space == COLOR_SPACE_UNKNOWN) in set_avi_info_frame()
2141 color_space = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? in set_avi_info_frame()
2191 if (color_space == COLOR_SPACE_YCBCR709 || in set_avi_info_frame()
2192 color_space == COLOR_SPACE_YCBCR709_LIMITED) in set_avi_info_frame()
2194 else if (color_space == COLOR_SPACE_YCBCR601 || in set_avi_info_frame()
2195 color_space == COLOR_SPACE_YCBCR601_LIMITED) in set_avi_info_frame()
2200 if (color_space == COLOR_SPACE_2020_RGB_FULLRANGE || in set_avi_info_frame()
2201 color_space == COLOR_SPACE_2020_RGB_LIMITEDRANGE || in set_avi_info_frame()
[all …]
Ddc_debug.c164 plane_state->color_space, in pre_surface_trace()
212 update->plane_info->color_space, in update_surface_trace()
Ddc.c1355 if (u->plane_info->color_space != u->surface->color_space) { in get_plane_info_update_type()
1686 surface->color_space = in copy_surface_update_to_plane()
1687 srf_update->plane_info->color_space; in copy_surface_update_to_plane()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c303 enum dc_color_space color_space; in dpp1_cnv_setup() local
314 color_space = COLOR_SPACE_SRGB; in dpp1_cnv_setup()
360 color_space = COLOR_SPACE_YCBCR709; in dpp1_cnv_setup()
366 color_space = COLOR_SPACE_YCBCR709; in dpp1_cnv_setup()
372 color_space = COLOR_SPACE_YCBCR709; in dpp1_cnv_setup()
378 color_space = COLOR_SPACE_YCBCR709; in dpp1_cnv_setup()
395 color_space = input_color_space ? input_color_space : color_space; in dpp1_cnv_setup()
408 tbl_entry.color_space = color_space; in dpp1_cnv_setup()
410 if (color_space >= COLOR_SPACE_YCBCR601) in dpp1_cnv_setup()
415 dpp1_program_input_csc(dpp_base, color_space, select, &tbl_entry); in dpp1_cnv_setup()
[all …]
Ddcn10_dpp_cm.c440 enum dc_color_space color_space, in dpp1_program_input_csc() argument
459 if (dpp_input_csc_matrix[i].color_space == color_space) { in dpp1_program_input_csc()
Ddcn10_hw_sequencer.c737 enum dc_color_space color_space; in dcn10_enable_stream_timing() local
784 color_space = stream->output_color_space; in dcn10_enable_stream_timing()
785 color_space_to_black_color(dc, color_space, &black_color); in dcn10_enable_stream_timing()
2171 plane_state->color_space, in update_dpp()
2174 plane_state->color_space); in update_dpp()
2414 enum dc_color_space color_space; in dcn10_blank_pixel_data() local
2420 color_space = stream->output_color_space; in dcn10_blank_pixel_data()
2421 color_space_to_black_color(dc, color_space, &black_color); in dcn10_blank_pixel_data()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c106 enum dc_color_space color_space = COLOR_SPACE_SRGB; in dpp2_cnv_setup() local
147 color_space = COLOR_SPACE_YCBCR709; in dpp2_cnv_setup()
153 color_space = COLOR_SPACE_YCBCR709; in dpp2_cnv_setup()
159 color_space = COLOR_SPACE_YCBCR709; in dpp2_cnv_setup()
165 color_space = COLOR_SPACE_YCBCR709; in dpp2_cnv_setup()
179 color_space = COLOR_SPACE_YCBCR709; in dpp2_cnv_setup()
190 color_space = COLOR_SPACE_YCBCR709; in dpp2_cnv_setup()
196 color_space = COLOR_SPACE_YCBCR709; in dpp2_cnv_setup()
227 tbl_entry.color_space = input_color_space; in dpp2_cnv_setup()
229 if (color_space >= COLOR_SPACE_YCBCR601) in dpp2_cnv_setup()
[all …]
Ddcn20_mpc.c169 enum dc_color_space color_space, in mpc2_set_ocsc_default() argument
181 regval = find_color_matrix(color_space, &arr_size); in mpc2_set_ocsc_default()
Ddcn20_hwseq.c198 enum dc_color_space color_space; in dcn20_init_blank() local
206 color_space = COLOR_SPACE_SRGB; in dcn20_init_blank()
207 color_space_to_black_color(dc, color_space, &black_color); in dcn20_init_blank()
856 enum dc_color_space color_space = stream->output_color_space; in dcn20_blank_pixel_data() local
865 color_space_to_black_color(dc, color_space, &black_color); in dcn20_blank_pixel_data()
Ddcn20_mpc.h278 enum dc_color_space color_space,
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_opp_csc_v.c362 enum dc_color_space color_space) in configure_graphics_mode_v() argument
378 switch (color_space) { in configure_graphics_mode_v()
413 switch (color_space) { in configure_graphics_mode_v()
507 enum dc_color_space color_space; member
532 struct transform *xfm, enum dc_color_space color_space) in program_input_csc() argument
542 if (input_csc_matrix[i].color_space == color_space) { in program_input_csc()
695 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_v_set_csc_default()
734 tbl_entry->color_space); in dce110_opp_v_set_csc_adjustment()
Ddce110_hw_sequencer.c2118 default_adjust.in_color_space = pipe_ctx->plane_state->color_space; in set_default_colors()
2486 tbl_entry.color_space = in dce110_program_front_end_for_pipe()
2671 enum dc_color_space color_space = pipe_ctx->stream->output_color_space; in program_output_csc() local
2676 tbl_entry.color_space = color_space; in program_output_csc()
/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.h75 enum color_space { enum
137 enum color_space color_space; member
Danalogix_dp_core.c1535 video->color_space = COLOR_YCBCR444; in analogix_dp_bridge_mode_set()
1537 video->color_space = COLOR_YCBCR422; in analogix_dp_bridge_mode_set()
1539 video->color_space = COLOR_RGB; in analogix_dp_bridge_mode_set()
1549 &video->color_space); in analogix_dp_bridge_mode_set()
Danalogix_dp_reg.c839 (dp->video_info.color_space << IN_COLOR_F_SHIFT); in analogix_dp_set_video_color_format()
/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-msg-format.h40 u32 color_space; member
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1002 enum dc_color_space color_space) in configure_graphics_mode() argument
1013 switch (color_space) { in configure_graphics_mode()
1041 switch (color_space) { in configure_graphics_mode()
1090 tbl_entry->color_space); in dce110_opp_set_csc_adjustment()
1117 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_set_csc_default()
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h250 enum dc_color_space color_space,
Dhw_shared.h180 enum dc_color_space color_space; member
Ddpp.h50 enum dc_color_space color_space; member
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2918 enum dc_color_space *color_space) in fill_plane_color_attributes() argument
2922 *color_space = COLOR_SPACE_SRGB; in fill_plane_color_attributes()
2933 *color_space = COLOR_SPACE_YCBCR601; in fill_plane_color_attributes()
2935 *color_space = COLOR_SPACE_YCBCR601_LIMITED; in fill_plane_color_attributes()
2940 *color_space = COLOR_SPACE_YCBCR709; in fill_plane_color_attributes()
2942 *color_space = COLOR_SPACE_YCBCR709_LIMITED; in fill_plane_color_attributes()
2947 *color_space = COLOR_SPACE_2020_YCBCR; in fill_plane_color_attributes()
3035 &plane_info->color_space); in fill_dc_plane_info_and_addr()
3087 dc_plane_state->color_space = plane_info.color_space; in fill_dc_plane_attributes()
3229 enum dc_color_space color_space = COLOR_SPACE_SRGB; in get_output_color_space() local
[all …]
/drivers/gpu/drm/amd/display/dc/
Ddc.h738 enum dc_color_space color_space; member
779 enum dc_color_space color_space; member
/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer.h353 enum dc_color_space color_space,
/drivers/media/i2c/
Dtvp7002.c321 enum v4l2_colorspace color_space; member
828 fmt->format.colorspace = tvp7002->current_timings->color_space; in tvp7002_get_pad_format()

12