JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.av.SubBitmapEvent Class Reference

Bitmap Texture event of SubtitleEvent. More...

Inheritance diagram for com.jogamp.opengl.util.av.SubBitmapEvent:
Collaboration diagram for com.jogamp.opengl.util.av.SubBitmapEvent:

Classes

interface  TextureOwner
 To be implemented by the Texture owner to release the texture. More...
 

Public Member Functions

 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. More...
 
void release ()
 Release the resources, if any, back to the owner. More...
 
String toString ()
 
- Public Member Functions inherited from com.jogamp.opengl.util.av.SubtitleEvent
 SubtitleEvent (final Type type, final CodecID codec, final String lang, final int pts_start, final int pts_end)
 
abstract void release ()
 Release the resources, if any, back to the owner. More...
 
final int getDuration ()
 
final boolean isEndDefined ()
 See pts_end. More...
 
final String getStartString ()
 

Public Attributes

final Vec2i position
 Subtitle texture position. More...
 
final Vec2i dimension
 Subtitle texture dimension. More...
 
Texture texture
 Subtitle texture or null if unused. More...
 
- Public Attributes inherited from com.jogamp.opengl.util.av.SubtitleEvent
final Type type
 Implementation Type of this instance. More...
 
final CodecID codec
 CodecID of this subtitle event. More...
 
final String lang
 Language code, supposed to be 3-letters of ISO 639-2 language codes More...
 
final int pts_start
 PTS start time in milliseconds to start showing this subtitle event. More...
 
final int pts_end
 PTS end time in milliseconds to end showing this subtitle event. More...
 

Detailed Description

Bitmap Texture event of SubtitleEvent.

Consider SubtitleEvent#pts_end and SubEmptyEvent.

Definition at line 39 of file SubBitmapEvent.java.

Constructor & Destructor Documentation

◆ SubBitmapEvent()

com.jogamp.opengl.util.av.SubBitmapEvent.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.

Parameters
codecthe CodecID
langlanguage code, supposed to be 3-letters of ISO 639-2 language codes
postexture position
dimtexture dimension
texthe Texture or null if unused
pts_startpts start in ms
pts_endpts end in ms, often isEndDefined() for bitmap'ed types see pts_end
ownerTexture owner code-stub to release the texture

Definition at line 64 of file SubBitmapEvent.java.

Member Function Documentation

◆ release()

void com.jogamp.opengl.util.av.SubBitmapEvent.release ( )

Release the resources, if any, back to the owner.

The texture is released back to the owner

Reimplemented from com.jogamp.opengl.util.av.SubtitleEvent.

Definition at line 79 of file SubBitmapEvent.java.

Here is the call graph for this function:

◆ toString()

String com.jogamp.opengl.util.av.SubBitmapEvent.toString ( )

Definition at line 87 of file SubBitmapEvent.java.

Here is the call graph for this function:

Member Data Documentation

◆ dimension

final Vec2i com.jogamp.opengl.util.av.SubBitmapEvent.dimension

Subtitle texture dimension.

Definition at line 48 of file SubBitmapEvent.java.

◆ position

final Vec2i com.jogamp.opengl.util.av.SubBitmapEvent.position

Subtitle texture position.

Definition at line 46 of file SubBitmapEvent.java.

◆ texture

Texture com.jogamp.opengl.util.av.SubBitmapEvent.texture

Subtitle texture or null if unused.

Definition at line 50 of file SubBitmapEvent.java.


The documentation for this class was generated from the following file: