Lines Matching defs:rotation
102 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) {
106 if (needSwapDimension(rotation)) {
117 if (rotation == MediaDecoder.ROTATE_NONE) {
123 // TODO: This could be optimized by including the rotation in the color conversion.
125 copyRotate(mUnrotatedBytes, outBytes, rotation);
131 * Copy the input data to the output data applying the specified rotation.
135 * @param rotation The rotation to apply
137 private void copyRotate(ByteBuffer input, ByteBuffer output, int rotation) {
141 switch (rotation) {
163 throw new IllegalArgumentException("Unsupported rotation " + rotation + "!");