HomeSort by: relevance | last modified time | path
    Searched defs:surf_src (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
amdgpu_dc_resource.c 545 struct rect surf_src = plane_state->src_rect; local in function:calculate_viewport
607 /* offset = surf_src.ofs + (clip.ofs - surface->dst_rect.ofs) * scl_ratio
610 data->viewport.x = surf_src.x + (clip.x - dest.x) * surf_src.width / dest.width;
611 data->viewport.width = clip.width * surf_src.width / dest.width;
613 data->viewport.y = surf_src.y + (clip.y - dest.y) * surf_src.height / dest.height;
614 data->viewport.height = clip.height * surf_src.height / dest.height;
710 struct rect surf_src = plane_state->src_rect; local in function:calculate_scaling_ratios
716 /*Swap surf_src height and width since scaling ratios are in recout rotation*
    [all...]
amdgpu_dc_resource.c 545 struct rect surf_src = plane_state->src_rect; local in function:calculate_viewport
607 /* offset = surf_src.ofs + (clip.ofs - surface->dst_rect.ofs) * scl_ratio
610 data->viewport.x = surf_src.x + (clip.x - dest.x) * surf_src.width / dest.width;
611 data->viewport.width = clip.width * surf_src.width / dest.width;
613 data->viewport.y = surf_src.y + (clip.y - dest.y) * surf_src.height / dest.height;
614 data->viewport.height = clip.height * surf_src.height / dest.height;
710 struct rect surf_src = plane_state->src_rect; local in function:calculate_scaling_ratios
716 /*Swap surf_src height and width since scaling ratios are in recout rotation*
    [all...]

Completed in 26 milliseconds