Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1dfbd0de
authored
Jan 26, 2023
by
huangdarwin
Committed by
christosts
Feb 01, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Effect: Clarify that padding is added in ScaleToFitTransformation.
PiperOrigin-RevId: 504796380
parent
44f461a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
library/effect/src/main/java/com/google/android/exoplayer2/effect/GlMatrixTransformation.java
library/effect/src/main/java/com/google/android/exoplayer2/effect/ScaleToFitTransformation.java
library/effect/src/main/java/com/google/android/exoplayer2/effect/GlMatrixTransformation.java
View file @
1dfbd0de
...
...
@@ -22,7 +22,7 @@ import com.google.android.exoplayer2.util.Size;
import
com.google.common.collect.ImmutableList
;
/**
* Specifies a 4x4 transformation {@link Matrix} to apply in the vertex shader for each frame.
* Specifies a 4x4 transformation {@link Matrix} to apply in the vertex shader for each
input
frame.
*
* <p>The matrix is applied to points given in normalized device coordinates (-1 to 1 on x, y, and z
* axes). Transformed pixels that are moved outside of the normal device coordinate range are
...
...
library/effect/src/main/java/com/google/android/exoplayer2/effect/ScaleToFitTransformation.java
View file @
1dfbd0de
...
...
@@ -72,9 +72,9 @@ public final class ScaleToFitTransformation implements MatrixTransformation {
*
* <p>The default value, 0, corresponds to not applying any rotation.
*
* <p>The output frame's width and height are a
utomatically adjusted to preserve all input
*
pixels. The rotated input frame is fitted inside an enclosing black rectangle if its edges
*
aren't parallel to the x and y axes
.
* <p>The output frame's width and height are a
djusted to preserve all input pixels. The rotated
*
input frame is fitted inside an enclosing black rectangle if its edges aren't parallel to the
*
x and y axes, to form the output frame
.
*
* @param rotationDegrees The counterclockwise rotation, in degrees.
* @return This builder.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment