
public class CodecDescriptor extends RefCounted
| Modifier and Type | Class and Description |
|---|---|
static class |
CodecDescriptor.CodecProperty
Properties supported by a codec.
|
| Modifier and Type | Method and Description |
|---|---|
CodecDescriptor |
copyReference()
Create a new CodecDescriptor object that is actually referring to the
exact same underlying native object.
|
boolean |
equals(Object obj)
Compares two values, returning true if the underlying objects in native code are the same object.
|
Codec.ID |
getId()
Get the codec ID for this descriptor
|
String |
getLongName()
A more descriptive name for this codec.
|
String |
getName()
Name of the codec.
|
int |
getProperties()
A bit mask of Codec.Properties this codec has.
|
MediaDescriptor.Type |
getType() |
int |
hashCode()
Get a hashable value for this object.
|
boolean |
hasProperty(CodecDescriptor.CodecProperty p)
Checks if this codec has the given property.
|
static CodecDescriptor |
make(Codec.ID id)
Get the descriptor for the given id.
|
String |
toString()
info about this
CodecDescriptor object |
delete, getCurrentRefCountpublic CodecDescriptor copyReference()
copyReference in class RefCountedpublic boolean equals(Object obj)
public int hashCode()
public String toString()
CodecDescriptor objectpublic boolean hasProperty(CodecDescriptor.CodecProperty p)
p - property to checkpublic String getName()
public String getLongName()
public int getProperties()
public Codec.ID getId()
public MediaDescriptor.Type getType()
public static CodecDescriptor make(Codec.ID id)
Copyright © 2018 Humble Software. All rights reserved.