Lines Matching refs:PipeBook
43 PipeBook::NUM_PIPES = (numPipes <= utils::OV_MAX)? numPipes : utils::OV_MAX; in Overlay()
44 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in Overlay()
56 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in ~Overlay()
66 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in configBegin()
68 PipeBook::resetUse(i); in configBegin()
69 PipeBook::resetAllocation(i); in configBegin()
74 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in configDone()
75 if((PipeBook::isNotUsed(i) && !sessionInProgress((eDest)i)) || in configDone()
82 PipeBook::save(); in configDone()
92 for(int i=0; i < PipeBook::NUM_PIPES; ++i) { in getDest()
102 PipeBook::setAllocation((int)dest); in reservePipe()
111 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in nextPipe()
113 type == PipeBook::getPipeType((eDest)i)) && in nextPipe()
120 PipeBook::isNotAllocated(i) && //Free pipe in nextPipe()
123 PipeBook::getPipeType((eDest)i) == OV_MDP_PIPE_DMA)) ){ in nextPipe()
126 PipeBook::setAllocation(i); in nextPipe()
138 mPipeBook[index].mSession = PipeBook::NONE; in nextPipe()
269 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in endAllSessions()
270 if(mPipeBook[i].valid() && mPipeBook[i].mSession==PipeBook::START) in endAllSessions()
271 mPipeBook[i].mSession = PipeBook::END; in endAllSessions()
276 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in isPipeTypeAttached()
277 if(type == PipeBook::getPipeType((eDest)i) && in isPipeTypeAttached()
296 utils::eMdpPipeType leftType = PipeBook::getPipeType(pipe1Index); in needsPrioritySwap()
297 utils::eMdpPipeType rightType = PipeBook::getPipeType(pipe2Index); in needsPrioritySwap()
328 return (pipe2Id == PipeBook::pipeMinID[leftType]); in needsPrioritySwap()
336 return (pipe1Id == PipeBook::pipeMaxID[leftType]); in needsPrioritySwap()
349 PipeBook::setUse((int)dest); in commit()
361 if(PipeBook::isUsed((int)dest)) { in queueBuffer()
399 setPipeType(dest, PipeBook::getPipeType(dest)); in setSource()
435 PipeBook::pipeTypeLUT[index] = (utils::eMdpPipeType)X; in initOverlay()
440 PipeBook::pipeMinID[OV_MDP_PIPE_RGB] = 8; in initOverlay()
441 PipeBook::pipeMaxID[OV_MDP_PIPE_RGB] = (numPipesXType[OV_MDP_PIPE_RGB] == 3)? 32 : 512; in initOverlay()
442 PipeBook::pipeMinID[OV_MDP_PIPE_VG] = 1; in initOverlay()
443 PipeBook::pipeMaxID[OV_MDP_PIPE_VG] = (numPipesXType[OV_MDP_PIPE_VG] == 3)? 4 : 256; in initOverlay()
444 PipeBook::pipeMinID[OV_MDP_PIPE_DMA] = 64; in initOverlay()
445 PipeBook::pipeMaxID[OV_MDP_PIPE_DMA] = 128; in initOverlay()
506 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in getDump()
521 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in clear()
524 PipeBook::resetUse(i); in clear()
525 PipeBook::resetAllocation(i); in clear()
534 GenericPipe* pipeArray[PipeBook::NUM_PIPES]; in validateAndSet()
535 memset(pipeArray, 0, sizeof(GenericPipe*)*(PipeBook::NUM_PIPES)); in validateAndSet()
538 for(int i = 0; i < PipeBook::NUM_PIPES; i++) { in validateAndSet()
539 if(PipeBook::isUsed(i) && mPipeBook[i].valid() && in validateAndSet()
583 void Overlay::PipeBook::init() { in init()
590 void Overlay::PipeBook::destroy() { in destroy()
606 int Overlay::PipeBook::NUM_PIPES = 0;
607 int Overlay::PipeBook::sPipeUsageBitmap = 0;
608 int Overlay::PipeBook::sLastUsageBitmap = 0;
609 int Overlay::PipeBook::sAllocatedBitmap = 0;
610 utils::eMdpPipeType Overlay::PipeBook::pipeTypeLUT[utils::OV_MAX] =
612 int Overlay::PipeBook::pipeMinID[utils::OV_MDP_PIPE_ANY] = {0};
613 int Overlay::PipeBook::pipeMaxID[utils::OV_MDP_PIPE_ANY] = {0};