Home
last modified time | relevance | path

Searched refs:Overlay (Results 1 – 25 of 52) sorted by relevance

123

/hardware/qcom/display/msm8226/liboverlay/
Doverlay.h45 class Overlay : utils::NoCopy {
58 ~Overlay();
129 static Overlay* getInstance();
139 explicit Overlay();
211 static Overlay *sInstance;
221 inline void Overlay::validate(int index) { in validate()
228 inline int Overlay::availablePipes(int dpy, int mixer) { in availablePipes()
236 !(Overlay::getDMAMode() == Overlay::DMA_BLOCK_MODE && in availablePipes()
245 inline int Overlay::availablePipes(int dpy) { in availablePipes()
251 !(Overlay::getDMAMode() == Overlay::DMA_BLOCK_MODE && in availablePipes()
[all …]
Doverlay.cpp47 Overlay::Overlay() { in Overlay() function in overlay::Overlay
59 Overlay::~Overlay() { in ~Overlay()
66 void Overlay::configBegin() { in configBegin()
75 void Overlay::configDone() { in configDone()
97 int Overlay::getPipeId(utils::eDest dest) { in getPipeId()
101 eDest Overlay::getDest(int pipeid) { in getDest()
112 eDest Overlay::reservePipe(int pipeid) { in reservePipe()
118 eDest Overlay::nextPipe(eMdpPipeType type, int dpy, int mixer) { in nextPipe()
161 void Overlay::endAllSessions() { in endAllSessions()
168 bool Overlay::isPipeTypeAttached(eMdpPipeType type) { in isPipeTypeAttached()
[all …]
DoverlayWriteback.cpp79 int fbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in Writeback()
175 if(!Overlay::displayCommit(mFd.getFD())) { in writeSync()
DoverlayMdp.cpp42 int fbnum = Overlay::getFbForDpy(dpy); in init()
371 Scale *scalar = Overlay::getScalar(); in validateAndSet()
391 int fbnum = Overlay::getFbForDpy(dpy); in init()
/hardware/qcom/display/msm8974/liboverlay/
Doverlay.h41 class Overlay : utils::NoCopy {
54 ~Overlay();
103 static Overlay* getInstance();
112 explicit Overlay();
171 static Overlay *sInstance;
177 inline void Overlay::validate(int index) { in validate()
184 inline int Overlay::availablePipes(int dpy, int mixer) { in availablePipes()
192 !(Overlay::getDMAMode() == Overlay::DMA_BLOCK_MODE && in availablePipes()
201 inline void Overlay::setDMAMode(const int& mode) { in setDMAMode()
206 inline int Overlay::getDMAMode() { in getDMAMode()
[all …]
Doverlay.cpp40 Overlay::Overlay() { in Overlay() function in overlay::Overlay
49 Overlay::~Overlay() { in ~Overlay()
55 void Overlay::configBegin() { in configBegin()
65 void Overlay::configDone() { in configDone()
86 eDest Overlay::nextPipe(eMdpPipeType type, int dpy, int mixer) { in nextPipe()
126 bool Overlay::isPipeTypeAttached(eMdpPipeType type) { in isPipeTypeAttached()
136 bool Overlay::commit(utils::eDest dest) { in commit()
161 bool Overlay::queueBuffer(int fd, uint32_t offset, in queueBuffer()
173 void Overlay::setCrop(const utils::Dim& d, in setCrop()
180 void Overlay::setPosition(const utils::Dim& d, in setPosition()
[all …]
DoverlayWriteback.cpp77 int fbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in Writeback()
173 if(!Overlay::displayCommit(mFd.getFD())) { in writeSync()
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.h41 class Overlay : utils::NoCopy {
44 ~Overlay();
76 static Overlay* getInstance();
90 explicit Overlay();
149 static Overlay *sInstance;
153 inline void Overlay::validate(int index) { in validate()
160 inline int Overlay::availablePipes(int dpy) { in availablePipes()
171 inline void Overlay::setExtFbNum(int fbNum) { in setExtFbNum()
175 inline int Overlay::getExtFbNum() { in getExtFbNum()
179 inline bool Overlay::PipeBook::valid() { in valid()
[all …]
Doverlay.cpp40 Overlay::Overlay() { in Overlay() function in overlay::Overlay
49 Overlay::~Overlay() { in ~Overlay()
55 void Overlay::configBegin() { in configBegin()
64 void Overlay::configDone() { in configDone()
84 eDest Overlay::nextPipe(eMdpPipeType type, int dpy) { in nextPipe()
122 bool Overlay::commit(utils::eDest dest) { in commit()
140 bool Overlay::queueBuffer(int fd, uint32_t offset, in queueBuffer()
152 void Overlay::setCrop(const utils::Dim& d, in setCrop()
159 void Overlay::setPosition(const utils::Dim& d, in setPosition()
166 void Overlay::setTransform(const int orient, in setTransform()
[all …]
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.h42 class Overlay : utils::NoCopy {
66 ~Overlay();
139 static Overlay* getInstance();
153 explicit Overlay();
237 static Overlay *sInstance;
247 inline void Overlay::validate(int index) { in validate()
254 inline int Overlay::availablePipes(int dpy, int mixer) { in availablePipes()
262 !(Overlay::getDMAMode() == Overlay::DMA_BLOCK_MODE && in availablePipes()
271 inline int Overlay::availablePipes(int dpy) { in availablePipes()
277 !(Overlay::getDMAMode() == Overlay::DMA_BLOCK_MODE && in availablePipes()
[all …]
Doverlay.cpp42 Overlay::Overlay() { in Overlay() function in overlay::Overlay
54 Overlay::~Overlay() { in ~Overlay()
61 void Overlay::configBegin() { in configBegin()
70 void Overlay::configDone() { in configDone()
92 int Overlay::getPipeId(utils::eDest dest) { in getPipeId()
96 eDest Overlay::getDest(int pipeid) { in getDest()
107 eDest Overlay::reservePipe(int pipeid) { in reservePipe()
113 eDest Overlay::nextPipe(eMdpPipeType type, int dpy, int mixer) { in nextPipe()
156 utils::eDest Overlay::getPipe(const PipeSpecs& pipeSpecs) { in getPipe()
194 utils::eDest Overlay::getPipe_8x26(const PipeSpecs& pipeSpecs) { in getPipe_8x26()
[all …]
DoverlayWriteback.cpp79 int fbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in Writeback()
175 if(!Overlay::displayCommit(mFd.getFD())) { in writeSync()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_ad.cpp48 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in openWbFb()
77 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in adWrite()
103 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in adRead()
185 Overlay::PipeSpecs pipeSpecs; in prepare()
186 pipeSpecs.formatClass = Overlay::FORMAT_YUV; in prepare()
187 pipeSpecs.dpy = overlay::Overlay::DPY_WRITEBACK; in prepare()
258 if(!ctx->mOverlay->validateAndSet(overlay::Overlay::DPY_WRITEBACK, in prepare()
261 ,__FUNCTION__, overlay::Overlay::DPY_WRITEBACK); in prepare()
Dhwc_fbupdate.cpp135 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
141 Overlay::PipeSpecs pipeSpecs; in configure()
142 pipeSpecs.formatClass = Overlay::FORMAT_RGB; in configure()
145 pipeSpecs.mixer = Overlay::MIXER_DEFAULT; in configure()
236 overlay::Overlay& ov = *(ctx->mOverlay); in draw()
292 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
307 Overlay::PipeSpecs pipeSpecs; in configure()
308 pipeSpecs.formatClass = Overlay::FORMAT_RGB; in configure()
315 pipeSpecs.mixer = Overlay::MIXER_LEFT; in configure()
349 pipeSpecs.mixer = Overlay::MIXER_RIGHT; in configure()
[all …]
Dhwc.cpp133 Overlay::setDMAMode(Overlay::DMA_LINE_MODE); in setDMAState()
156 Overlay::setDMAMode(Overlay::DMA_BLOCK_MODE); in setDMAState()
174 Overlay::setDMAMode(Overlay::DMA_BLOCK_MODE); in setDMAState()
489 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
499 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_setPowerMode()
629 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd, lRoi, rRoi)) { in hwc_set_primary()
689 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_set_external()
Dhwc_mdpcomp.cpp870 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT)); in loadBasedComp()
1496 Overlay::PipeSpecs pipeSpecs; in allocSplitVGPipesfor4k2k()
1497 pipeSpecs.formatClass = Overlay::FORMAT_YUV; in allocSplitVGPipesfor4k2k()
1586 Overlay::PipeSpecs pipeSpecs; in allocLayerPipes()
1588 Overlay::FORMAT_YUV : Overlay::FORMAT_RGB; in allocLayerPipes()
1641 overlay::Overlay& ov = *ctx->mOverlay; in draw()
1779 Overlay::PipeSpecs pipeSpecs; in acquireMDPPipes()
1781 Overlay::FORMAT_YUV : Overlay::FORMAT_RGB; in acquireMDPPipes()
1784 pipeSpecs.mixer = Overlay::MIXER_LEFT; in acquireMDPPipes()
1798 pipeSpecs.mixer = Overlay::MIXER_RIGHT; in acquireMDPPipes()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_ad.cpp48 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in openWbFb()
77 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in adWrite()
103 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in adRead()
186 overlay::Overlay::DPY_WRITEBACK, Overlay::MIXER_DEFAULT); in prepare()
253 if(!ctx->mOverlay->validateAndSet(overlay::Overlay::DPY_WRITEBACK, in prepare()
256 ,__FUNCTION__, overlay::Overlay::DPY_WRITEBACK); in prepare()
Dhwc_fbupdate.cpp135 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
148 ovutils::eDest dest = ov.nextPipe(type, mDpy, Overlay::MIXER_DEFAULT); in configure()
239 overlay::Overlay& ov = *(ctx->mOverlay); in draw()
295 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
313 Overlay::MIXER_LEFT); in configure()
347 Overlay::MIXER_RIGHT); in configure()
397 overlay::Overlay& ov = *(ctx->mOverlay); in draw()
429 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
437 Overlay::MIXER_DEFAULT); in configure()
440 Overlay::MIXER_DEFAULT); in configure()
[all …]
Dhwc_mdpcomp.cpp398 overlay::Overlay& ov = *ctx->mOverlay; in getMdpPipe()
752 ctx->mOverlay->availablePipes(mDpy, Overlay::MIXER_DEFAULT)); in loadBasedComp()
1353 pipe_info.lIndex = getMdpPipe(ctx, type, Overlay::MIXER_DEFAULT); in allocSplitVGPipesfor4k2k()
1359 pipe_info.rIndex = getMdpPipe(ctx, type, Overlay::MIXER_DEFAULT); in allocSplitVGPipesfor4k2k()
1438 && Overlay::getDMAMode() != Overlay::DMA_BLOCK_MODE in allocLayerPipes()
1447 pipe_info.index = getMdpPipe(ctx, type, Overlay::MIXER_DEFAULT); in allocLayerPipes()
1493 overlay::Overlay& ov = *ctx->mOverlay; in draw()
1622 pipe_info.lIndex = getMdpPipe(ctx, type, Overlay::MIXER_LEFT); in acquireMDPPipes()
1628 pipe_info.rIndex = getMdpPipe(ctx, type, Overlay::MIXER_RIGHT); in acquireMDPPipes()
1663 && Overlay::getDMAMode() != Overlay::DMA_BLOCK_MODE in allocLayerPipes()
[all …]
Dhwc.cpp404 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_blank()
414 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_blank()
531 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd, in hwc_set_primary()
592 if(!Overlay::displayCommit(ctx->dpyAttr[dpy].fd)) { in hwc_set_external()
632 Overlay::setDMAMode(Overlay::DMA_LINE_MODE); in hwc_set()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_ad.cpp47 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in openWbFb()
76 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in adWrite()
102 const int wbFbNum = Overlay::getFbForDpy(Overlay::DPY_WRITEBACK); in adRead()
171 overlay::Overlay::DPY_WRITEBACK, Overlay::MIXER_DEFAULT); in prepare()
Dhwc_fbupdate.cpp71 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
92 ovutils::eDest dest = ov.nextPipe(type, mDpy, Overlay::MIXER_DEFAULT); in configure()
159 overlay::Overlay& ov = *(ctx->mOverlay); in draw()
195 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
212 Overlay::MIXER_LEFT); in configure()
220 Overlay::MIXER_RIGHT); in configure()
320 overlay::Overlay& ov = *(ctx->mOverlay); in draw()
Dhwc_mdpcomp.cpp313 overlay::Overlay& ov = *ctx->mOverlay; in getMdpPipe()
970 overlay::Overlay& ov = *ctx->mOverlay; in arePipesAvailable()
972 int availPipes = ov.availablePipes(mDpy, Overlay::MIXER_DEFAULT); in arePipesAvailable()
1005 && Overlay::getDMAMode() != Overlay::DMA_BLOCK_MODE in allocLayerPipes()
1010 pipe_info.index = getMdpPipe(ctx, type, Overlay::MIXER_DEFAULT); in allocLayerPipes()
1041 overlay::Overlay& ov = *ctx->mOverlay; in draw()
1116 if(mixer == Overlay::MIXER_LEFT && dst.left < lSplit) { in pipesNeeded()
1118 } else if(mixer == Overlay::MIXER_RIGHT && dst.right > lSplit) { in pipesNeeded()
1128 overlay::Overlay& ov = *ctx->mOverlay; in arePipesAvailable()
1130 for(int i = 0; i < Overlay::MIXER_MAX; i++) { in arePipesAvailable()
[all …]
Dhwc_utils.h49 class Overlay; variable
222 int configMdp(overlay::Overlay *ov, const ovutils::PipeArgs& parg,
361 overlay::Overlay *mOverlay;
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.cpp65 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
133 overlay::Overlay& ov = *(ctx->mOverlay); in draw()
169 overlay::Overlay& ov = *(ctx->mOverlay); in configure()
270 overlay::Overlay& ov = *(ctx->mOverlay); in draw()

123