Lines Matching refs:dest

85 int Overlay::getPipeId(utils::eDest dest) {  in getPipeId()  argument
86 return mPipeBook[(int)dest].mPipe->getPipeId(); in getPipeId()
90 eDest dest = OV_INVALID; in getDest() local
97 return dest; in getDest()
101 eDest dest = getDest(pipeid); in reservePipe() local
102 PipeBook::setAllocation((int)dest); in reservePipe()
103 return dest; in reservePipe()
107 eDest dest = OV_INVALID; in nextPipe() local
125 dest = (eDest)i; in nextPipe()
131 if(dest != OV_INVALID) { in nextPipe()
132 int index = (int)dest; in nextPipe()
142 return dest; in nextPipe()
156 eDest dest = OV_INVALID; in getPipe() local
163 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe()
165 if(dest == OV_INVALID) { in getPipe()
166 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe()
168 if(dest == OV_INVALID) { in getPipe()
169 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe()
172 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe()
173 if(dest == OV_INVALID) { in getPipe()
174 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe()
180 if(dest == OV_INVALID and (not pipeSpecs.needsScaling)) { in getPipe()
181 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe()
184 return dest; in getPipe()
190 eDest dest = OV_INVALID; in getPipe_8x26() local
197 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe_8x26()
199 if(dest == OV_INVALID) { in getPipe_8x26()
200 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe_8x26()
202 if(dest == OV_INVALID) { in getPipe_8x26()
203 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8x26()
208 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe_8x26()
209 if(dest == OV_INVALID) { in getPipe_8x26()
210 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8x26()
213 if(dest == OV_INVALID and (not pipeSpecs.needsScaling) and in getPipe_8x26()
216 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe_8x26()
219 return dest; in getPipe_8x26()
225 eDest dest = OV_INVALID; in getPipe_8x16() local
231 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe_8x16()
232 if(dest == OV_INVALID) { in getPipe_8x16()
233 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe_8x16()
235 if(dest == OV_INVALID) { in getPipe_8x16()
236 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8x16()
239 return dest; in getPipe_8x16()
253 eDest dest = OV_INVALID; in getPipe_8994() local
257 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe_8994()
258 if(dest == OV_INVALID) { in getPipe_8994()
259 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8994()
261 if(dest == OV_INVALID and not pipeSpecs.needsScaling) { in getPipe_8994()
262 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe_8994()
265 return dest; in getPipe_8994()
343 bool Overlay::commit(utils::eDest dest) { in commit() argument
345 validate((int)dest); in commit()
347 if(mPipeBook[dest].mPipe->commit()) { in commit()
349 PipeBook::setUse((int)dest); in commit()
351 clear(mPipeBook[dest].mDisplay); in commit()
357 utils::eDest dest) { in queueBuffer() argument
359 validate((int)dest); in queueBuffer()
361 if(PipeBook::isUsed((int)dest)) { in queueBuffer()
362 ret = mPipeBook[dest].mPipe->queueBuffer(fd, offset); in queueBuffer()
368 utils::eDest dest) { in setCrop() argument
369 validate((int)dest); in setCrop()
370 mPipeBook[dest].mPipe->setCrop(d); in setCrop()
374 utils::eDest dest) { in setColor() argument
375 validate((int)dest); in setColor()
376 mPipeBook[dest].mPipe->setColor(color); in setColor()
380 utils::eDest dest) { in setPosition() argument
381 validate((int)dest); in setPosition()
382 mPipeBook[dest].mPipe->setPosition(d); in setPosition()
386 utils::eDest dest) { in setTransform() argument
387 validate((int)dest); in setTransform()
391 mPipeBook[dest].mPipe->setTransform(transform); in setTransform()
396 utils::eDest dest) { in setSource() argument
397 validate((int)dest); in setSource()
399 setPipeType(dest, PipeBook::getPipeType(dest)); in setSource()
400 mPipeBook[dest].mPipe->setSource(args); in setSource()
403 void Overlay::setVisualParams(const MetaData_t& metadata, utils::eDest dest) { in setVisualParams() argument
404 validate((int)dest); in setVisualParams()
405 mPipeBook[dest].mPipe->setVisualParams(metadata); in setVisualParams()