Added in API level 29

PerformancePoint


class PerformancePoint
kotlin.Any
   ↳ android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint

Video performance points are a set of standard performance points defined by number of pixels, pixel rate and frame rate. Performance point represents an upper bound. This means that it covers all performance points with fewer pixels, pixel rate and frame rate.

Summary

Public constructors
PerformancePoint(width: Int, height: Int, frameRate: Int)

Create a performance point for a given frame size and frame rate.

Public methods
Boolean

Checks whether the performance point covers another performance point.

Boolean

Checks whether the performance point covers a media format.

Boolean
equals(other: Any?)

Int

String

Convert to a debug string

Properties
static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 100fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 120fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 200fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 24fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 240fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 25fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 30fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 50fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 60fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 100fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 120fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 200fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 24fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 240fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 25fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 30fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 50fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 60fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 24fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

576p 25fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 30fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 48fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

576p 50fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 60fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 100fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 120fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 200fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 24fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 240fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 25fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 30fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 50fps

static MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 60fps

Public constructors

PerformancePoint

Added in API level 29
PerformancePoint(
    width: Int,
    height: Int,
    frameRate: Int)

Create a performance point for a given frame size and frame rate.

Parameters
width Int: width of the frame in pixels
height Int: height of the frame in pixels
frameRate Int: frame rate in frames per second

Public methods

covers

Added in API level 29
fun covers(other: MediaCodecInfo.VideoCapabilities.PerformancePoint): Boolean

Checks whether the performance point covers another performance point. Use this method to determine if a performance point advertised by a codec covers the performance point required. This method can also be used for loose ordering as this method is transitive.

Parameters
other MediaCodecInfo.VideoCapabilities.PerformancePoint: other performance point considered This value cannot be null.
Return
Boolean true if the performance point covers the other.

covers

Added in API level 29
fun covers(format: MediaFormat): Boolean

Checks whether the performance point covers a media format.

Parameters
format MediaFormat: Stream format considered This value cannot be null.
Return
Boolean true if the performance point covers the format.

equals

Added in API level 29
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

hashCode

Added in API level 29
fun hashCode(): Int
Return
Int a hash code value for this object.

toString

Added in API level 29
fun toString(): String

Convert to a debug string

Return
String a string representation of the object.

Properties

FHD_100

Added in API level 29
static val FHD_100: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 100fps

FHD_120

Added in API level 29
static val FHD_120: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 120fps

FHD_200

Added in API level 29
static val FHD_200: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 200fps

FHD_24

Added in API level 29
static val FHD_24: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 24fps

FHD_240

Added in API level 29
static val FHD_240: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 240fps

FHD_25

Added in API level 29
static val FHD_25: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 25fps

FHD_30

Added in API level 29
static val FHD_30: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 30fps

FHD_50

Added in API level 29
static val FHD_50: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 50fps

FHD_60

Added in API level 29
static val FHD_60: MediaCodecInfo.VideoCapabilities.PerformancePoint

1080p 60fps

HD_100

Added in API level 29
static val HD_100: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 100fps

HD_120

Added in API level 29
static val HD_120: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 120fps

HD_200

Added in API level 29
static val HD_200: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 200fps

HD_24

Added in API level 29
static val HD_24: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 24fps

HD_240

Added in API level 29
static val HD_240: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 240fps

HD_25

Added in API level 29
static val HD_25: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 25fps

HD_30

Added in API level 29
static val HD_30: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 30fps

HD_50

Added in API level 29
static val HD_50: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 50fps

HD_60

Added in API level 29
static val HD_60: MediaCodecInfo.VideoCapabilities.PerformancePoint

720p 60fps

SD_24

Added in API level 29
static val SD_24: MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 24fps

SD_25

Added in API level 29
static val SD_25: MediaCodecInfo.VideoCapabilities.PerformancePoint

576p 25fps

SD_30

Added in API level 29
static val SD_30: MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 30fps

SD_48

Added in API level 29
static val SD_48: MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 48fps

SD_50

Added in API level 29
static val SD_50: MediaCodecInfo.VideoCapabilities.PerformancePoint

576p 50fps

SD_60

Added in API level 29
static val SD_60: MediaCodecInfo.VideoCapabilities.PerformancePoint

480p 60fps

UHD_100

Added in API level 29
static val UHD_100: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 100fps

UHD_120

Added in API level 29
static val UHD_120: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 120fps

UHD_200

Added in API level 29
static val UHD_200: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 200fps

UHD_24

Added in API level 29
static val UHD_24: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 24fps

UHD_240

Added in API level 29
static val UHD_240: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 240fps

UHD_25

Added in API level 29
static val UHD_25: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 25fps

UHD_30

Added in API level 29
static val UHD_30: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 30fps

UHD_50

Added in API level 29
static val UHD_50: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 50fps

UHD_60

Added in API level 29
static val UHD_60: MediaCodecInfo.VideoCapabilities.PerformancePoint

2160p 60fps