1 /*
2  * Copyright (C) 2019 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef _EXYNOS_MPP_MODULE_H
17 #define _EXYNOS_MPP_MODULE_H
18 
19 #include "ExynosMPP.h"
20 
21 #define MAX_DPP_ROT_SRC_SIZE (3040*1440)
22 
23 namespace gs101 {
24 
25 class ExynosMPPModule : public ExynosMPP {
26     public:
27         ExynosMPPModule(ExynosResourceManager* resourceManager, uint32_t physicalType, uint32_t logicalType, const char *name,
28             uint32_t physicalIndex, uint32_t logicalIndex, uint32_t preAssignInfo);
29         ~ExynosMPPModule();
30         virtual uint32_t getSrcXOffsetAlign(struct exynos_image &src);
31         virtual int32_t setColorConversionInfo();
32     public:
33         uint32_t mChipId;
34 };
35 
36 }  // namespace gs101
37 
38 #endif
39