Package org.videolan.libvlc.util
Class HWDecoderUtil
- java.lang.Object
-
- org.videolan.libvlc.util.HWDecoderUtil
-
public class HWDecoderUtil extends Object
Utility class that return the preferred hardware decoder from a list of known devices.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HWDecoderUtil.AudioOutput
static class
HWDecoderUtil.Decoder
-
Constructor Summary
Constructors Constructor Description HWDecoderUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HWDecoderUtil.AudioOutput
getAudioOutputFromDevice()
static HWDecoderUtil.Decoder
getDecoderFromDevice()
-
-
-
Method Detail
-
getDecoderFromDevice
public static HWDecoderUtil.Decoder getDecoderFromDevice()
- Returns:
- the hardware decoder known to work for the running device (Always return Dec.ALL after Android 4.3)
-
getAudioOutputFromDevice
public static HWDecoderUtil.AudioOutput getAudioOutputFromDevice()
- Returns:
- the audio output known to work for the running device (By default, returns ALL, i.e AudioTrack + OpenSles)
-
-