Home
last modified time | relevance | path

Searched refs:y_plane (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dhelpers.c947 u32 y_stride, uv_stride, y_plane; in get_framesize_raw_nv12() local
956 y_plane = y_stride * y_sclines; in get_framesize_raw_nv12()
958 size = y_plane + uv_plane + SZ_8K; in get_framesize_raw_nv12()
966 u32 y_stride, y_plane; in get_framesize_raw_nv12_ubwc() local
976 y_plane = ALIGN(y_stride * ALIGN(height, 32), SZ_4K); in get_framesize_raw_nv12_ubwc()
985 return ALIGN(y_meta_plane + y_plane + uv_meta_plane + uv_plane + in get_framesize_raw_nv12_ubwc()
991 u32 y_plane, uv_plane, y_stride, uv_stride, y_sclines, uv_sclines; in get_framesize_raw_p010() local
997 y_plane = y_stride * y_sclines; in get_framesize_raw_p010()
1000 return ALIGN((y_plane + uv_plane), SZ_4K); in get_framesize_raw_p010()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c3422 int y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position() local
3453 y_pos = (y_pos - y_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position()
3458 y_pos = (y_pos - y_plane) * pipe_ctx->plane_state->src_rect.height / in dcn10_set_cursor_position()