Class Overview
Encapsulates the capabilities of a given codec component.
For example, what profile/level combinations it supports and what colorspaces
it is capable of providing the decoded data in, as well as some
codec-type specific capability flags.
You can get an instance for a given MediaCodecInfo
object with
getCapabilitiesForType()
, passing a MIME type.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
Constants
public
static
final
int
COLOR_Format12bitRGB444
Constant Value:
3
(0x00000003)
public
static
final
int
COLOR_Format16bitARGB1555
Constant Value:
5
(0x00000005)
public
static
final
int
COLOR_Format16bitARGB4444
Constant Value:
4
(0x00000004)
public
static
final
int
COLOR_Format16bitBGR565
Constant Value:
7
(0x00000007)
public
static
final
int
COLOR_Format16bitRGB565
Constant Value:
6
(0x00000006)
public
static
final
int
COLOR_Format18BitBGR666
Constant Value:
41
(0x00000029)
public
static
final
int
COLOR_Format18bitARGB1665
Constant Value:
9
(0x00000009)
public
static
final
int
COLOR_Format18bitRGB666
Constant Value:
8
(0x00000008)
public
static
final
int
COLOR_Format19bitARGB1666
Constant Value:
10
(0x0000000a)
public
static
final
int
COLOR_Format24BitABGR6666
Constant Value:
43
(0x0000002b)
public
static
final
int
COLOR_Format24BitARGB6666
Constant Value:
42
(0x0000002a)
public
static
final
int
COLOR_Format24bitARGB1887
Constant Value:
13
(0x0000000d)
public
static
final
int
COLOR_Format24bitBGR888
Constant Value:
12
(0x0000000c)
public
static
final
int
COLOR_Format24bitRGB888
Constant Value:
11
(0x0000000b)
public
static
final
int
COLOR_Format25bitARGB1888
Constant Value:
14
(0x0000000e)
public
static
final
int
COLOR_Format32bitARGB8888
Constant Value:
16
(0x00000010)
public
static
final
int
COLOR_Format32bitBGRA8888
Constant Value:
15
(0x0000000f)
public
static
final
int
COLOR_Format8bitRGB332
Constant Value:
2
(0x00000002)
public
static
final
int
COLOR_FormatCbYCrY
Constant Value:
27
(0x0000001b)
public
static
final
int
COLOR_FormatCrYCbY
Constant Value:
28
(0x0000001c)
public
static
final
int
COLOR_FormatL16
Constant Value:
36
(0x00000024)
public
static
final
int
COLOR_FormatL2
Constant Value:
33
(0x00000021)
public
static
final
int
COLOR_FormatL24
Constant Value:
37
(0x00000025)
public
static
final
int
COLOR_FormatL32
Constant Value:
38
(0x00000026)
public
static
final
int
COLOR_FormatL4
Constant Value:
34
(0x00000022)
public
static
final
int
COLOR_FormatL8
Constant Value:
35
(0x00000023)
public
static
final
int
COLOR_FormatMonochrome
Constant Value:
1
(0x00000001)
public
static
final
int
COLOR_FormatRawBayer10bit
Constant Value:
31
(0x0000001f)
public
static
final
int
COLOR_FormatRawBayer8bit
Constant Value:
30
(0x0000001e)
public
static
final
int
COLOR_FormatRawBayer8bitcompressed
Constant Value:
32
(0x00000020)
public
static
final
int
COLOR_FormatSurface
Constant Value:
2130708361
(0x7f000789)
public
static
final
int
COLOR_FormatYCbYCr
Constant Value:
25
(0x00000019)
public
static
final
int
COLOR_FormatYCrYCb
Constant Value:
26
(0x0000001a)
public
static
final
int
COLOR_FormatYUV411PackedPlanar
Constant Value:
18
(0x00000012)
public
static
final
int
COLOR_FormatYUV411Planar
Constant Value:
17
(0x00000011)
public
static
final
int
COLOR_FormatYUV420PackedPlanar
Constant Value:
20
(0x00000014)
public
static
final
int
COLOR_FormatYUV420PackedSemiPlanar
Constant Value:
39
(0x00000027)
public
static
final
int
COLOR_FormatYUV420Planar
Constant Value:
19
(0x00000013)
public
static
final
int
COLOR_FormatYUV420SemiPlanar
Constant Value:
21
(0x00000015)
public
static
final
int
COLOR_FormatYUV422PackedPlanar
Constant Value:
23
(0x00000017)
public
static
final
int
COLOR_FormatYUV422PackedSemiPlanar
Constant Value:
40
(0x00000028)
public
static
final
int
COLOR_FormatYUV422Planar
Constant Value:
22
(0x00000016)
public
static
final
int
COLOR_FormatYUV422SemiPlanar
Constant Value:
24
(0x00000018)
public
static
final
int
COLOR_FormatYUV444Interleaved
Constant Value:
29
(0x0000001d)
public
static
final
int
COLOR_QCOM_FormatYUV420SemiPlanar
Constant Value:
2141391872
(0x7fa30c00)
public
static
final
int
COLOR_TI_FormatYUV420PackedSemiPlanar
Constant Value:
2130706688
(0x7f000100)
public
static
final
String
FEATURE_AdaptivePlayback
video decoder only: codec supports seamless resolution changes.
Constant Value:
"adaptive-playback"
Fields
public
int[]
colorFormats
Defined in the OpenMAX IL specs, color format values are drawn from
OMX_COLOR_FORMATTYPE.
Public Constructors
public
MediaCodecInfo.CodecCapabilities
()
Public Methods
public
final
boolean
isFeatureSupported
(String name)
Query codec feature capabilities.