Lines Matching refs:rotation
146 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) {
156 if (rotation != 0) {
157 float[] targetCoords = getRotationCoords(rotation);
159 if (needSwapDimension(rotation)) {
198 * Get the quad coords for rotation.
199 * @param rotation applied to the frame, value is one of
201 * @return coords the calculated quad coords for the given rotation
203 private static float[] getRotationCoords(int rotation) {
204 switch(rotation) {
214 throw new IllegalArgumentException("Unsupported rotation angle.");