|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Generic subtitle event. More...
Classes | |
| enum | Type |
SubtitleEvent Implementation Type More... | |
Public Member Functions | |
| 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 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... | |
Generic subtitle event.
It is mandatory that the receiver release() this instance after processing, allowing the resource owner to free or reuse it.
Definition at line 12 of file SubtitleEvent.java.
| com.jogamp.opengl.util.av.SubtitleEvent.SubtitleEvent | ( | final Type | type, |
| final CodecID | codec, | ||
| final String | lang, | ||
| final int | pts_start, | ||
| final int | pts_end | ||
| ) |
| type | |
| codec | the CodecID |
| lang | language code, supposed to be 3-letters of ISO 639-2 language codes |
| pts_start | pts start in ms, see pts_start |
| pts_end | pts end in ms, see pts_end |
Definition at line 48 of file SubtitleEvent.java.
| final int com.jogamp.opengl.util.av.SubtitleEvent.getDuration | ( | ) |
| final String com.jogamp.opengl.util.av.SubtitleEvent.getStartString | ( | ) |
Definition at line 64 of file SubtitleEvent.java.
| final boolean com.jogamp.opengl.util.av.SubtitleEvent.isEndDefined | ( | ) |
See pts_end.
Definition at line 62 of file SubtitleEvent.java.
|
abstract |
Release the resources, if any, back to the owner.
Reimplemented in com.jogamp.opengl.util.av.SubBitmapEvent, com.jogamp.opengl.util.av.SubEmptyEvent, and com.jogamp.opengl.util.av.SubTextEvent.
| final CodecID com.jogamp.opengl.util.av.SubtitleEvent.codec |
CodecID of this subtitle event.
Definition at line 25 of file SubtitleEvent.java.
| final String com.jogamp.opengl.util.av.SubtitleEvent.lang |
Language code, supposed to be 3-letters of ISO 639-2 language codes
Definition at line 27 of file SubtitleEvent.java.
| final int com.jogamp.opengl.util.av.SubtitleEvent.pts_end |
PTS end time in milliseconds to end showing this subtitle event.
SubBitmapEvent often (e.g. CodecID#HDMV_PGS) have an infinite end-time, i.e. (Integer#MAX_VALUE, and shall be overwritten by the next one or SubEmptyEvent.
Definition at line 38 of file SubtitleEvent.java.
| final int com.jogamp.opengl.util.av.SubtitleEvent.pts_start |
PTS start time in milliseconds to start showing this subtitle event.
Definition at line 29 of file SubtitleEvent.java.
| final Type com.jogamp.opengl.util.av.SubtitleEvent.type |
Implementation Type of this instance.
Definition at line 23 of file SubtitleEvent.java.