kernel_samsung_a34x-permissive/drivers/gpu/drm/mediatek/mtk_rect.h
2024-04-28 15:51:13 +02:00

23 lines
472 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
*/
#ifndef _MTK_RECT_H_
#define _MTK_RECT_H_
struct mtk_rect {
int x;
int y;
int width;
int height;
};
void mtk_rect_make(struct mtk_rect *in, int left, int top, int width,
int height);
void mtk_rect_set(struct mtk_rect *in, int left, int top, int right,
int bottom);
void mtk_rect_join(const struct mtk_rect *in1, const struct mtk_rect *in2,
struct mtk_rect *out);
#endif