/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_hw_sequencer.c | 103 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 …]
|
D | dc_resource.c | 2122 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 …]
|
D | dc_debug.c | 164 plane_state->color_space, in pre_surface_trace() 212 update->plane_info->color_space, in update_surface_trace()
|
D | dc.c | 1355 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/ |
D | dcn10_dpp.c | 303 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 …]
|
D | dcn10_dpp_cm.c | 440 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()
|
D | dcn10_hw_sequencer.c | 737 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/ |
D | dcn20_dpp.c | 106 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 …]
|
D | dcn20_mpc.c | 169 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()
|
D | dcn20_hwseq.c | 198 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()
|
D | dcn20_mpc.h | 278 enum dc_color_space color_space,
|
/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_opp_csc_v.c | 362 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()
|
D | dce110_hw_sequencer.c | 2118 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/ |
D | analogix_dp_core.h | 75 enum color_space { enum 137 enum color_space color_space; member
|
D | analogix_dp_core.c | 1535 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()
|
D | analogix_dp_reg.c | 839 (dp->video_info.color_space << IN_COLOR_F_SHIFT); in analogix_dp_set_video_color_format()
|
/drivers/staging/vc04_services/bcm2835-camera/ |
D | mmal-msg-format.h | 40 u32 color_space; member
|
/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 1002 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/ |
D | mpc.h | 250 enum dc_color_space color_space,
|
D | hw_shared.h | 180 enum dc_color_space color_space; member
|
D | dpp.h | 50 enum dc_color_space color_space; member
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 2918 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/ |
D | dc.h | 738 enum dc_color_space color_space; member 779 enum dc_color_space color_space; member
|
/drivers/gpu/drm/amd/display/dc/inc/ |
D | hw_sequencer.h | 353 enum dc_color_space color_space,
|
/drivers/media/i2c/ |
D | tvp7002.c | 321 enum v4l2_colorspace color_space; member 828 fmt->format.colorspace = tvp7002->current_timings->color_space; in tvp7002_get_pad_format()
|