Searched refs:yStride (Results 1 – 2 of 2) sorted by relevance
739 int yStride = (int)Math.ceil(w / 16.0) * 16; in onPreviewFrame() local740 int uvStride = (int)Math.ceil(yStride / 2 / 16.0) * 16; in onPreviewFrame()741 int ySize = yStride * h; in onPreviewFrame()855 int yStride = (int)Math.ceil(w / 16.0) * 16; in convertFromYV12() local856 int uvStride = (int)Math.ceil(yStride/2/16.0) * 16; in convertFromYV12()857 int ySize = yStride * h; in convertFromYV12()865 int yIndex = yStride * y; in convertFromYV12()
202 public static FakeImage createYuv420(int w, int h, int yStride, int uStride, int vStride) { in createYuv420() argument207 FakePlane.createStrict(w, h, yStride), in createYuv420()