public void matrixLineByLine (ArrayList<Picture> picList, int startFrame) {
        Picture srcPic = null;
        for (int frameNo = 0; frameNo < super.matWidth; frameNo++) {
            srcPic = picList.get((frameNo + startFrame) % picList.size());
            stackLineByLine(srcPic.getY(), super.arrY, frameNo, srcPic.getWidth(), srcPic.getHeight());
            if (super.codeCbCr) {
                stackLineByLine(srcPic.getCb(), super.arrCb, frameNo, srcPic.getWidthC(), srcPic.getHeightC());
                stackLineByLine(srcPic.getCr(), super.arrCr, frameNo, srcPic.getWidthC(), srcPic.getHeightC());
            }
         }
    }