Lines Matching refs:pipeSpecs
156 utils::eDest Overlay::getPipe(const PipeSpecs& pipeSpecs) { in getPipe() argument
158 return getPipe_8x26(pipeSpecs); in getPipe()
160 return getPipe_8x16(pipeSpecs); in getPipe()
166 if(pipeSpecs.formatClass == FORMAT_YUV) { in getPipe()
167 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe()
168 } else if(pipeSpecs.fb == false) { //RGB App layers in getPipe()
169 if(not pipeSpecs.needsScaling) { in getPipe()
170 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe()
173 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe()
176 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe()
179 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe()
181 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe()
187 if(dest == OV_INVALID and (not pipeSpecs.needsScaling)) { in getPipe()
188 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe()
194 utils::eDest Overlay::getPipe_8x26(const PipeSpecs& pipeSpecs) { in getPipe_8x26() argument
198 if(pipeSpecs.formatClass == FORMAT_YUV) { //video in getPipe_8x26()
199 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x26()
200 } else if(pipeSpecs.fb == false) { //RGB app layers in getPipe_8x26()
201 if(not pipeSpecs.needsScaling) { in getPipe_8x26()
202 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x26()
205 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x26()
208 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x26()
212 if(pipeSpecs.dpy == DPY_PRIMARY) { in getPipe_8x26()
213 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x26()
215 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x26()
218 if(dest == OV_INVALID and (not pipeSpecs.needsScaling)) { in getPipe_8x26()
219 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x26()
225 utils::eDest Overlay::getPipe_8x16(const PipeSpecs& pipeSpecs) { in getPipe_8x16() argument
229 if(pipeSpecs.formatClass == FORMAT_YUV or pipeSpecs.needsScaling) { in getPipe_8x16()
230 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x16()
231 } else if(pipeSpecs.fb == false) { //RGB app layers in getPipe_8x16()
234 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x16()
236 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x16()
240 if(pipeSpecs.dpy == DPY_PRIMARY) { in getPipe_8x16()
241 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x16()
243 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x16()
247 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs.dpy, pipeSpecs.mixer); in getPipe_8x16()