.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2016 MediaTek Inc. |
---|
3 | 4 | * Author: PC Chen <pc.chen@mediatek.com> |
---|
4 | 5 | * Tiffany Lin <tiffany.lin@mediatek.com> |
---|
5 | | -* |
---|
6 | | -* This program is free software; you can redistribute it and/or modify |
---|
7 | | -* it under the terms of the GNU General Public License version 2 as |
---|
8 | | -* published by the Free Software Foundation. |
---|
9 | | -* |
---|
10 | | -* This program is distributed in the hope that it will be useful, |
---|
11 | | -* but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | -* GNU General Public License for more details. |
---|
14 | 6 | */ |
---|
15 | 7 | |
---|
16 | 8 | #ifndef _MTK_VCODEC_UTIL_H_ |
---|
.. | .. |
---|
25 | 17 | dma_addr_t dma_addr; |
---|
26 | 18 | }; |
---|
27 | 19 | |
---|
| 20 | +struct mtk_vcodec_fb { |
---|
| 21 | + size_t size; |
---|
| 22 | + dma_addr_t dma_addr; |
---|
| 23 | +}; |
---|
| 24 | + |
---|
28 | 25 | struct mtk_vcodec_ctx; |
---|
29 | 26 | struct mtk_vcodec_dev; |
---|
30 | 27 | |
---|