28package com.jogamp.opengl.util.av;
30import com.jogamp.math.Vec2i;
31import com.jogamp.opengl.util.texture.Texture;
2D Vector based upon two integer components.
Bitmap Texture event of SubtitleEvent.
final Vec2i dimension
Subtitle texture dimension.
Texture texture
Subtitle texture or null if unused.
final Vec2i position
Subtitle texture position.
SubBitmapEvent(final CodecID codec, final String lang, final Vec2i pos, final Vec2i dim, final Texture tex, final int pts_start, final int pts_end, final TextureOwner owner)
Texture Event ctor.
void release()
Release the resources, if any, back to the owner.
final String lang
Language code, supposed to be 3-letters of ISO 639-2 language codes
final String getStartString()
final int pts_end
PTS end time in milliseconds to end showing this subtitle event.
final int pts_start
PTS start time in milliseconds to start showing this subtitle event.
final CodecID codec
CodecID of this subtitle event.
Represents an OpenGL texture object.
FFmpeg/libAV analog AVCodecID.
SubtitleEvent Implementation Type
To be implemented by the Texture owner to release the texture.
void release(Texture tex)
The given Texture is to be released by the owner.