Lines Matching refs:ylen
132 unsigned int instructions,line,todo,ylen,chroma;
184 for (todo = ybpl; todo > 0; todo -= ylen) {
200 ylen = todo;
201 if (yoffset + ylen > sg_dma_len(ysg))
202 ylen = sg_dma_len(ysg) - yoffset;
204 if (uoffset + (ylen>>hshift) > sg_dma_len(usg))
205 ylen = (sg_dma_len(usg) - uoffset) << hshift;
206 if (voffset + (ylen>>hshift) > sg_dma_len(vsg))
207 ylen = (sg_dma_len(vsg) - voffset) << hshift;
214 if (ylen == todo)
218 *(rp++)=cpu_to_le32(ri | ylen);
219 *(rp++)=cpu_to_le32(((ylen >> hshift) << 16) |
220 (ylen >> hshift));
222 yoffset += ylen;
225 uoffset += ylen >> hshift;
227 voffset += ylen >> hshift;