Lines Matching refs:pipeSpecs
106 eDest Overlay::nextPipe(eMdpPipeType type, const PipeSpecs& pipeSpecs) { in nextPipe() argument
108 int dpy = pipeSpecs.dpy; in nextPipe()
109 int mixer = pipeSpecs.mixer; in nextPipe()
110 int formatType = pipeSpecs.formatClass; in nextPipe()
145 utils::eDest Overlay::getPipe(const PipeSpecs& pipeSpecs) { in getPipe() argument
147 return getPipe_8x26(pipeSpecs); in getPipe()
149 return getPipe_8x16(pipeSpecs); in getPipe()
151 return getPipe_8x39(pipeSpecs); in getPipe()
153 return getPipe_8994(pipeSpecs); in getPipe()
159 if(pipeSpecs.formatClass == FORMAT_YUV) { in getPipe()
160 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe()
161 } else if(pipeSpecs.fb == false) { //RGB App layers in getPipe()
162 if(not pipeSpecs.needsScaling) { in getPipe()
163 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe()
166 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe()
169 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe()
172 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); 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()
187 utils::eDest Overlay::getPipe_8x26(const PipeSpecs& pipeSpecs) { in getPipe_8x26() argument
191 if(pipeSpecs.formatClass == FORMAT_YUV) { //video in getPipe_8x26()
192 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8x26()
193 } else if(pipeSpecs.fb == false) { //RGB app layers in getPipe_8x26()
194 if((not pipeSpecs.needsScaling) and in getPipe_8x26()
195 (not (pipeSpecs.numActiveDisplays > 1 && in getPipe_8x26()
196 pipeSpecs.dpy == DPY_PRIMARY))) { in getPipe_8x26()
197 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe_8x26()
200 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe_8x26()
203 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8x26()
207 if(pipeSpecs.dpy == DPY_PRIMARY) { in getPipe_8x26()
208 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); 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()
214 (not (pipeSpecs.numActiveDisplays > 1 && in getPipe_8x26()
215 pipeSpecs.dpy == DPY_PRIMARY))) { in getPipe_8x26()
216 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe_8x26()
222 utils::eDest Overlay::getPipe_8x16(const PipeSpecs& pipeSpecs) { in getPipe_8x16() argument
226 if(pipeSpecs.formatClass == FORMAT_YUV or pipeSpecs.needsScaling) { in getPipe_8x16()
227 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8x16()
231 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); in getPipe_8x16()
233 dest = nextPipe(OV_MDP_PIPE_DMA, pipeSpecs); in getPipe_8x16()
236 dest = nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8x16()
242 utils::eDest Overlay::getPipe_8x39(const PipeSpecs& pipeSpecs) { in getPipe_8x39() argument
245 return getPipe_8x16(pipeSpecs); in getPipe_8x39()
248 utils::eDest Overlay::getPipe_8994(const PipeSpecs& pipeSpecs) { in getPipe_8994() argument
254 if(pipeSpecs.formatClass == FORMAT_YUV) { in getPipe_8994()
255 return nextPipe(OV_MDP_PIPE_VG, pipeSpecs); in getPipe_8994()
257 dest = nextPipe(OV_MDP_PIPE_RGB, pipeSpecs); 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()