Searched refs:in_taps (Results 1 – 7 of 7) sorted by relevance
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ |
H A D | amdgpu_dcn20_dpp.c | 382 const struct scaling_taps *in_taps) in dpp2_get_optimal_number_of_taps() argument 409 if (in_taps->h_taps == 0) { in dpp2_get_optimal_number_of_taps() 415 scl_data->taps.h_taps = in_taps->h_taps; in dpp2_get_optimal_number_of_taps() 416 if (in_taps->v_taps == 0) { in dpp2_get_optimal_number_of_taps() 422 scl_data->taps.v_taps = in_taps->v_taps; in dpp2_get_optimal_number_of_taps() 423 if (in_taps->v_taps_c == 0) { in dpp2_get_optimal_number_of_taps() 429 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp2_get_optimal_number_of_taps() 430 if (in_taps->h_taps_c == 0) { in dpp2_get_optimal_number_of_taps() 435 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp2_get_optimal_number_of_taps() 437 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp2_get_optimal_number_of_taps() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
H A D | amdgpu_dcn10_dpp.c | 140 const struct scaling_taps *in_taps) in dpp1_get_optimal_number_of_taps() argument 174 if (in_taps->h_taps == 0) in dpp1_get_optimal_number_of_taps() 177 scl_data->taps.h_taps = in_taps->h_taps; in dpp1_get_optimal_number_of_taps() 178 if (in_taps->v_taps == 0) in dpp1_get_optimal_number_of_taps() 181 scl_data->taps.v_taps = in_taps->v_taps; in dpp1_get_optimal_number_of_taps() 182 if (in_taps->v_taps_c == 0) in dpp1_get_optimal_number_of_taps() 185 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp1_get_optimal_number_of_taps() 186 if (in_taps->h_taps_c == 0) in dpp1_get_optimal_number_of_taps() 189 else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp1_get_optimal_number_of_taps() 190 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp1_get_optimal_number_of_taps() [all …]
|
H A D | dcn10_dpp.h | 1508 const struct scaling_taps *in_taps);
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/ |
H A D | amdgpu_dce_transform.c | 874 static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma) in decide_taps() argument 880 } else if (in_taps != 0) { in decide_taps() 881 taps = in_taps; in decide_taps() 899 const struct scaling_taps *in_taps) in dce_transform_get_optimal_number_of_taps() argument 915 if (in_taps->v_taps >= max_num_of_lines) in dce_transform_get_optimal_number_of_taps() 927 scl_data->taps.h_taps = decide_taps(scl_data->ratios.horz, in_taps->h_taps, false); in dce_transform_get_optimal_number_of_taps() 928 scl_data->taps.v_taps = decide_taps(scl_data->ratios.vert, in_taps->v_taps, false); in dce_transform_get_optimal_number_of_taps() 929 scl_data->taps.h_taps_c = decide_taps(scl_data->ratios.horz_c, in_taps->h_taps, true); in dce_transform_get_optimal_number_of_taps() 930 scl_data->taps.v_taps_c = decide_taps(scl_data->ratios.vert_c, in_taps->v_taps, true); in dce_transform_get_optimal_number_of_taps() 934 if (in_taps->v_taps == 0 in dce_transform_get_optimal_number_of_taps()
|
H A D | dce_transform.h | 497 const struct scaling_taps *in_taps);
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
H A D | dpp.h | 149 const struct scaling_taps *in_taps);
|
H A D | transform.h | 200 const struct scaling_taps *in_taps);
|