Methods Summary |
---|
public static java.util.List | getAudioDecoders()Returns the list of audio decoder types
List<AudioDecoder> decoderList = new ArrayList<AudioDecoder>();
int nDecoders = native_get_num_audio_decoders();
for (int i = 0; i < nDecoders; ++i) {
decoderList.add(AudioDecoder.values()[native_get_audio_decoder_type(i)]);
}
return decoderList;
|
public static java.util.List | getVideoDecoders()Returns the list of video decoder types
System.loadLibrary("media_jni");
native_init();
List<VideoDecoder> decoderList = new ArrayList<VideoDecoder>();
int nDecoders = native_get_num_video_decoders();
for (int i = 0; i < nDecoders; ++i) {
decoderList.add(VideoDecoder.values()[native_get_video_decoder_type(i)]);
}
return decoderList;
|
private static final native int | native_get_audio_decoder_type(int index)
|
private static final native int | native_get_num_audio_decoders()
|
private static final native int | native_get_num_video_decoders()
|
private static final native int | native_get_video_decoder_type(int index)
|
private static final native void | native_init()
|