Home
last modified time | relevance | path

Searched refs:planeType (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/img/hwcomposer/merrifield/ips/common/
DPlaneCapabilities.cpp36 bool PlaneCapabilities::isFormatSupported(int planeType, HwcLayer *hwcLayer) in isFormatSupported() argument
41 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isFormatSupported()
53 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isFormatSupported()
74 ETRACE("invalid plane type %d", planeType); in isFormatSupported()
79 bool PlaneCapabilities::isSizeSupported(int planeType, HwcLayer *hwcLayer) in isSizeSupported() argument
89 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isSizeSupported()
105 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isSizeSupported()
134 ETRACE("invalid plane type %d", planeType); in isSizeSupported()
139 bool PlaneCapabilities::isBlendingSupported(int planeType, HwcLayer *hwcLayer) in isBlendingSupported() argument
144 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isBlendingSupported()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DPlaneCapabilities.cpp34 bool PlaneCapabilities::isFormatSupported(int planeType, HwcLayer *hwcLayer) in isFormatSupported() argument
39 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isFormatSupported()
51 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isFormatSupported()
72 ELOGTRACE("invalid plane type %d", planeType); in isFormatSupported()
77 bool PlaneCapabilities::isSizeSupported(int planeType, HwcLayer *hwcLayer) in isSizeSupported() argument
85 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isSizeSupported()
102 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isSizeSupported()
131 ELOGTRACE("invalid plane type %d", planeType); in isSizeSupported()
136 bool PlaneCapabilities::isBlendingSupported(int planeType, HwcLayer *hwcLayer) in isBlendingSupported() argument
140 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isBlendingSupported()
[all …]
DAnnPlaneManager.cpp181 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in isValidZOrder()
189 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
190 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
209 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
210 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
237 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
282 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in assignPlanes()
307 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY && in assignPlanes()
309 ELOGTRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
313 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DPlaneCapabilities.cpp38 bool PlaneCapabilities::isFormatSupported(int planeType, HwcLayer *hwcLayer) in isFormatSupported() argument
43 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isFormatSupported()
55 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isFormatSupported()
75 ETRACE("invalid plane type %d", planeType); in isFormatSupported()
80 bool PlaneCapabilities::isSizeSupported(int planeType, HwcLayer *hwcLayer) in isSizeSupported() argument
90 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isSizeSupported()
107 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isSizeSupported()
153 ETRACE("invalid plane type %d", planeType); in isSizeSupported()
158 bool PlaneCapabilities::isBlendingSupported(int planeType, HwcLayer *hwcLayer) in isBlendingSupported() argument
163 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isBlendingSupported()
[all …]
DAnnPlaneManager.cpp200 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
216 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in isValidZOrder()
224 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
225 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
244 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder()
245 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder()
272 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
316 if (config[i]->planeType == DisplayPlane::PLANE_CURSOR) { in assignPlanes()
342 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY && in assignPlanes()
344 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
[all …]
/hardware/intel/img/hwcomposer/merrifield/include/
DPlaneCapabilities.h28 static bool isFormatSupported(int planeType, HwcLayer *hwcLayer);
29 static bool isSizeSupported(int planeType, HwcLayer *hwcLayer);
30 static bool isBlendingSupported(int planeType, HwcLayer *hwcLayer);
31 static bool isScalingSupported(int planeType, HwcLayer *hwcLayer);
32 static bool isTransformSupported(int planeType, HwcLayer *hwcLayer);
DDisplayPlaneManager.h37 int planeType; member
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DPlaneCapabilities.h28 static bool isFormatSupported(int planeType, HwcLayer *hwcLayer);
29 static bool isSizeSupported(int planeType, HwcLayer *hwcLayer);
30 static bool isBlendingSupported(int planeType, HwcLayer *hwcLayer);
31 static bool isScalingSupported(int planeType, HwcLayer *hwcLayer);
32 static bool isTransformSupported(int planeType, HwcLayer *hwcLayer);
DDisplayPlaneManager.h37 int planeType; member
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngPlaneManager.cpp90 switch (layer->planeType) { in isValidZOrder()
127 if (!getFreePlanes(dsp, layer->planeType)) { in assignPlanes()
128 DTRACE("no plane available for dsp %d, type %d", dsp, layer->planeType); in assignPlanes()
133 if (config.size() == 1 && config[0]->planeType == DisplayPlane::PLANE_SPRITE) { in assignPlanes()
134 config[0]->planeType == DisplayPlane::PLANE_PRIMARY; in assignPlanes()
140 layer->plane = getPlaneHelper(dsp, layer->planeType); in assignPlanes()
143 ETRACE("failed to assign plane for type %d", layer->planeType); in assignPlanes()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcLayerList.cpp48 bool HwcLayerList::checkSupported(int planeType, HwcLayer *hwcLayer) in checkSupported() argument
61 VLOGTRACE("plane type %d: (skip layer flag was set)", planeType); in checkSupported()
77 valid = PlaneCapabilities::isTransformSupported(planeType, hwcLayer); in checkSupported()
79 VLOGTRACE("plane type %d: (bad transform)", planeType); in checkSupported()
84 valid = PlaneCapabilities::isFormatSupported(planeType, hwcLayer); in checkSupported()
86 VLOGTRACE("plane type %d: (bad buffer format)", planeType); in checkSupported()
91 valid = PlaneCapabilities::isSizeSupported(planeType, hwcLayer); in checkSupported()
93 VLOGTRACE("plane type %d: (bad buffer size)", planeType); in checkSupported()
98 valid = PlaneCapabilities::isBlendingSupported(planeType, hwcLayer); in checkSupported()
100 VLOGTRACE("plane type %d: (bad blending)", planeType); in checkSupported()
[all …]
DHwcLayerList.h50 bool checkSupported(int planeType, HwcLayer *hwcLayer);
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcLayerList.cpp49 bool HwcLayerList::checkSupported(int planeType, HwcLayer *hwcLayer) in checkSupported() argument
62 VTRACE("plane type %d: (skip layer flag was set)", planeType); in checkSupported()
78 valid = PlaneCapabilities::isTransformSupported(planeType, hwcLayer); in checkSupported()
80 VTRACE("plane type %d: (bad transform)", planeType); in checkSupported()
85 valid = PlaneCapabilities::isFormatSupported(planeType, hwcLayer); in checkSupported()
87 VTRACE("plane type %d: (bad buffer format)", planeType); in checkSupported()
92 valid = PlaneCapabilities::isSizeSupported(planeType, hwcLayer); in checkSupported()
94 VTRACE("plane type %d: (bad buffer size)", planeType); in checkSupported()
99 valid = PlaneCapabilities::isBlendingSupported(planeType, hwcLayer); in checkSupported()
101 VTRACE("plane type %d: (bad blending)", planeType); in checkSupported()
[all …]
DHwcLayerList.h49 bool checkSupported(int planeType, HwcLayer *hwcLayer);