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
7ce7e0ae
authored
Dec 22, 2022
by
tofunmi
Committed by
Marc Baechinger
Jan 04, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Specify units for VideoEncoderSettings.
PiperOrigin-RevId: 497113780
parent
1fa7f223
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/VideoEncoderSettings.java
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/VideoEncoderSettings.java
View file @
7ce7e0ae
...
@@ -102,7 +102,7 @@ public final class VideoEncoderSettings {
...
@@ -102,7 +102,7 @@ public final class VideoEncoderSettings {
*
*
* <p>Can not be set if enabling {@link #experimentalSetEnableHighQualityTargeting(boolean)}.
* <p>Can not be set if enabling {@link #experimentalSetEnableHighQualityTargeting(boolean)}.
*
*
* @param bitrate The {@link VideoEncoderSettings#bitrate}.
* @param bitrate The {@link VideoEncoderSettings#bitrate}
in bits per second
.
* @return This builder.
* @return This builder.
*/
*/
@CanIgnoreReturnValue
@CanIgnoreReturnValue
...
@@ -165,7 +165,8 @@ public final class VideoEncoderSettings {
...
@@ -165,7 +165,8 @@ public final class VideoEncoderSettings {
* Sets encoding operating rate and priority. The default values are {@link #NO_VALUE}, which is
* Sets encoding operating rate and priority. The default values are {@link #NO_VALUE}, which is
* treated as configuring the encoder for maximum throughput.
* treated as configuring the encoder for maximum throughput.
*
*
* @param operatingRate The {@link MediaFormat#KEY_OPERATING_RATE operating rate}.
* @param operatingRate The {@link MediaFormat#KEY_OPERATING_RATE operating rate} in frames per
* second.
* @param priority The {@link MediaFormat#KEY_PRIORITY priority}.
* @param priority The {@link MediaFormat#KEY_PRIORITY priority}.
* @return This builder.
* @return This builder.
*/
*/
...
@@ -214,7 +215,7 @@ public final class VideoEncoderSettings {
...
@@ -214,7 +215,7 @@ public final class VideoEncoderSettings {
}
}
}
}
/** The encoding bitrate. */
/** The encoding bitrate
in bits per second
. */
public
final
int
bitrate
;
public
final
int
bitrate
;
/** One of {@linkplain BitrateMode}. */
/** One of {@linkplain BitrateMode}. */
public
final
@BitrateMode
int
bitrateMode
;
public
final
@BitrateMode
int
bitrateMode
;
...
@@ -224,7 +225,7 @@ public final class VideoEncoderSettings {
...
@@ -224,7 +225,7 @@ public final class VideoEncoderSettings {
public
final
int
level
;
public
final
int
level
;
/** The encoding I-Frame interval in seconds. */
/** The encoding I-Frame interval in seconds. */
public
final
float
iFrameIntervalSeconds
;
public
final
float
iFrameIntervalSeconds
;
/** The encoder {@link MediaFormat#KEY_OPERATING_RATE operating rate}. */
/** The encoder {@link MediaFormat#KEY_OPERATING_RATE operating rate}
in frames per second
. */
public
final
int
operatingRate
;
public
final
int
operatingRate
;
/** The encoder {@link MediaFormat#KEY_PRIORITY priority}. */
/** The encoder {@link MediaFormat#KEY_PRIORITY priority}. */
public
final
int
priority
;
public
final
int
priority
;
...
...
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