28package com.jogamp.opengl.util.av;
30import com.jogamp.opengl.GL;
31import com.jogamp.opengl.GLEventListener;
32import com.jogamp.opengl.GLException;
34import jogamp.opengl.Debug;
36import java.io.PrintStream;
39import com.jogamp.common.av.AudioSink;
40import com.jogamp.common.av.PTS;
41import com.jogamp.common.av.TimeFrameI;
42import com.jogamp.common.net.Uri;
43import com.jogamp.math.Vec4f;
44import com.jogamp.opengl.util.texture.Texture;
45import com.jogamp.opengl.util.texture.TextureSequence;
198 public static final boolean DEBUG = Debug.debug(
"GLMediaPlayer");
199 public static final boolean DEBUG_AVSYNC = Debug.debug(
"GLMediaPlayer.AVSync");
200 public static final boolean DEBUG_NATIVE = Debug.debug(
"GLMediaPlayer.Native");
266 @SuppressWarnings(
"serial")
272 super(message, cause);
286 public Chapter(
final int i,
final int s,
final int e,
final String t) {
293 return String.format(
"%02d: [%s .. %s] %s",
id, PTS.toTimeStr(
start), PTS.toTimeStr(
end),
title);
376 Bit(
final int v) { value = v; }
381 public static int getBits(
final List<Bit> v) {
383 for(
final Bit b : v) {
401 public boolean isSet(
final Bit bit) {
return bit.value == (
mask & bit.value ); }
402 public boolean isSet(
final List<Bit> bits) {
final int bits_i =
getBits(bits);
return bits_i == (
mask & bits_i ); }
403 public boolean isSet(
final int bits) {
return bits == (
mask & bits ); }
408 for(
final Bit b : v) {
417 final StringBuilder out =
new StringBuilder();
418 for (
final Bit dt :
Bit.values()) {
420 if( 0 < count ) { out.append(
", "); }
421 out.append(dt.name()); count++;
426 }
else if( 1 < count ) {
430 return out.toString();
434 public boolean equals(
final Object other) {
565 public void playStream(Uri streamLoc,
int vid,
int aid,
int sid,
int textureCount)
throws IllegalStateException, IllegalArgumentException;
585 final String alang,
final int aid,
final String slang,
final int sid,
586 final int reqTextureCount)
throws IllegalStateException, IllegalArgumentException;
600 public void switchStream(
final int vid,
final int aid,
final int sid)
throws IllegalStateException, IllegalArgumentException;
873 public TextureSequence.TextureFrame
getLastTexture() throws IllegalStateException;
4D Vector based upon four float components.
A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeExceptio...
Texture holder interface, maybe specialized by implementation to associated related data.
FFmpeg/libAV analog AVCodecID.
Event listener to notify users of updates regarding the TextureSequence.
Protocol for texture sequences, like animations, movies, etc.