Lines Matching refs:hwcLayer
24 #include <HwcLayer.h>
38 bool PlaneCapabilities::isFormatSupported(int planeType, HwcLayer *hwcLayer)
40 uint32_t format = hwcLayer->getFormat();
41 uint32_t trans = hwcLayer->getLayer()->transform;
80 bool PlaneCapabilities::isSizeSupported(int planeType, HwcLayer *hwcLayer)
82 uint32_t format = hwcLayer->getFormat();
83 uint32_t w = hwcLayer->getBufferWidth();
84 uint32_t h = hwcLayer->getBufferHeight();
85 const stride_t& stride = hwcLayer->getBufferStride();
135 hwc_frect_t& srcCrop = hwcLayer->getLayer()->sourceCropf;
145 if (!hwcLayer->isProtected()) {
158 bool PlaneCapabilities::isBlendingSupported(int planeType, HwcLayer *hwcLayer)
160 uint32_t blending = (uint32_t)hwcLayer->getLayer()->blending;
161 uint8_t planeAlpha = hwcLayer->getLayer()->planeAlpha;
184 bool PlaneCapabilities::isScalingSupported(int planeType, HwcLayer *hwcLayer)
186 hwc_frect_t& src = hwcLayer->getLayer()->sourceCropf;
187 hwc_rect_t& dest = hwcLayer->getLayer()->displayFrame;
188 uint32_t trans = hwcLayer->getLayer()->transform;
205 uint32_t format = hwcLayer->getFormat();
228 if (!hwcLayer->isProtected()) {
257 bool PlaneCapabilities::isTransformSupported(int planeType, HwcLayer *hwcLayer)
259 uint32_t trans = hwcLayer->getLayer()->transform;