Lines Matching refs:intermediate
258 // Find intermediate buffer dimensions
270 throw new IllegalStateException("Illegal intermediate texture with dimension of 0");
273 // Letterbox or pillar-box output dimensions into intermediate dimensions.
274 RectF intermediate = new RectF(/*left*/0, /*top*/0, /*right*/texWidth, /*bottom*/texHeight);
277 boxingXform.setRectToRect(output, intermediate, android.graphics.Matrix.ScaleToFit.CENTER);
280 // Find scaling factor from pillar-boxed/letter-boxed output dimensions to intermediate
282 float scaleX = intermediate.width() / output.width();
283 float scaleY = intermediate.height() / output.height();
287 // of the intermediate buffer so that the output buffer is actually letter-boxed
288 // or pillar-boxed into the intermediate buffer after clipping.
293 width + "x" + height + " surface, intermediate buffer size is " + texWidth +