Lines Matching refs:PipeBook
44 PipeBook::NUM_PIPES = (numPipes <= utils::OV_MAX)? numPipes : utils::OV_MAX; in Overlay()
45 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in Overlay()
55 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in ~Overlay()
62 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in configBegin()
64 PipeBook::resetUse(i); in configBegin()
65 PipeBook::resetAllocation(i); in configBegin()
71 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in configDone()
72 if((PipeBook::isNotUsed(i) && !sessionInProgress((eDest)i)) || in configDone()
79 PipeBook::getDestStr((eDest)i), in configDone()
89 PipeBook::save(); in configDone()
99 for(int i=0; i < PipeBook::NUM_PIPES; ++i) { in getDest()
109 PipeBook::setAllocation((int)dest); in reservePipe()
116 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in nextPipe()
118 type == PipeBook::getPipeType((eDest)i)) && in nextPipe()
123 PipeBook::isNotAllocated(i) && //Free pipe in nextPipe()
126 PipeBook::getPipeType((eDest)i) == OV_MDP_PIPE_DMA)) ){ in nextPipe()
129 PipeBook::setAllocation(i); in nextPipe()
140 mPipeBook[index].mSession = PipeBook::NONE; in nextPipe()
143 PipeBook::getDestStr(dest), dpy, mixer); in nextPipe()
254 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in endAllSessions()
255 if(mPipeBook[i].valid() && mPipeBook[i].mSession==PipeBook::START) in endAllSessions()
256 mPipeBook[i].mSession = PipeBook::END; in endAllSessions()
261 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in isPipeTypeAttached()
262 if(type == PipeBook::getPipeType((eDest)i) && in isPipeTypeAttached()
290 PipeBook::setUse((int)dest); in commit()
293 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in commit()
295 PipeBook::resetAllocation(i); in commit()
296 PipeBook::resetUse(i); in commit()
309 if(PipeBook::isUsed((int)dest)) { in queueBuffer()
353 if(PipeBook::getPipeType(dest) == OV_MDP_PIPE_VG) { in setSource()
359 if(PipeBook::getPipeType(dest) == OV_MDP_PIPE_DMA) { in setSource()
396 PipeBook::pipeTypeLUT[index] = (utils::eMdpPipeType)X; in initOverlay()
511 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in getDump()
526 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in clear()
529 PipeBook::resetUse(i); in clear()
530 PipeBook::resetAllocation(i); in clear()
536 GenericPipe* pipeArray[PipeBook::NUM_PIPES]; in validateAndSet()
540 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in validateAndSet()
541 if(PipeBook::isUsed(i) && mPipeBook[i].valid() && in validateAndSet()
568 void Overlay::PipeBook::init() { in init()
574 void Overlay::PipeBook::destroy() { in destroy()
588 int Overlay::PipeBook::NUM_PIPES = 0;
589 int Overlay::PipeBook::sPipeUsageBitmap = 0;
590 int Overlay::PipeBook::sLastUsageBitmap = 0;
591 int Overlay::PipeBook::sAllocatedBitmap = 0;
592 utils::eMdpPipeType Overlay::PipeBook::pipeTypeLUT[utils::OV_MAX] =