Home
last modified time | relevance | path

Searched refs:DisplayPlane (Results 1 – 22 of 22) sorted by relevance

/hardware/intel/img/hwcomposer/common/planes/
DDisplayPlaneManager.cpp32 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in DisplayPlaneManager()
49 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in deinitialize()
52 DisplayPlane *plane = mPlanes[i].itemAt(j); in deinitialize()
74 mPlaneCount[DisplayPlane::PLANE_SPRITE] = mSpritePlaneCount; in initialize()
75 mPlaneCount[DisplayPlane::PLANE_OVERLAY] = mOverlayPlaneCount; in initialize()
76 mPlaneCount[DisplayPlane::PLANE_PRIMARY] = mPrimaryPlaneCount; in initialize()
77 mPlaneCount[DisplayPlane::PLANE_CURSOR] = mCursorPlaneCount; in initialize()
85 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in initialize()
90 for (i = 0; i < DisplayPlane::PLANE_MAX; i++) { in initialize()
95 DisplayPlane* plane = allocPlane(j, i); in initialize()
[all …]
DDisplayPlane.cpp25 DisplayPlane::DisplayPlane(int index, int type, int disp) in DisplayPlane() function in android::intel::DisplayPlane
51 DisplayPlane::~DisplayPlane() in ~DisplayPlane()
56 bool DisplayPlane::initialize(uint32_t bufferCount) in initialize()
75 void DisplayPlane::deinitialize() in deinitialize()
93 void DisplayPlane::checkPosition(int& x, int& y, int& w, int& h) in checkPosition()
110 void DisplayPlane::setPosition(int x, int y, int w, int h) in setPosition()
139 void DisplayPlane::setSourceCrop(int x, int y, int w, int h) in setSourceCrop()
153 void DisplayPlane::setTransform(int trans) in setTransform()
166 void DisplayPlane::setPlaneAlpha(uint8_t alpha, uint32_t blending) in setPlaneAlpha()
181 bool DisplayPlane::setDataBuffer(uint32_t handle) in setDataBuffer()
[all …]
/hardware/intel/img/hwcomposer/ips/anniedale/
DAnnPlaneManager.cpp39 {'A', DisplayPlane::PLANE_PRIMARY, 0},
40 {'B', DisplayPlane::PLANE_PRIMARY, 1},
41 {'C', DisplayPlane::PLANE_PRIMARY, 2},
42 {'D', DisplayPlane::PLANE_SPRITE, 0},
43 {'E', DisplayPlane::PLANE_SPRITE, 1},
44 {'F', DisplayPlane::PLANE_SPRITE, 2},
45 {'G', DisplayPlane::PLANE_OVERLAY, 0}, // nickname for Overlay A
46 {'H', DisplayPlane::PLANE_OVERLAY, 1}, // nickname for Overlay C
47 {'I', DisplayPlane::PLANE_CURSOR, 0}, // nickname for cursor A
48 {'J', DisplayPlane::PLANE_CURSOR, 1}, // nickname for cursor B
[all …]
DPlaneCapabilities.cpp39 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isFormatSupported()
51 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isFormatSupported()
87 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isSizeSupported()
104 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isSizeSupported()
143 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isBlendingSupported()
155 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isBlendingSupported()
178 if (planeType == DisplayPlane::PLANE_SPRITE || planeType == DisplayPlane::PLANE_PRIMARY) { in isScalingSupported()
182 } else if (planeType == DisplayPlane::PLANE_OVERLAY) { in isScalingSupported()
225 if (planeType == DisplayPlane::PLANE_OVERLAY) { in isTransformSupported()
DAnnCursorPlane.h31 class AnnCursorPlane : public DisplayPlane {
DAnnPlaneManager.h40 DisplayPlane* allocPlane(int index, int type);
DAnnRGBPlane.h29 class AnnRGBPlane : public DisplayPlane {
DAnnCursorPlane.cpp28 : DisplayPlane(index, PLANE_CURSOR, disp) in AnnCursorPlane()
80 ret = DisplayPlane::setDataBuffer(handle); in setDataBuffer()
DAnnRGBPlane.cpp27 : DisplayPlane(index, type, disp) in AnnRGBPlane()
56 return DisplayPlane::reset(); in reset()
138 ret = DisplayPlane::setDataBuffer(handle); in setDataBuffer()
DAnnOverlayPlane.cpp53 return DisplayPlane::setDataBuffer(handle); in setDataBuffer()
577 DisplayPlane::setTransform(transform); in setTransform()
620 if (!DisplayPlane::flip(ctx)) { in flip()
/hardware/intel/img/hwcomposer/include/
DDisplayPlaneManager.h39 DisplayPlane *plane;
71 virtual void reclaimPlane(int dsp, DisplayPlane& plane);
81 DisplayPlane* getPlane(int type, int index);
82 DisplayPlane* getAnyPlane(int type);
84 void putPlane(int dsp, DisplayPlane& plane);
86 virtual DisplayPlane* allocPlane(int index, int type) = 0;
89 int mPlaneCount[DisplayPlane::PLANE_MAX];
96 Vector<DisplayPlane*> mPlanes[DisplayPlane::PLANE_MAX];
99 uint32_t mFreePlanes[DisplayPlane::PLANE_MAX];
100 uint32_t mReclaimedPlanes[DisplayPlane::PLANE_MAX];
DDisplayPlane.h47 class DisplayPlane {
75 DisplayPlane(int index, int type, int disp);
76 virtual ~DisplayPlane();
/hardware/intel/img/hwcomposer/common/base/
DHwcLayer.h59 bool attachPlane(DisplayPlane *plane, int device);
60 DisplayPlane* detachPlane();
78 DisplayPlane* getPlane() const;
99 DisplayPlane *mPlane;
DHwcLayerList.cpp299 } else if (checkSupported(DisplayPlane::PLANE_SPRITE, hwcLayer)) { in initialize()
301 } else if (checkSupported(DisplayPlane::PLANE_OVERLAY, hwcLayer)) { in initialize()
307 if (checkSupported(DisplayPlane::PLANE_SPRITE, hwcLayer) && in initialize()
311 } else if (checkSupported(DisplayPlane::PLANE_OVERLAY, hwcLayer)) { in initialize()
367 DisplayPlane *plane = hwcLayer->detachPlane(); in deinitialize()
399 int planeNumber = planeManager->getFreePlanes(mDisplayIndex, DisplayPlane::PLANE_CURSOR); in assignCursorPlanes()
433 ZOrderLayer *zlayer = addZOrderLayer(DisplayPlane::PLANE_CURSOR, mCursorCandidates[i]); in assignCursorPlanes()
450 int planeNumber = planeManager->getFreePlanes(mDisplayIndex, DisplayPlane::PLANE_OVERLAY); in assignOverlayPlanes()
484 ZOrderLayer *zlayer = addZOrderLayer(DisplayPlane::PLANE_OVERLAY, mOverlayCandidates[i]); in assignOverlayPlanes()
502 int planeNumber = planeManager->getFreePlanes(mDisplayIndex, DisplayPlane::PLANE_SPRITE); in assignSpritePlanes()
[all …]
DHwcLayer.cpp90 bool HwcLayer::attachPlane(DisplayPlane* plane, int device) in attachPlane()
109 DisplayPlane* HwcLayer::detachPlane() in detachPlane()
114 DisplayPlane *plane = mPlane; in detachPlane()
221 DisplayPlane* HwcLayer::getPlane() const in getPlane()
339 } else if (PlaneCapabilities::isFormatSupported(DisplayPlane::PLANE_OVERLAY, this)) { in setupAttributes()
DHwcLayerList.h41 virtual DisplayPlane* getPlane(uint32_t index) const;
/hardware/intel/img/hwcomposer/ips/common/
DSpritePlaneBase.cpp24 : DisplayPlane(index, PLANE_SPRITE, disp), in SpritePlaneBase()
39 return DisplayPlane::flip(ctx); in flip()
DSpritePlaneBase.h26 class SpritePlaneBase : public DisplayPlane {
DOverlayPlaneBase.cpp33 : DisplayPlane(index, PLANE_OVERLAY, disp), in OverlayPlaneBase()
63 if (!DisplayPlane::initialize(bufferCount)) { in initialize()
139 DisplayPlane::deinitialize(); in deinitialize()
145 DisplayPlane::invalidateBufferCache(); in invalidateBufferCache()
173 DisplayPlane::assignToDevice(disp); in assignToDevice()
189 DisplayPlane *plane = zorderConfig[i]->plane; in setZOrderConfig()
190 if (plane->getType() == DisplayPlane::PLANE_OVERLAY) { in setZOrderConfig()
217 DisplayPlane::reset(); in reset()
DOverlayPlaneBase.h35 class OverlayPlaneBase : public DisplayPlane {
/hardware/intel/img/hwcomposer/
DAndroid.mk49 common/planes/DisplayPlane.cpp \
/hardware/intel/img/hwcomposer/ips/tangier/
DTngDisplayContext.cpp97 DisplayPlane* plane = layerList->getPlane(i); in commitContents()