mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-09-26 19:04:54 +00:00
24 lines
474 B
C
24 lines
474 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2021 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
|