Package video
Video #sleela 2.5 (lib/video/Video.sleela)
Video class
Defines the SLeeLa standard-library type Video used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
title | string title | No description in source. |
timeline | VideoTimeline timeline | No description in source. |
codec | VideoCodec codec | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setTitle | void setTitle(string value) | No description in source. |
getTitle | string getTitle() | No description in source. |
ready | boolean ready() | No description in source. |
video-codec-pipeline #sleela 2.5 (lib/video/video-codec-pipeline.sleela)
Verifier class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
resolveExtension | int resolveExtension(string ext) | No description in source. |
resultText | string resultText(int code) | No description in source. |
Processor class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
decode | int decode(boolean loaded, boolean nativeCodec, boolean backendReady) | No description in source. |
encode | int encode(boolean loaded, boolean nativeCodec, boolean backendReady) | No description in source. |
Controller class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
loaded | int[] loaded | No description in source. |
backend | int[] backend | No description in source. |
verifier | Verifier verifier | wired by create(), called via the field (1.11) |
processor | Processor processor | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
create | void create() | No description in source. |
count | int count() | No description in source. |
isNative | boolean isNative(int id) | No description in source. |
nameOf | string nameOf(int id) | No description in source. |
load | int load(int id) | No description in source. |
isLoaded | boolean isLoaded(int id) | No description in source. |
unloadAll | void unloadAll() | No description in source. |
registerBackend | int registerBackend(int id) | No description in source. |
hasBackend | boolean hasBackend(int id) | No description in source. |
loadedCount | int loadedCount() | No description in source. |
resolveExtension | int resolveExtension(string ext) | Clean facade methods: delegate to the wired collaborators. |
resultText | string resultText(int code) | No description in source. |
decode | int decode(int id) | No description in source. |
encode | int encode(int id) | No description in source. |
main | void main() | No description in source. |
VideoCodec #sleela 2.5 (lib/video/VideoCodec.sleela)
VideoCodec class
Defines the SLeeLa standard-library type VideoCodec used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | string name | No description in source. |
profile | string profile | No description in source. |
decoder | boolean decoder | No description in source. |
encoder | boolean encoder | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
identify | void identify(string codec,string codecProfile) | No description in source. |
capabilities | void capabilities(boolean decode,boolean encode) | No description in source. |
supported | boolean supported() | No description in source. |
VideoCodecCatalog #sleela 2.5 (lib/video/VideoCodecCatalog.sleela)
VideoCodecCatalog class
Defines the SLeeLa standard-library type VideoCodecCatalog used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
count | int count | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | void initialize() | No description in source. |
size | int size() | No description in source. |
contains | boolean contains(string name) | No description in source. |
VideoCodecController #sleela 2.5 (lib/video/VideoCodecController.sleela)
VideoCodecController class
Defines the SLeeLa standard-library type VideoCodecController used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
verifier | VideoCodecVerifier verifier | wired by create(), called via the field. (Lifecycle tables + ready flag are inherited from SLPluginService.) |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
create | void create() | Build the controller: configure() (inherited) allocates the 12-entry lifecycle tables and records the native-id mask; then wire the Verifier. Only Raw Video (0) is native -> mask bit 0. |
isQualifiedBackend | boolean isQualifiedBackend(int id) | Video-specific: ProRes/DNx (10, 11) are the qualified backends. |
resolveExtension | int resolveExtension(string extension) | Resolve a codec id from a file extension via the wired Verifier. |
decode | int decode(int id) | Domain verbs over the inherited dispatch gate (-2 invalid, -5 not loaded, -1 backend absent, 0 ok). |
encode | int encode(int id) | No description in source. |
serviceName | string serviceName() | No description in source. |
resultText | string resultText(int code) | No description in source. |
VideoCodecLoader #sleela 2.5 (lib/video/VideoCodecLoader.sleela)
VideoCodecLoader class
Defines the SLeeLa standard-library type VideoCodecLoader used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
loaded | int[] loaded | Per-codec loaded flag (1 loaded, 0 not), indexed by codec id. Call init(). |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
codecCount | int codecCount() | Number of video codecs the native registry knows (SLEELA_VIDEO_CODEC_COUNT). |
init | void init() | No description in source. |
load | void load(int id) | No description in source. |
unload | void unload(int id) | No description in source. |
isLoaded | boolean isLoaded(int id) | No description in source. |
unloadAll | void unloadAll() | No description in source. |
nameOf | string nameOf(int id) | Human-readable codec name by id, matching the native registry. |
isNative | boolean isNative(int id) | Only Raw Video (0) encodes/decodes natively; every other video codec is a backend (ProRes/DNx are qualified backends). Mirrors the registry state. |
isQualifiedBackend | boolean isQualifiedBackend(int id) | ProRes (10) and DNx (11) need a specially qualified backend adapter. |
VideoCodecProcessor #sleela 2.5 (lib/video/VideoCodecProcessor.sleela)
VideoCodecProcessor class
Defines the SLeeLa standard-library type VideoCodecProcessor used within the video library family.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
canProcess | boolean canProcess(boolean loaded, boolean nativeCodec, boolean backendReady) | No description in source. |
decode | int decode(boolean loaded, boolean nativeCodec, boolean backendReady) | No description in source. |
encode | int encode(boolean loaded, boolean nativeCodec, boolean backendReady) | No description in source. |
VideoCodecVerifier #sleela 2.5 (lib/video/VideoCodecVerifier.sleela)
VideoCodecVerifier class
Defines the SLeeLa standard-library type VideoCodecVerifier used within the video library family.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
resolveExtension | int resolveExtension(string ext) | Resolve a video codec id from a file extension, or -1 if unknown. Extensions are taken verbatim from the native video registry; note some containers (.webm, .mov) are shared and resolve to a representative codec. |
verifyLoadable | int verifyLoadable(int id) | No description in source. |
resultText | string resultText(int code) | No description in source. |
ok | boolean ok(int code) | No description in source. |
VideoDecoder #sleela 2.5 (lib/video/VideoDecoder.sleela)
VideoDecoder class
Defines the SLeeLa standard-library type VideoDecoder used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
codec | VideoCodec codec | No description in source. |
profile | VideoProfile profile | No description in source. |
open | boolean open | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(VideoCodec c,VideoProfile p) | No description in source. |
start | void start() | No description in source. |
ready | boolean ready() | No description in source. |
stop | void stop() | No description in source. |
VideoEncoder #sleela 2.5 (lib/video/VideoEncoder.sleela)
VideoEncoder class
Defines the SLeeLa standard-library type VideoEncoder used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
codec | VideoCodec codec | No description in source. |
format | VideoFormat format | No description in source. |
open | boolean open | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(VideoCodec c,VideoFormat f) | No description in source. |
start | void start() | No description in source. |
ready | boolean ready() | No description in source. |
stop | void stop() | No description in source. |
VideoFormat #sleela 2.5 (lib/video/VideoFormat.sleela)
VideoFormat class
Defines the SLeeLa standard-library type VideoFormat used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
width | int width | No description in source. |
height | int height | No description in source. |
frameRateNumerator | int frameRateNumerator | No description in source. |
frameRateDenominator | int frameRateDenominator | No description in source. |
pixelFormat | VideoPixelFormat pixelFormat | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
valid | boolean valid() | No description in source. |
VideoFrame #sleela 2.5 (lib/video/VideoFrame.sleela)
VideoFrame class
Defines the SLeeLa standard-library type VideoFrame used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
width | int width | No description in source. |
height | int height | No description in source. |
format | VideoPixelFormat format | No description in source. |
timestamp | long timestamp | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
valid | boolean valid() | No description in source. |
resize | void resize(int w,int h) | No description in source. |
VideoFrameBuffer #sleela 2.5 (lib/video/VideoFrameBuffer.sleela)
VideoFrameBuffer class
Defines the SLeeLa standard-library type VideoFrameBuffer used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
bytes | int bytes | No description in source. |
stride | int stride | No description in source. |
planes | int planes | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
describe | void describe(int size,int row,int count) | No description in source. |
valid | boolean valid() | No description in source. |
VideoPixelFormat #sleela 2.5 (lib/video/VideoPixelFormat.sleela)
VideoPixelFormat class
Defines the SLeeLa standard-library type VideoPixelFormat used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | string name | No description in source. |
planes | int planes | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
set | void set(string value,int count) | No description in source. |
valid | boolean valid() | No description in source. |
VideoProfile #sleela 2.5 (lib/video/VideoProfile.sleela)
VideoProfile class
Defines the SLeeLa standard-library type VideoProfile used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | string name | No description in source. |
level | int level | No description in source. |
bitDepth | int bitDepth | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
set | void set(string value,int profileLevel,int depth) | No description in source. |
valid | boolean valid() | No description in source. |
VideoRenderer #sleela 2.5 (lib/video/VideoRenderer.sleela)
VideoRenderer class
Defines the SLeeLa standard-library type VideoRenderer used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
frame | VideoFrame frame | No description in source. |
active | boolean active | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
attach | void attach(VideoFrame value) | No description in source. |
start | void start() | No description in source. |
renderable | boolean renderable() | No description in source. |
stop | void stop() | No description in source. |
VideoStream #sleela 2.5 (lib/video/VideoStream.sleela)
VideoStream class
Defines the SLeeLa standard-library type VideoStream used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
identifier | string identifier | No description in source. |
track | VideoTrack track | No description in source. |
active | boolean active | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
open | void open(string id,VideoTrack value) | No description in source. |
running | boolean running() | No description in source. |
close | void close() | No description in source. |
VideoTimeline #sleela 2.5 (lib/video/VideoTimeline.sleela)
VideoTimeline class
Defines the SLeeLa standard-library type VideoTimeline used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
begin | long begin | No description in source. |
end | long end | No description in source. |
frames | int frames | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setRange | void setRange(long start,long finish) | No description in source. |
addFrame | void addFrame() | No description in source. |
duration | long duration() | No description in source. |
VideoTimestamp #sleela 2.5 (lib/video/VideoTimestamp.sleela)
VideoTimestamp class
Defines the SLeeLa standard-library type VideoTimestamp used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
value | long value | No description in source. |
numerator | int numerator | No description in source. |
denominator | int denominator | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
set | void set(long v,int n,int d) | No description in source. |
valid | boolean valid() | No description in source. |
VideoTrack #sleela 2.5 (lib/video/VideoTrack.sleela)
VideoTrack class
Defines the SLeeLa standard-library type VideoTrack used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | string name | No description in source. |
frameCount | int frameCount | No description in source. |
format | VideoFormat format | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(string trackName,VideoFormat trackFormat) | No description in source. |
addFrame | void addFrame() | No description in source. |
frames | int frames() | No description in source. |
VideoWork #sleela 2.5 (lib/video/VideoWork.sleela)
VideoWork class
Defines the SLeeLa standard-library type VideoWork used within the video library family.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
video | Video video | No description in source. |
renderer | VideoRenderer renderer | No description in source. |
encoder | VideoEncoder encoder | No description in source. |
decoder | VideoDecoder decoder | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
compose | void compose(Video value) | No description in source. |
ready | boolean ready() | No description in source. |
prepare | void prepare() | No description in source. |
prepared | boolean prepared() | No description in source. |