1974 lines
73 KiB
TypeScript
1974 lines
73 KiB
TypeScript
declare namespace GstVideo {
|
|
|
|
class ColorBalanceType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kHardware": ColorBalanceType
|
|
static readonly "kSoftware": ColorBalanceType
|
|
}
|
|
|
|
class NavigationCommand {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalid": NavigationCommand
|
|
static readonly "kMenu1": NavigationCommand
|
|
static readonly "kMenu2": NavigationCommand
|
|
static readonly "kMenu3": NavigationCommand
|
|
static readonly "kMenu4": NavigationCommand
|
|
static readonly "kMenu5": NavigationCommand
|
|
static readonly "kMenu6": NavigationCommand
|
|
static readonly "kMenu7": NavigationCommand
|
|
static readonly "kLeft": NavigationCommand
|
|
static readonly "kRight": NavigationCommand
|
|
static readonly "kUp": NavigationCommand
|
|
static readonly "kDown": NavigationCommand
|
|
static readonly "kActivate": NavigationCommand
|
|
static readonly "kPrevAngle": NavigationCommand
|
|
static readonly "kNextAngle": NavigationCommand
|
|
}
|
|
|
|
class NavigationEventType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalid": NavigationEventType
|
|
static readonly "kKeyPress": NavigationEventType
|
|
static readonly "kKeyRelease": NavigationEventType
|
|
static readonly "kMouseButtonPress": NavigationEventType
|
|
static readonly "kMouseButtonRelease": NavigationEventType
|
|
static readonly "kMouseMove": NavigationEventType
|
|
static readonly "kCommand": NavigationEventType
|
|
static readonly "kMouseScroll": NavigationEventType
|
|
}
|
|
|
|
class NavigationMessageType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalid": NavigationMessageType
|
|
static readonly "kMouseOver": NavigationMessageType
|
|
static readonly "kCommandsChanged": NavigationMessageType
|
|
static readonly "kAnglesChanged": NavigationMessageType
|
|
static readonly "kEvent": NavigationMessageType
|
|
}
|
|
|
|
class NavigationQueryType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kInvalid": NavigationQueryType
|
|
static readonly "kCommands": NavigationQueryType
|
|
static readonly "kAngles": NavigationQueryType
|
|
}
|
|
|
|
class VideoAFDSpec {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDvbEtsi": VideoAFDSpec
|
|
static readonly "kAtscA53": VideoAFDSpec
|
|
static readonly "kSmpteSt20161": VideoAFDSpec
|
|
}
|
|
|
|
class VideoAFDValue {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnavailable": VideoAFDValue
|
|
static readonly "k169TopAligned": VideoAFDValue
|
|
static readonly "k149TopAligned": VideoAFDValue
|
|
static readonly "kGreaterThan169": VideoAFDValue
|
|
static readonly "k43Full169Full": VideoAFDValue
|
|
static readonly "k43Full43Pillar": VideoAFDValue
|
|
static readonly "k169Letter169Full": VideoAFDValue
|
|
static readonly "k149Letter149Pillar": VideoAFDValue
|
|
static readonly "k43Full149Center": VideoAFDValue
|
|
static readonly "k169Letter149Center": VideoAFDValue
|
|
static readonly "k169Letter43Center": VideoAFDValue
|
|
}
|
|
|
|
class VideoAlphaMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kCopy": VideoAlphaMode
|
|
static readonly "kSet": VideoAlphaMode
|
|
static readonly "kMult": VideoAlphaMode
|
|
}
|
|
|
|
class VideoAncillaryDID {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUndefined": VideoAncillaryDID
|
|
static readonly "kDeletion": VideoAncillaryDID
|
|
static readonly "kHanc3gAudioDataFirst": VideoAncillaryDID
|
|
static readonly "kHanc3gAudioDataLast": VideoAncillaryDID
|
|
static readonly "kHancHdtvAudioDataFirst": VideoAncillaryDID
|
|
static readonly "kHancHdtvAudioDataLast": VideoAncillaryDID
|
|
static readonly "kHancSdtvAudioData1First": VideoAncillaryDID
|
|
static readonly "kHancSdtvAudioData1Last": VideoAncillaryDID
|
|
static readonly "kCameraPosition": VideoAncillaryDID
|
|
static readonly "kHancErrorDetection": VideoAncillaryDID
|
|
static readonly "kHancSdtvAudioData2First": VideoAncillaryDID
|
|
static readonly "kHancSdtvAudioData2Last": VideoAncillaryDID
|
|
}
|
|
|
|
class VideoAncillaryDID16 {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kS334Eia708": VideoAncillaryDID16
|
|
static readonly "kS334Eia608": VideoAncillaryDID16
|
|
static readonly "kS20163AfdBar": VideoAncillaryDID16
|
|
}
|
|
|
|
class VideoBufferFlags { /*unsupported*/ }
|
|
|
|
class VideoCaptionType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoCaptionType
|
|
static readonly "kCea608Raw": VideoCaptionType
|
|
static readonly "kCea608S3341a": VideoCaptionType
|
|
static readonly "kCea708Raw": VideoCaptionType
|
|
static readonly "kCea708Cdp": VideoCaptionType
|
|
}
|
|
|
|
class VideoChromaFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoChromaFlags
|
|
static readonly "kInterlaced": VideoChromaFlags
|
|
}
|
|
|
|
class VideoChromaMethod {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNearest": VideoChromaMethod
|
|
static readonly "kLinear": VideoChromaMethod
|
|
}
|
|
|
|
class VideoChromaMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kFull": VideoChromaMode
|
|
static readonly "kUpsampleOnly": VideoChromaMode
|
|
static readonly "kDownsampleOnly": VideoChromaMode
|
|
static readonly "kNone": VideoChromaMode
|
|
}
|
|
|
|
class VideoChromaSite {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoChromaSite
|
|
static readonly "kNone": VideoChromaSite
|
|
static readonly "kHCosited": VideoChromaSite
|
|
static readonly "kVCosited": VideoChromaSite
|
|
static readonly "kAltLine": VideoChromaSite
|
|
static readonly "kCosited": VideoChromaSite
|
|
static readonly "kJpeg": VideoChromaSite
|
|
static readonly "kMpeg2": VideoChromaSite
|
|
static readonly "kDv": VideoChromaSite
|
|
}
|
|
|
|
class VideoCodecFrameFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDecodeOnly": VideoCodecFrameFlags
|
|
static readonly "kSyncPoint": VideoCodecFrameFlags
|
|
static readonly "kForceKeyframe": VideoCodecFrameFlags
|
|
static readonly "kForceKeyframeHeaders": VideoCodecFrameFlags
|
|
static readonly "kCorrupted": VideoCodecFrameFlags
|
|
}
|
|
|
|
class VideoColorMatrix {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoColorMatrix
|
|
static readonly "kRgb": VideoColorMatrix
|
|
static readonly "kFcc": VideoColorMatrix
|
|
static readonly "kBt709": VideoColorMatrix
|
|
static readonly "kBt601": VideoColorMatrix
|
|
static readonly "kSmpte240m": VideoColorMatrix
|
|
static readonly "kBt2020": VideoColorMatrix
|
|
}
|
|
|
|
class VideoColorPrimaries {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoColorPrimaries
|
|
static readonly "kBt709": VideoColorPrimaries
|
|
static readonly "kBt470m": VideoColorPrimaries
|
|
static readonly "kBt470bg": VideoColorPrimaries
|
|
static readonly "kSmpte170m": VideoColorPrimaries
|
|
static readonly "kSmpte240m": VideoColorPrimaries
|
|
static readonly "kFilm": VideoColorPrimaries
|
|
static readonly "kBt2020": VideoColorPrimaries
|
|
static readonly "kAdobergb": VideoColorPrimaries
|
|
static readonly "kSmptest428": VideoColorPrimaries
|
|
static readonly "kSmpterp431": VideoColorPrimaries
|
|
static readonly "kSmpteeg432": VideoColorPrimaries
|
|
static readonly "kEbu3213": VideoColorPrimaries
|
|
}
|
|
|
|
class VideoColorRange {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoColorRange
|
|
static readonly "k0255": VideoColorRange
|
|
static readonly "k16235": VideoColorRange
|
|
}
|
|
|
|
class VideoDecoderRequestSyncPointFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDiscardInput": VideoDecoderRequestSyncPointFlags
|
|
static readonly "kCorruptOutput": VideoDecoderRequestSyncPointFlags
|
|
}
|
|
|
|
class VideoDitherFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoDitherFlags
|
|
static readonly "kInterlaced": VideoDitherFlags
|
|
static readonly "kQuantize": VideoDitherFlags
|
|
}
|
|
|
|
class VideoDitherMethod {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoDitherMethod
|
|
static readonly "kVerterr": VideoDitherMethod
|
|
static readonly "kFloydSteinberg": VideoDitherMethod
|
|
static readonly "kSierraLite": VideoDitherMethod
|
|
static readonly "kBayer": VideoDitherMethod
|
|
}
|
|
|
|
class VideoFieldOrder {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoFieldOrder
|
|
static readonly "kTopFieldFirst": VideoFieldOrder
|
|
static readonly "kBottomFieldFirst": VideoFieldOrder
|
|
}
|
|
|
|
class VideoFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoFlags
|
|
static readonly "kVariableFps": VideoFlags
|
|
static readonly "kPremultipliedAlpha": VideoFlags
|
|
}
|
|
|
|
class VideoFormat {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoFormat
|
|
static readonly "kEncoded": VideoFormat
|
|
static readonly "kI420": VideoFormat
|
|
static readonly "kYV12": VideoFormat
|
|
static readonly "kYUy2": VideoFormat
|
|
static readonly "kUyvy": VideoFormat
|
|
static readonly "kAyuv": VideoFormat
|
|
static readonly "kRgbx": VideoFormat
|
|
static readonly "kBgrx": VideoFormat
|
|
static readonly "kXRgb": VideoFormat
|
|
static readonly "kXBgr": VideoFormat
|
|
static readonly "kRgba": VideoFormat
|
|
static readonly "kBgra": VideoFormat
|
|
static readonly "kArgb": VideoFormat
|
|
static readonly "kAbgr": VideoFormat
|
|
static readonly "kRgb": VideoFormat
|
|
static readonly "kBgr": VideoFormat
|
|
static readonly "kY41b": VideoFormat
|
|
static readonly "kY42b": VideoFormat
|
|
static readonly "kYVyu": VideoFormat
|
|
static readonly "kY444": VideoFormat
|
|
static readonly "kV210": VideoFormat
|
|
static readonly "kV216": VideoFormat
|
|
static readonly "kNv12": VideoFormat
|
|
static readonly "kNv21": VideoFormat
|
|
static readonly "kGray8": VideoFormat
|
|
static readonly "kGray16Be": VideoFormat
|
|
static readonly "kGray16Le": VideoFormat
|
|
static readonly "kV308": VideoFormat
|
|
static readonly "kRgb16": VideoFormat
|
|
static readonly "kBgr16": VideoFormat
|
|
static readonly "kRgb15": VideoFormat
|
|
static readonly "kBgr15": VideoFormat
|
|
static readonly "kUyvp": VideoFormat
|
|
static readonly "kA420": VideoFormat
|
|
static readonly "kRgb8p": VideoFormat
|
|
static readonly "kYUv9": VideoFormat
|
|
static readonly "kYVu9": VideoFormat
|
|
static readonly "kIyu1": VideoFormat
|
|
static readonly "kArgb64": VideoFormat
|
|
static readonly "kAyuv64": VideoFormat
|
|
static readonly "kR210": VideoFormat
|
|
static readonly "kI42010be": VideoFormat
|
|
static readonly "kI42010le": VideoFormat
|
|
static readonly "kI42210be": VideoFormat
|
|
static readonly "kI42210le": VideoFormat
|
|
static readonly "kY44410be": VideoFormat
|
|
static readonly "kY44410le": VideoFormat
|
|
static readonly "kGbr": VideoFormat
|
|
static readonly "kGbr10be": VideoFormat
|
|
static readonly "kGbr10le": VideoFormat
|
|
static readonly "kNv16": VideoFormat
|
|
static readonly "kNv24": VideoFormat
|
|
static readonly "kNv1264z32": VideoFormat
|
|
static readonly "kA42010be": VideoFormat
|
|
static readonly "kA42010le": VideoFormat
|
|
static readonly "kA42210be": VideoFormat
|
|
static readonly "kA42210le": VideoFormat
|
|
static readonly "kA44410be": VideoFormat
|
|
static readonly "kA44410le": VideoFormat
|
|
static readonly "kNv61": VideoFormat
|
|
static readonly "kP01010be": VideoFormat
|
|
static readonly "kP01010le": VideoFormat
|
|
static readonly "kIyu2": VideoFormat
|
|
static readonly "kVyuy": VideoFormat
|
|
static readonly "kGbra": VideoFormat
|
|
static readonly "kGbra10be": VideoFormat
|
|
static readonly "kGbra10le": VideoFormat
|
|
static readonly "kGbr12be": VideoFormat
|
|
static readonly "kGbr12le": VideoFormat
|
|
static readonly "kGbra12be": VideoFormat
|
|
static readonly "kGbra12le": VideoFormat
|
|
static readonly "kI42012be": VideoFormat
|
|
static readonly "kI42012le": VideoFormat
|
|
static readonly "kI42212be": VideoFormat
|
|
static readonly "kI42212le": VideoFormat
|
|
static readonly "kY44412be": VideoFormat
|
|
static readonly "kY44412le": VideoFormat
|
|
static readonly "kGray10Le32": VideoFormat
|
|
static readonly "kNv1210le32": VideoFormat
|
|
static readonly "kNv1610le32": VideoFormat
|
|
static readonly "kNv1210le40": VideoFormat
|
|
static readonly "kY210": VideoFormat
|
|
static readonly "kY410": VideoFormat
|
|
static readonly "kVuya": VideoFormat
|
|
static readonly "kBgr10a2Le": VideoFormat
|
|
static readonly "kRgb10a2Le": VideoFormat
|
|
static readonly "kY44416be": VideoFormat
|
|
static readonly "kY44416le": VideoFormat
|
|
static readonly "kP016Be": VideoFormat
|
|
static readonly "kP016Le": VideoFormat
|
|
static readonly "kP012Be": VideoFormat
|
|
static readonly "kP012Le": VideoFormat
|
|
static readonly "kY212Be": VideoFormat
|
|
static readonly "kY212Le": VideoFormat
|
|
static readonly "kY412Be": VideoFormat
|
|
static readonly "kY412Le": VideoFormat
|
|
static readonly "kNv124l4": VideoFormat
|
|
static readonly "kNv1232l32": VideoFormat
|
|
static readonly "kRgbp": VideoFormat
|
|
static readonly "kBgrp": VideoFormat
|
|
static readonly "kAv12": VideoFormat
|
|
static readonly "kArgb64Le": VideoFormat
|
|
static readonly "kArgb64Be": VideoFormat
|
|
static readonly "kRgba64Le": VideoFormat
|
|
static readonly "kRgba64Be": VideoFormat
|
|
static readonly "kBgra64Le": VideoFormat
|
|
static readonly "kBgra64Be": VideoFormat
|
|
static readonly "kAbgr64Le": VideoFormat
|
|
static readonly "kAbgr64Be": VideoFormat
|
|
}
|
|
|
|
class VideoFormatFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kYUv": VideoFormatFlags
|
|
static readonly "kRgb": VideoFormatFlags
|
|
static readonly "kGray": VideoFormatFlags
|
|
static readonly "kAlpha": VideoFormatFlags
|
|
static readonly "kLe": VideoFormatFlags
|
|
static readonly "kPalette": VideoFormatFlags
|
|
static readonly "kComplex": VideoFormatFlags
|
|
static readonly "kUnpack": VideoFormatFlags
|
|
static readonly "kTiled": VideoFormatFlags
|
|
}
|
|
|
|
class VideoFrameFlags { /*unsupported*/ }
|
|
|
|
class VideoFrameMapFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNoRef": VideoFrameMapFlags
|
|
static readonly "kLast": VideoFrameMapFlags
|
|
}
|
|
|
|
class VideoGLTextureOrientation {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNormalYNormal": VideoGLTextureOrientation
|
|
static readonly "kNormalYFlip": VideoGLTextureOrientation
|
|
static readonly "kFlipYNormal": VideoGLTextureOrientation
|
|
static readonly "kFlipYFlip": VideoGLTextureOrientation
|
|
}
|
|
|
|
class VideoGLTextureType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kLuminance": VideoGLTextureType
|
|
static readonly "kLuminanceAlpha": VideoGLTextureType
|
|
static readonly "kRgb16": VideoGLTextureType
|
|
static readonly "kRgb": VideoGLTextureType
|
|
static readonly "kRgba": VideoGLTextureType
|
|
static readonly "kR": VideoGLTextureType
|
|
static readonly "kRg": VideoGLTextureType
|
|
}
|
|
|
|
class VideoGammaMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoGammaMode
|
|
static readonly "kRemap": VideoGammaMode
|
|
}
|
|
|
|
class VideoInterlaceMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kProgressive": VideoInterlaceMode
|
|
static readonly "kInterleaved": VideoInterlaceMode
|
|
static readonly "kMixed": VideoInterlaceMode
|
|
static readonly "kFields": VideoInterlaceMode
|
|
static readonly "kAlternate": VideoInterlaceMode
|
|
}
|
|
|
|
class VideoMatrixMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kFull": VideoMatrixMode
|
|
static readonly "kInputOnly": VideoMatrixMode
|
|
static readonly "kOutputOnly": VideoMatrixMode
|
|
static readonly "kNone": VideoMatrixMode
|
|
}
|
|
|
|
class VideoMultiviewFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoMultiviewFlags
|
|
static readonly "kRightViewFirst": VideoMultiviewFlags
|
|
static readonly "kLeftFlipped": VideoMultiviewFlags
|
|
static readonly "kLeftFlopped": VideoMultiviewFlags
|
|
static readonly "kRightFlipped": VideoMultiviewFlags
|
|
static readonly "kRightFlopped": VideoMultiviewFlags
|
|
static readonly "kHalfAspect": VideoMultiviewFlags
|
|
static readonly "kMixedMono": VideoMultiviewFlags
|
|
}
|
|
|
|
class VideoMultiviewFramePacking {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoMultiviewFramePacking
|
|
static readonly "kMono": VideoMultiviewFramePacking
|
|
static readonly "kLeft": VideoMultiviewFramePacking
|
|
static readonly "kRight": VideoMultiviewFramePacking
|
|
static readonly "kSideBySide": VideoMultiviewFramePacking
|
|
static readonly "kSideBySideQuincunx": VideoMultiviewFramePacking
|
|
static readonly "kColumnInterleaved": VideoMultiviewFramePacking
|
|
static readonly "kRowInterleaved": VideoMultiviewFramePacking
|
|
static readonly "kTopBottom": VideoMultiviewFramePacking
|
|
static readonly "kCheckerboard": VideoMultiviewFramePacking
|
|
}
|
|
|
|
class VideoMultiviewMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoMultiviewMode
|
|
static readonly "kMono": VideoMultiviewMode
|
|
static readonly "kLeft": VideoMultiviewMode
|
|
static readonly "kRight": VideoMultiviewMode
|
|
static readonly "kSideBySide": VideoMultiviewMode
|
|
static readonly "kSideBySideQuincunx": VideoMultiviewMode
|
|
static readonly "kColumnInterleaved": VideoMultiviewMode
|
|
static readonly "kRowInterleaved": VideoMultiviewMode
|
|
static readonly "kTopBottom": VideoMultiviewMode
|
|
static readonly "kCheckerboard": VideoMultiviewMode
|
|
static readonly "kFrameByFrame": VideoMultiviewMode
|
|
static readonly "kMultiviewFrameByFrame": VideoMultiviewMode
|
|
static readonly "kSeparated": VideoMultiviewMode
|
|
}
|
|
|
|
class VideoOrientationMethod {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kIdentity": VideoOrientationMethod
|
|
static readonly "k90r": VideoOrientationMethod
|
|
static readonly "k180": VideoOrientationMethod
|
|
static readonly "k90l": VideoOrientationMethod
|
|
static readonly "kHoriz": VideoOrientationMethod
|
|
static readonly "kVert": VideoOrientationMethod
|
|
static readonly "kUlLr": VideoOrientationMethod
|
|
static readonly "kUrLl": VideoOrientationMethod
|
|
static readonly "kAuto": VideoOrientationMethod
|
|
static readonly "kCustom": VideoOrientationMethod
|
|
}
|
|
|
|
class VideoOverlayFormatFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoOverlayFormatFlags
|
|
static readonly "kPremultipliedAlpha": VideoOverlayFormatFlags
|
|
static readonly "kGlobalAlpha": VideoOverlayFormatFlags
|
|
}
|
|
|
|
class VideoPackFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoPackFlags
|
|
static readonly "kTruncateRange": VideoPackFlags
|
|
static readonly "kInterlaced": VideoPackFlags
|
|
}
|
|
|
|
class VideoPrimariesMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoPrimariesMode
|
|
static readonly "kMergeOnly": VideoPrimariesMode
|
|
static readonly "kFast": VideoPrimariesMode
|
|
}
|
|
|
|
class VideoResamplerFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoResamplerFlags
|
|
static readonly "kHalfTaps": VideoResamplerFlags
|
|
}
|
|
|
|
class VideoResamplerMethod {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNearest": VideoResamplerMethod
|
|
static readonly "kLinear": VideoResamplerMethod
|
|
static readonly "kCubic": VideoResamplerMethod
|
|
static readonly "kSinc": VideoResamplerMethod
|
|
static readonly "kLanczos": VideoResamplerMethod
|
|
}
|
|
|
|
class VideoScalerFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoScalerFlags
|
|
static readonly "kInterlaced": VideoScalerFlags
|
|
}
|
|
|
|
class VideoTileMode {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoTileMode
|
|
static readonly "kZflipz2x2": VideoTileMode
|
|
static readonly "kLinear": VideoTileMode
|
|
}
|
|
|
|
class VideoTileType {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kIndexed": VideoTileType
|
|
}
|
|
|
|
class VideoTimeCodeFlags {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kNone": VideoTimeCodeFlags
|
|
static readonly "kDropFrame": VideoTimeCodeFlags
|
|
static readonly "kInterlaced": VideoTimeCodeFlags
|
|
}
|
|
|
|
class VideoTransferFunction {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kUnknown": VideoTransferFunction
|
|
static readonly "kGamma10": VideoTransferFunction
|
|
static readonly "kGamma18": VideoTransferFunction
|
|
static readonly "kGamma20": VideoTransferFunction
|
|
static readonly "kGamma22": VideoTransferFunction
|
|
static readonly "kBt709": VideoTransferFunction
|
|
static readonly "kSmpte240m": VideoTransferFunction
|
|
static readonly "kSrgb": VideoTransferFunction
|
|
static readonly "kGamma28": VideoTransferFunction
|
|
static readonly "kLog100": VideoTransferFunction
|
|
static readonly "kLog316": VideoTransferFunction
|
|
static readonly "kBt202012": VideoTransferFunction
|
|
static readonly "kAdobergb": VideoTransferFunction
|
|
static readonly "kBt202010": VideoTransferFunction
|
|
static readonly "kSmpte2084": VideoTransferFunction
|
|
static readonly "kAribStdB67": VideoTransferFunction
|
|
static readonly "kBt601": VideoTransferFunction
|
|
}
|
|
|
|
class VideoVBIParserResult {
|
|
// Enumerations hack...
|
|
toString(radix ? : number | undefined) : string;
|
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|
toPrecision(precision ? : number | undefined) : string;
|
|
valueOf() : number;
|
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|
|
|
static [s:number]: string;
|
|
|
|
static readonly "kDone": VideoVBIParserResult
|
|
static readonly "kOk": VideoVBIParserResult
|
|
static readonly "kError": VideoVBIParserResult
|
|
}
|
|
|
|
|
|
class ColorBalance {
|
|
getBalanceType(): GstVideo.ColorBalanceType;
|
|
getValue(channel: GstVideo.ColorBalanceChannel): number;
|
|
listChannels(): GstVideo.ColorBalanceChannel[];
|
|
setValue(channel: GstVideo.ColorBalanceChannel, value: number): void;
|
|
valueChanged(channel: GstVideo.ColorBalanceChannel, value: number): void;
|
|
}
|
|
|
|
class Navigation {
|
|
static EventGetType(event: Gst.Event): GstVideo.NavigationEventType;
|
|
static EventParseCommand(event: Gst.Event, command ?: GstVideo.NavigationCommand): boolean;
|
|
static EventParseKeyEvent(event: Gst.Event, key ?: string): boolean;
|
|
static EventParseMouseButtonEvent(event: Gst.Event, button ?: number, x ?: number, y ?: number): boolean;
|
|
static EventParseMouseMoveEvent(event: Gst.Event, x ?: number, y ?: number): boolean;
|
|
static EventParseMouseScrollEvent(event: Gst.Event, x ?: number, y ?: number, deltaX ?: number, deltaY ?: number): boolean;
|
|
static MessageGetType(message: Gst.Message): GstVideo.NavigationMessageType;
|
|
static MessageNewAnglesChanged(src: Gst.Object, curAngle: number, nAngles: number): Gst.Message;
|
|
static MessageNewCommandsChanged(src: Gst.Object): Gst.Message;
|
|
static MessageNewEvent(src: Gst.Object, event: Gst.Event): Gst.Message;
|
|
static MessageNewMouseOver(src: Gst.Object, active: boolean): Gst.Message;
|
|
static MessageParseAnglesChanged(message: Gst.Message, curAngle ?: number, nAngles ?: number): boolean;
|
|
static MessageParseEvent(message: Gst.Message, event ?: Gst.Event): boolean;
|
|
static MessageParseMouseOver(message: Gst.Message, active ?: boolean): boolean;
|
|
static QueryGetType(query: Gst.Query): GstVideo.NavigationQueryType;
|
|
static QueryNewAngles(): Gst.Query;
|
|
static QueryNewCommands(): Gst.Query;
|
|
static QueryParseAngles(query: Gst.Query, curAngle ?: number, nAngles ?: number): boolean;
|
|
static QueryParseCommandsLength(query: Gst.Query, nCmds ?: number): boolean;
|
|
static QueryParseCommandsNth(query: Gst.Query, nth: number, cmd ?: GstVideo.NavigationCommand): boolean;
|
|
static QuerySetAngles(query: Gst.Query, curAngle: number, nAngles: number): void;
|
|
static QuerySetCommandsv(query: Gst.Query, nCmds: number, cmds: GstVideo.NavigationCommand[]): void;
|
|
sendCommand(command: GstVideo.NavigationCommand): void;
|
|
sendEvent(structure: Gst.Structure): void;
|
|
sendKeyEvent(event: string, key: string): void;
|
|
sendMouseEvent(event: string, button: number, x: number, y: number): void;
|
|
sendMouseScrollEvent(x: number, y: number, deltaX: number, deltaY: number): void;
|
|
}
|
|
|
|
class VideoDirection {
|
|
videoDirection : GstVideo.VideoOrientationMethod;
|
|
|
|
}
|
|
|
|
class VideoOrientation {
|
|
static FromTag(taglist: Gst.TagList, method: GstVideo.VideoOrientationMethod): boolean;
|
|
getHcenter(center: number): boolean;
|
|
getHflip(flip: boolean): boolean;
|
|
getVcenter(center: number): boolean;
|
|
getVflip(flip: boolean): boolean;
|
|
setHcenter(center: number): boolean;
|
|
setHflip(flip: boolean): boolean;
|
|
setVcenter(center: number): boolean;
|
|
setVflip(flip: boolean): boolean;
|
|
}
|
|
|
|
class VideoOverlay {
|
|
static InstallProperties(oclass: GObject.ObjectClass, lastPropId: number): void;
|
|
static SetProperty(object: GObject.Object, lastPropId: number, propertyId: number, value: GObject.Value): boolean;
|
|
expose(): void;
|
|
gotWindowHandle(handle: number | bigint): void;
|
|
handleEvents(handleEvents: boolean): void;
|
|
prepareWindowHandle(): void;
|
|
setRenderRectangle(x: number, y: number, width: number, height: number): boolean;
|
|
setWindowHandle(handle: number | bigint): void;
|
|
}
|
|
|
|
|
|
class ColorBalanceChannelClass {
|
|
parent : GObject.ObjectClass;
|
|
valueChanged : (channel: GstVideo.ColorBalanceChannel, value: number) => void;
|
|
|
|
}
|
|
|
|
class ColorBalanceInterface {
|
|
iface : GObject.TypeInterface;
|
|
listChannels : (balance: GstVideo.ColorBalance) => GstVideo.ColorBalanceChannel[];
|
|
setValue : (balance: GstVideo.ColorBalance, channel: GstVideo.ColorBalanceChannel, value: number) => void;
|
|
getValue : (balance: GstVideo.ColorBalance, channel: GstVideo.ColorBalanceChannel) => number;
|
|
getBalanceType : (balance: GstVideo.ColorBalance) => GstVideo.ColorBalanceType;
|
|
valueChanged : (balance: GstVideo.ColorBalance, channel: GstVideo.ColorBalanceChannel, value: number) => void;
|
|
|
|
}
|
|
|
|
class NavigationInterface {
|
|
iface : GObject.TypeInterface;
|
|
sendEvent : (navigation: GstVideo.Navigation, structure: Gst.Structure) => void;
|
|
|
|
}
|
|
|
|
class VideoAFDMeta {
|
|
meta : Gst.Meta;
|
|
field : number;
|
|
spec : GstVideo.VideoAFDSpec;
|
|
afd : GstVideo.VideoAFDValue;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoAffineTransformationMeta {
|
|
meta : Gst.Meta;
|
|
matrix : number[];
|
|
|
|
applyMatrix(matrix: number[]): void;
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoAggregatorClass {
|
|
parentClass : GstBase.AggregatorClass;
|
|
updateCaps : (videoaggregator: GstVideo.VideoAggregator, caps: Gst.Caps) => Gst.Caps;
|
|
aggregateFrames : (videoaggregator: GstVideo.VideoAggregator, outbuffer: Gst.Buffer) => Gst.FlowReturn;
|
|
createOutputBuffer : (videoaggregator: GstVideo.VideoAggregator, outbuffer: Gst.Buffer) => Gst.FlowReturn;
|
|
findBestFormat : (vagg: GstVideo.VideoAggregator, downstreamCaps: Gst.Caps, bestInfo: GstVideo.VideoInfo, atLeastOneAlpha: boolean) => void;
|
|
|
|
}
|
|
|
|
class VideoAggregatorConvertPadClass {
|
|
parentClass : GstVideo.VideoAggregatorPadClass;
|
|
createConversionInfo : (pad: GstVideo.VideoAggregatorConvertPad, agg: GstVideo.VideoAggregator, conversionInfo: GstVideo.VideoInfo) => void;
|
|
|
|
}
|
|
|
|
class VideoAggregatorConvertPadPrivate {
|
|
}
|
|
|
|
class VideoAggregatorPadClass {
|
|
parentClass : GstBase.AggregatorPadClass;
|
|
updateConversionInfo : (pad: GstVideo.VideoAggregatorPad) => void;
|
|
prepareFrame : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, buffer: Gst.Buffer, preparedFrame: GstVideo.VideoFrame) => boolean;
|
|
cleanFrame : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, preparedFrame: GstVideo.VideoFrame) => void;
|
|
prepareFrameStart : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, buffer: Gst.Buffer, preparedFrame: GstVideo.VideoFrame) => void;
|
|
prepareFrameFinish : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, preparedFrame: GstVideo.VideoFrame) => void;
|
|
|
|
}
|
|
|
|
class VideoAggregatorPadPrivate {
|
|
}
|
|
|
|
class VideoAggregatorParallelConvertPadClass {
|
|
parentClass : GstVideo.VideoAggregatorConvertPadClass;
|
|
|
|
}
|
|
|
|
class VideoAggregatorPrivate {
|
|
}
|
|
|
|
class VideoAlignment {
|
|
paddingTop : number;
|
|
paddingBottom : number;
|
|
paddingLeft : number;
|
|
paddingRight : number;
|
|
strideAlign : number[];
|
|
|
|
reset(): void;
|
|
}
|
|
|
|
class VideoAncillary {
|
|
dID : number;
|
|
sDIDBlockNumber : number;
|
|
dataCount : number;
|
|
data : number[];
|
|
|
|
}
|
|
|
|
class VideoBarMeta {
|
|
meta : Gst.Meta;
|
|
field : number;
|
|
isLetterbox : boolean;
|
|
barData1 : number;
|
|
barData2 : number;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoBufferPoolClass {
|
|
parentClass : Gst.BufferPoolClass;
|
|
|
|
}
|
|
|
|
class VideoBufferPoolPrivate {
|
|
}
|
|
|
|
class VideoCaptionMeta {
|
|
meta : Gst.Meta;
|
|
captionType : GstVideo.VideoCaptionType;
|
|
data : number[];
|
|
size : number | bigint;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoChromaResample {
|
|
_(width: number): void;
|
|
free(): void;
|
|
getInfo(nLines: number, offset: number): void;
|
|
}
|
|
|
|
class VideoCodecAlphaMeta {
|
|
meta : Gst.Meta;
|
|
buffer : Gst.Buffer;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoCodecFrame {
|
|
refCount : number;
|
|
flags : number;
|
|
systemFrameNumber : number;
|
|
decodeFrameNumber : number;
|
|
presentationFrameNumber : number;
|
|
dts : number | bigint;
|
|
pts : number | bigint;
|
|
duration : number | bigint;
|
|
distanceFromSync : number;
|
|
inputBuffer : Gst.Buffer;
|
|
outputBuffer : Gst.Buffer;
|
|
deadline : number | bigint;
|
|
userData : void;
|
|
userDataDestroyNotify : () => void;
|
|
|
|
getUserData(): void;
|
|
ref(): GstVideo.VideoCodecFrame;
|
|
setUserData(notify: () => void): void;
|
|
unref(): void;
|
|
}
|
|
|
|
class VideoCodecState {
|
|
refCount : number;
|
|
info : GstVideo.VideoInfo;
|
|
caps : Gst.Caps;
|
|
codecData : Gst.Buffer;
|
|
allocationCaps : Gst.Caps;
|
|
masteringDisplayInfo : GstVideo.VideoMasteringDisplayInfo;
|
|
contentLightLevel : GstVideo.VideoContentLightLevel;
|
|
|
|
ref(): GstVideo.VideoCodecState;
|
|
unref(): void;
|
|
}
|
|
|
|
class VideoColorPrimariesInfo {
|
|
primaries : GstVideo.VideoColorPrimaries;
|
|
wx : number;
|
|
wy : number;
|
|
rx : number;
|
|
ry : number;
|
|
gx : number;
|
|
gy : number;
|
|
bx : number;
|
|
by : number;
|
|
|
|
}
|
|
|
|
class VideoColorimetry {
|
|
range : GstVideo.VideoColorRange;
|
|
matrix : GstVideo.VideoColorMatrix;
|
|
transfer : GstVideo.VideoTransferFunction;
|
|
primaries : GstVideo.VideoColorPrimaries;
|
|
|
|
fromString(color: string): boolean;
|
|
isEqual(other: GstVideo.VideoColorimetry): boolean;
|
|
matches(color: string): boolean;
|
|
}
|
|
|
|
class VideoContentLightLevel {
|
|
maxContentLightLevel : number;
|
|
maxFrameAverageLightLevel : number;
|
|
|
|
addToCaps(caps: Gst.Caps): boolean;
|
|
fromCaps(caps: Gst.Caps): boolean;
|
|
fromString(level: string): boolean;
|
|
init(): void;
|
|
isEqual(other: GstVideo.VideoContentLightLevel): boolean;
|
|
}
|
|
|
|
class VideoConverter {
|
|
frame(src: GstVideo.VideoFrame, dest: GstVideo.VideoFrame): void;
|
|
frameFinish(): void;
|
|
free(): void;
|
|
getConfig(): Gst.Structure;
|
|
setConfig(config: Gst.Structure): boolean;
|
|
}
|
|
|
|
class VideoCropMeta {
|
|
meta : Gst.Meta;
|
|
x : number;
|
|
y : number;
|
|
width : number;
|
|
height : number;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoDecoderClass {
|
|
elementClass : Gst.ElementClass;
|
|
open : (decoder: GstVideo.VideoDecoder) => boolean;
|
|
close : (decoder: GstVideo.VideoDecoder) => boolean;
|
|
start : (decoder: GstVideo.VideoDecoder) => boolean;
|
|
stop : (decoder: GstVideo.VideoDecoder) => boolean;
|
|
parse : (decoder: GstVideo.VideoDecoder, frame: GstVideo.VideoCodecFrame, adapter: GstBase.Adapter, atEos: boolean) => Gst.FlowReturn;
|
|
setFormat : (decoder: GstVideo.VideoDecoder, state: GstVideo.VideoCodecState) => boolean;
|
|
reset : (decoder: GstVideo.VideoDecoder, hard: boolean) => boolean;
|
|
finish : (decoder: GstVideo.VideoDecoder) => Gst.FlowReturn;
|
|
handleFrame : (decoder: GstVideo.VideoDecoder, frame: GstVideo.VideoCodecFrame) => Gst.FlowReturn;
|
|
sinkEvent : (decoder: GstVideo.VideoDecoder, event: Gst.Event) => boolean;
|
|
srcEvent : (decoder: GstVideo.VideoDecoder, event: Gst.Event) => boolean;
|
|
negotiate : (decoder: GstVideo.VideoDecoder) => boolean;
|
|
decideAllocation : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean;
|
|
proposeAllocation : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean;
|
|
flush : (decoder: GstVideo.VideoDecoder) => boolean;
|
|
sinkQuery : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean;
|
|
srcQuery : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean;
|
|
getcaps : (decoder: GstVideo.VideoDecoder, filter: Gst.Caps) => Gst.Caps;
|
|
drain : (decoder: GstVideo.VideoDecoder) => Gst.FlowReturn;
|
|
transformMeta : (decoder: GstVideo.VideoDecoder, frame: GstVideo.VideoCodecFrame, meta: Gst.Meta) => boolean;
|
|
handleMissingData : (decoder: GstVideo.VideoDecoder, timestamp: number | bigint, duration: number | bigint) => boolean;
|
|
|
|
}
|
|
|
|
class VideoDecoderPrivate {
|
|
}
|
|
|
|
class VideoDirectionInterface {
|
|
iface : GObject.TypeInterface;
|
|
|
|
}
|
|
|
|
class VideoDither {
|
|
free(): void;
|
|
line(x: number, y: number, width: number): void;
|
|
}
|
|
|
|
class VideoEncoderClass {
|
|
elementClass : Gst.ElementClass;
|
|
open : (encoder: GstVideo.VideoEncoder) => boolean;
|
|
close : (encoder: GstVideo.VideoEncoder) => boolean;
|
|
start : (encoder: GstVideo.VideoEncoder) => boolean;
|
|
stop : (encoder: GstVideo.VideoEncoder) => boolean;
|
|
setFormat : (encoder: GstVideo.VideoEncoder, state: GstVideo.VideoCodecState) => boolean;
|
|
handleFrame : (encoder: GstVideo.VideoEncoder, frame: GstVideo.VideoCodecFrame) => Gst.FlowReturn;
|
|
reset : (encoder: GstVideo.VideoEncoder, hard: boolean) => boolean;
|
|
finish : (encoder: GstVideo.VideoEncoder) => Gst.FlowReturn;
|
|
prePush : (encoder: GstVideo.VideoEncoder, frame: GstVideo.VideoCodecFrame) => Gst.FlowReturn;
|
|
getcaps : (enc: GstVideo.VideoEncoder, filter: Gst.Caps) => Gst.Caps;
|
|
sinkEvent : (encoder: GstVideo.VideoEncoder, event: Gst.Event) => boolean;
|
|
srcEvent : (encoder: GstVideo.VideoEncoder, event: Gst.Event) => boolean;
|
|
negotiate : (encoder: GstVideo.VideoEncoder) => boolean;
|
|
decideAllocation : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean;
|
|
proposeAllocation : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean;
|
|
flush : (encoder: GstVideo.VideoEncoder) => boolean;
|
|
sinkQuery : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean;
|
|
srcQuery : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean;
|
|
transformMeta : (encoder: GstVideo.VideoEncoder, frame: GstVideo.VideoCodecFrame, meta: Gst.Meta) => boolean;
|
|
|
|
}
|
|
|
|
class VideoEncoderPrivate {
|
|
}
|
|
|
|
class VideoFilterClass {
|
|
parentClass : GstBase.BaseTransformClass;
|
|
setInfo : (filter: GstVideo.VideoFilter, incaps: Gst.Caps, inInfo: GstVideo.VideoInfo, outcaps: Gst.Caps, outInfo: GstVideo.VideoInfo) => boolean;
|
|
transformFrame : (filter: GstVideo.VideoFilter, inframe: GstVideo.VideoFrame, outframe: GstVideo.VideoFrame) => Gst.FlowReturn;
|
|
transformFrameIp : (trans: GstVideo.VideoFilter, frame: GstVideo.VideoFrame) => Gst.FlowReturn;
|
|
|
|
}
|
|
|
|
class VideoFormatInfo {
|
|
format : GstVideo.VideoFormat;
|
|
name : string;
|
|
description : string;
|
|
flags : GstVideo.VideoFormatFlags;
|
|
bits : number;
|
|
nComponents : number;
|
|
shift : number[];
|
|
depth : number[];
|
|
pixelStride : number[];
|
|
nPlanes : number;
|
|
plane : number[];
|
|
poffset : number[];
|
|
wSub : number[];
|
|
hSub : number[];
|
|
unpackFormat : GstVideo.VideoFormat;
|
|
unpackFunc : (info: GstVideo.VideoFormatInfo, flags: GstVideo.VideoPackFlags, stride: number, x: number, y: number, width: number) => void;
|
|
packLines : number;
|
|
packFunc : (info: GstVideo.VideoFormatInfo, flags: GstVideo.VideoPackFlags, sstride: number, stride: number, chromaSite: GstVideo.VideoChromaSite, y: number, width: number) => void;
|
|
tileMode : GstVideo.VideoTileMode;
|
|
tileWs : number;
|
|
tileHs : number;
|
|
|
|
component(plane: number, components: number): void;
|
|
}
|
|
|
|
class VideoFrame {
|
|
info : GstVideo.VideoInfo;
|
|
flags : GstVideo.VideoFrameFlags;
|
|
buffer : Gst.Buffer;
|
|
meta : void;
|
|
id : number;
|
|
map : Gst.MapInfo[];
|
|
|
|
copy(src: GstVideo.VideoFrame): boolean;
|
|
copyPlane(src: GstVideo.VideoFrame, plane: number): boolean;
|
|
unmap(): void;
|
|
static Map(frame: GstVideo.VideoFrame, info: GstVideo.VideoInfo, buffer: Gst.Buffer, flags: Gst.MapFlags): boolean;
|
|
static MapId(frame: GstVideo.VideoFrame, info: GstVideo.VideoInfo, buffer: Gst.Buffer, id: number, flags: Gst.MapFlags): boolean;
|
|
}
|
|
|
|
class VideoGLTextureUploadMeta {
|
|
meta : Gst.Meta;
|
|
textureOrientation : GstVideo.VideoGLTextureOrientation;
|
|
nTextures : number;
|
|
textureType : GstVideo.VideoGLTextureType[];
|
|
buffer : Gst.Buffer;
|
|
upload : (meta: GstVideo.VideoGLTextureUploadMeta, textureId: number) => boolean;
|
|
userData : void;
|
|
userDataCopy : () => void;
|
|
userDataFree : () => void;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoInfo {
|
|
finfo : GstVideo.VideoFormatInfo;
|
|
interlaceMode : GstVideo.VideoInterlaceMode;
|
|
flags : GstVideo.VideoFlags;
|
|
width : number;
|
|
height : number;
|
|
size : number | bigint;
|
|
views : number;
|
|
chromaSite : GstVideo.VideoChromaSite;
|
|
colorimetry : GstVideo.VideoColorimetry;
|
|
parN : number;
|
|
parD : number;
|
|
fpsN : number;
|
|
fpsD : number;
|
|
offset : number | bigint[];
|
|
stride : number[];
|
|
|
|
static New(): GstVideo.VideoInfo;
|
|
static NewFromCaps(caps: Gst.Caps): GstVideo.VideoInfo;
|
|
align(align: GstVideo.VideoAlignment): boolean;
|
|
alignFull(align: GstVideo.VideoAlignment, planeSize ?: number | bigint): boolean;
|
|
convert(srcFormat: Gst.Format, srcValue: number | bigint, destFormat: Gst.Format, destValue: number | bigint): boolean;
|
|
copy(): GstVideo.VideoInfo;
|
|
free(): void;
|
|
isEqual(other: GstVideo.VideoInfo): boolean;
|
|
setFormat(format: GstVideo.VideoFormat, width: number, height: number): boolean;
|
|
setInterlacedFormat(format: GstVideo.VideoFormat, mode: GstVideo.VideoInterlaceMode, width: number, height: number): boolean;
|
|
toCaps(): Gst.Caps;
|
|
static FromCaps(info: GstVideo.VideoInfo, caps: Gst.Caps): boolean;
|
|
static Init(info: GstVideo.VideoInfo): void;
|
|
}
|
|
|
|
class VideoMasteringDisplayInfo {
|
|
displayPrimaries : GstVideo.VideoMasteringDisplayInfoCoordinates[];
|
|
whitePoint : GstVideo.VideoMasteringDisplayInfoCoordinates;
|
|
maxDisplayMasteringLuminance : number;
|
|
minDisplayMasteringLuminance : number;
|
|
|
|
addToCaps(caps: Gst.Caps): boolean;
|
|
fromCaps(caps: Gst.Caps): boolean;
|
|
init(): void;
|
|
isEqual(other: GstVideo.VideoMasteringDisplayInfo): boolean;
|
|
static FromString(minfo: GstVideo.VideoMasteringDisplayInfo, mastering: string): boolean;
|
|
}
|
|
|
|
class VideoMasteringDisplayInfoCoordinates {
|
|
x : number;
|
|
y : number;
|
|
|
|
}
|
|
|
|
class VideoMeta {
|
|
meta : Gst.Meta;
|
|
buffer : Gst.Buffer;
|
|
flags : GstVideo.VideoFrameFlags;
|
|
format : GstVideo.VideoFormat;
|
|
id : number;
|
|
width : number;
|
|
height : number;
|
|
nPlanes : number;
|
|
offset : number | bigint[];
|
|
stride : number[];
|
|
map : (meta: GstVideo.VideoMeta, plane: number, info: Gst.MapInfo, stride: number, flags: Gst.MapFlags) => boolean;
|
|
unmap : (meta: GstVideo.VideoMeta, plane: number, info: Gst.MapInfo) => boolean;
|
|
alignment : GstVideo.VideoAlignment;
|
|
|
|
getPlaneHeight(planeHeight: number[]): boolean;
|
|
getPlaneSize(planeSize: number | bigint[]): boolean;
|
|
setAlignment(alignment: GstVideo.VideoAlignment): boolean;
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoMetaTransform {
|
|
inInfo : GstVideo.VideoInfo;
|
|
outInfo : GstVideo.VideoInfo;
|
|
|
|
static ScaleGetQuark(): number;
|
|
}
|
|
|
|
class VideoOrientationInterface {
|
|
iface : GObject.TypeInterface;
|
|
getHflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean;
|
|
getVflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean;
|
|
getHcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean;
|
|
getVcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean;
|
|
setHflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean;
|
|
setVflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean;
|
|
setHcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean;
|
|
setVcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean;
|
|
|
|
}
|
|
|
|
class VideoOverlayComposition {
|
|
static New(rectangle: GstVideo.VideoOverlayRectangle | undefined | null): GstVideo.VideoOverlayComposition;
|
|
addRectangle(rectangle: GstVideo.VideoOverlayRectangle): void;
|
|
blend(videoBuf: GstVideo.VideoFrame): boolean;
|
|
copy(): GstVideo.VideoOverlayComposition;
|
|
getRectangle(n: number): GstVideo.VideoOverlayRectangle;
|
|
getSeqnum(): number;
|
|
makeWritable(): GstVideo.VideoOverlayComposition;
|
|
nRectangles(): number;
|
|
}
|
|
|
|
class VideoOverlayCompositionMeta {
|
|
meta : Gst.Meta;
|
|
overlay : GstVideo.VideoOverlayComposition;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoOverlayInterface {
|
|
iface : GObject.TypeInterface;
|
|
expose : (overlay: GstVideo.VideoOverlay) => void;
|
|
handleEvents : (overlay: GstVideo.VideoOverlay, handleEvents: boolean) => void;
|
|
setRenderRectangle : (overlay: GstVideo.VideoOverlay, x: number, y: number, width: number, height: number) => void;
|
|
setWindowHandle : (overlay: GstVideo.VideoOverlay, handle: number | bigint) => void;
|
|
|
|
}
|
|
|
|
class VideoOverlayRectangle {
|
|
static NewRaw(pixels: Gst.Buffer, renderX: number, renderY: number, renderWidth: number, renderHeight: number, flags: GstVideo.VideoOverlayFormatFlags): GstVideo.VideoOverlayRectangle;
|
|
copy(): GstVideo.VideoOverlayRectangle;
|
|
getFlags(): GstVideo.VideoOverlayFormatFlags;
|
|
getGlobalAlpha(): number;
|
|
getPixelsArgb(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer;
|
|
getPixelsAyuv(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer;
|
|
getPixelsRaw(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer;
|
|
getPixelsUnscaledArgb(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer;
|
|
getPixelsUnscaledAyuv(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer;
|
|
getPixelsUnscaledRaw(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer;
|
|
getRenderRectangle(renderX ?: number, renderY ?: number, renderWidth ?: number, renderHeight ?: number): boolean;
|
|
getSeqnum(): number;
|
|
setGlobalAlpha(globalAlpha: number): void;
|
|
setRenderRectangle(renderX: number, renderY: number, renderWidth: number, renderHeight: number): void;
|
|
}
|
|
|
|
class VideoRectangle {
|
|
x : number;
|
|
y : number;
|
|
w : number;
|
|
h : number;
|
|
|
|
}
|
|
|
|
class VideoRegionOfInterestMeta {
|
|
meta : Gst.Meta;
|
|
roiType : number;
|
|
id : number;
|
|
parentId : number;
|
|
x : number;
|
|
y : number;
|
|
w : number;
|
|
h : number;
|
|
|
|
addParam(s: Gst.Structure): void;
|
|
getParam(name: string): Gst.Structure;
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoResampler {
|
|
inSize : number;
|
|
outSize : number;
|
|
maxTaps : number;
|
|
nPhases : number;
|
|
offset : number;
|
|
phase : number;
|
|
nTaps : number;
|
|
taps : number;
|
|
|
|
clear(): void;
|
|
init(method: GstVideo.VideoResamplerMethod, flags: GstVideo.VideoResamplerFlags, nPhases: number, nTaps: number, shift: number, inSize: number, outSize: number, options: Gst.Structure): boolean;
|
|
}
|
|
|
|
class VideoScaler { /*unsupported*/ }
|
|
|
|
class VideoSinkClass {
|
|
parentClass : GstBase.BaseSinkClass;
|
|
showFrame : (videoSink: GstVideo.VideoSink, buf: Gst.Buffer) => Gst.FlowReturn;
|
|
setInfo : (videoSink: GstVideo.VideoSink, caps: Gst.Caps, info: GstVideo.VideoInfo) => boolean;
|
|
|
|
}
|
|
|
|
class VideoSinkPrivate {
|
|
}
|
|
|
|
class VideoTimeCode {
|
|
config : GstVideo.VideoTimeCodeConfig;
|
|
hours : number;
|
|
minutes : number;
|
|
seconds : number;
|
|
frames : number;
|
|
fieldCount : number;
|
|
|
|
static New(fpsN: number, fpsD: number, latestDailyJam: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, hours: number, minutes: number, seconds: number, frames: number, fieldCount: number): GstVideo.VideoTimeCode;
|
|
static NewEmpty(): GstVideo.VideoTimeCode;
|
|
static NewFromDateTime(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): GstVideo.VideoTimeCode;
|
|
static NewFromDateTimeFull(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): GstVideo.VideoTimeCode;
|
|
static NewFromString(tcStr: string): GstVideo.VideoTimeCode;
|
|
addFrames(frames: number | bigint): void;
|
|
addInterval(tcInter: GstVideo.VideoTimeCodeInterval): GstVideo.VideoTimeCode;
|
|
clear(): void;
|
|
compare(tc2: GstVideo.VideoTimeCode): number;
|
|
copy(): GstVideo.VideoTimeCode;
|
|
framesSinceDailyJam(): number | bigint;
|
|
free(): void;
|
|
incrementFrame(): void;
|
|
init(fpsN: number, fpsD: number, latestDailyJam: AuGlibEx.DateTime | undefined | null, flags: GstVideo.VideoTimeCodeFlags, hours: number, minutes: number, seconds: number, frames: number, fieldCount: number): void;
|
|
initFromDateTime(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): void;
|
|
initFromDateTimeFull(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): boolean;
|
|
isValid(): boolean;
|
|
nsecSinceDailyJam(): number | bigint;
|
|
toDateTime(): AuGlibEx.DateTime;
|
|
}
|
|
|
|
class VideoTimeCodeConfig {
|
|
fpsN : number;
|
|
fpsD : number;
|
|
flags : GstVideo.VideoTimeCodeFlags;
|
|
latestDailyJam : AuGlibEx.DateTime;
|
|
|
|
}
|
|
|
|
class VideoTimeCodeInterval {
|
|
hours : number;
|
|
minutes : number;
|
|
seconds : number;
|
|
frames : number;
|
|
|
|
static New(hours: number, minutes: number, seconds: number, frames: number): GstVideo.VideoTimeCodeInterval;
|
|
static NewFromString(tcInterStr: string): GstVideo.VideoTimeCodeInterval;
|
|
clear(): void;
|
|
copy(): GstVideo.VideoTimeCodeInterval;
|
|
free(): void;
|
|
init(hours: number, minutes: number, seconds: number, frames: number): void;
|
|
}
|
|
|
|
class VideoTimeCodeMeta {
|
|
meta : Gst.Meta;
|
|
tc : GstVideo.VideoTimeCode;
|
|
|
|
static GetInfo(): Gst.MetaInfo;
|
|
}
|
|
|
|
class VideoVBIEncoder {
|
|
static New(format: GstVideo.VideoFormat, pixelWidth: number): GstVideo.VideoVBIEncoder;
|
|
addAncillary(composite: boolean, dID: number, sDIDBlockNumber: number, data: number[], dataCount: number): boolean;
|
|
copy(): GstVideo.VideoVBIEncoder;
|
|
free(): void;
|
|
writeLine(data: number): void;
|
|
}
|
|
|
|
class VideoVBIParser {
|
|
static New(format: GstVideo.VideoFormat, pixelWidth: number): GstVideo.VideoVBIParser;
|
|
addLine(data: number[]): void;
|
|
copy(): GstVideo.VideoVBIParser;
|
|
free(): void;
|
|
getAncillary(anc: GstVideo.VideoAncillary): GstVideo.VideoVBIParserResult;
|
|
}
|
|
|
|
|
|
class ColorBalanceChannel extends GObject.Object {
|
|
constructor(initializerList ?: ColorBalanceChannelCtor);
|
|
|
|
parent : GObject.Object;
|
|
label : string;
|
|
minValue : number;
|
|
maxValue : number;
|
|
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class ColorBalanceChannelCtor {
|
|
}
|
|
|
|
class ColorBalanceChannelEventListener extends AuGlibEx.IEventListener {
|
|
valueChanged(value: number): void;
|
|
}
|
|
|
|
class VideoAggregator extends GstBase.Aggregator {
|
|
constructor(initializerList ?: VideoAggregatorCtor);
|
|
|
|
aggregator : GstBase.Aggregator;
|
|
info : GstVideo.VideoInfo;
|
|
priv : GstVideo.VideoAggregatorPrivate;
|
|
|
|
getExecutionTaskPool(): Gst.TaskPool;
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoAggregatorCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
latency ?: number;
|
|
minUpstreamLatency ?: number;
|
|
startTimeSelection ?: GstBase.AggregatorStartTimeSelection;
|
|
startTime ?: number;
|
|
emitSignals ?: boolean;
|
|
}
|
|
|
|
class VideoAggregatorConvertPad extends GstVideo.VideoAggregatorPad {
|
|
constructor(initializerList ?: VideoAggregatorConvertPadCtor);
|
|
|
|
parent : GstVideo.VideoAggregatorPad;
|
|
priv : GstVideo.VideoAggregatorConvertPadPrivate;
|
|
|
|
converterConfig : Gst.Structure;
|
|
|
|
updateConversionInfo(): void;
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoAggregatorConvertPadCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
direction ?: Gst.PadDirection;
|
|
template ?: Gst.PadTemplate;
|
|
offset ?: number | bigint;
|
|
emitSignals ?: boolean;
|
|
zorder ?: number;
|
|
repeatAfterEos ?: boolean;
|
|
maxLastBufferRepeat ?: number;
|
|
}
|
|
|
|
class VideoAggregatorPad extends GstBase.AggregatorPad {
|
|
constructor(initializerList ?: VideoAggregatorPadCtor);
|
|
|
|
parent : GstBase.AggregatorPad;
|
|
info : GstVideo.VideoInfo;
|
|
priv : GstVideo.VideoAggregatorPadPrivate;
|
|
|
|
maxLastBufferRepeat : number | bigint;
|
|
repeatAfterEos : boolean;
|
|
zorder : number;
|
|
|
|
getCurrentBuffer(): Gst.Buffer;
|
|
getPreparedFrame(): GstVideo.VideoFrame;
|
|
hasCurrentBuffer(): boolean;
|
|
setNeedsAlpha(needsAlpha: boolean): void;
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoAggregatorPadCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
direction ?: Gst.PadDirection;
|
|
template ?: Gst.PadTemplate;
|
|
offset ?: number | bigint;
|
|
emitSignals ?: boolean;
|
|
zorder ?: number;
|
|
repeatAfterEos ?: boolean;
|
|
maxLastBufferRepeat ?: number;
|
|
}
|
|
|
|
class VideoAggregatorParallelConvertPad extends GstVideo.VideoAggregatorConvertPad {
|
|
constructor(initializerList ?: VideoAggregatorParallelConvertPadCtor);
|
|
|
|
parentInstance : GstVideo.VideoAggregatorConvertPad;
|
|
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoAggregatorParallelConvertPadCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
direction ?: Gst.PadDirection;
|
|
template ?: Gst.PadTemplate;
|
|
offset ?: number | bigint;
|
|
emitSignals ?: boolean;
|
|
zorder ?: number;
|
|
repeatAfterEos ?: boolean;
|
|
maxLastBufferRepeat ?: number;
|
|
}
|
|
|
|
class VideoBufferPool extends Gst.BufferPool {
|
|
constructor(initializerList ?: VideoBufferPoolCtor);
|
|
|
|
bufferpool : Gst.BufferPool;
|
|
priv : GstVideo.VideoBufferPoolPrivate;
|
|
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoBufferPoolCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
}
|
|
|
|
class VideoDecoder extends Gst.Element {
|
|
constructor(initializerList ?: VideoDecoderCtor);
|
|
|
|
element : Gst.Element;
|
|
sinkpad : Gst.Pad;
|
|
srcpad : Gst.Pad;
|
|
streamLock : AuGlibEx.RecMutex;
|
|
inputSegment : Gst.Segment;
|
|
outputSegment : Gst.Segment;
|
|
priv : GstVideo.VideoDecoderPrivate;
|
|
|
|
automaticRequestSyncPointFlags : GstVideo.VideoDecoderRequestSyncPointFlags;
|
|
automaticRequestSyncPoints : boolean;
|
|
discardCorruptedFrames : boolean;
|
|
maxErrors : number;
|
|
minForceKeyUnitInterval : number | bigint;
|
|
qos : boolean;
|
|
|
|
addToFrame(nBytes: number): void;
|
|
allocateOutputBuffer(): Gst.Buffer;
|
|
allocateOutputFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
allocateOutputFrameWithParams(frame: GstVideo.VideoCodecFrame, params: Gst.BufferPoolAcquireParams): Gst.FlowReturn;
|
|
dropFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
dropSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
finishFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
finishSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
getAllocator(allocator ?: Gst.Allocator, params ?: Gst.AllocationParams): void;
|
|
getBufferPool(): Gst.BufferPool;
|
|
getEstimateRate(): number;
|
|
getFrame(frameNumber: number): GstVideo.VideoCodecFrame;
|
|
getFrames(): GstVideo.VideoCodecFrame[];
|
|
getInputSubframeIndex(frame: GstVideo.VideoCodecFrame): number;
|
|
getLatency(minLatency ?: number | bigint, maxLatency ?: number | bigint): void;
|
|
getMaxDecodeTime(frame: GstVideo.VideoCodecFrame): number | bigint;
|
|
getMaxErrors(): number;
|
|
getNeedsFormat(): boolean;
|
|
getNeedsSyncPoint(): boolean;
|
|
getOldestFrame(): GstVideo.VideoCodecFrame;
|
|
getOutputState(): GstVideo.VideoCodecState;
|
|
getPacketized(): boolean;
|
|
getPendingFrameSize(): number | bigint;
|
|
getProcessedSubframeIndex(frame: GstVideo.VideoCodecFrame): number;
|
|
getQosProportion(): number;
|
|
getSubframeMode(): boolean;
|
|
haveFrame(): Gst.FlowReturn;
|
|
haveLastSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
mergeTags(tags: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): void;
|
|
negotiate(): boolean;
|
|
proxyGetcaps(caps: Gst.Caps | undefined | null, filter: Gst.Caps | undefined | null): Gst.Caps;
|
|
releaseFrame(frame: GstVideo.VideoCodecFrame): void;
|
|
requestSyncPoint(frame: GstVideo.VideoCodecFrame, flags: GstVideo.VideoDecoderRequestSyncPointFlags): void;
|
|
setEstimateRate(enabled: boolean): void;
|
|
setInterlacedOutputState(fmt: GstVideo.VideoFormat, interlaceMode: GstVideo.VideoInterlaceMode, width: number, height: number, reference: GstVideo.VideoCodecState | undefined | null): GstVideo.VideoCodecState;
|
|
setLatency(minLatency: number | bigint, maxLatency: number | bigint): void;
|
|
setMaxErrors(num: number): void;
|
|
setNeedsFormat(enabled: boolean): void;
|
|
setNeedsSyncPoint(enabled: boolean): void;
|
|
setOutputState(fmt: GstVideo.VideoFormat, width: number, height: number, reference: GstVideo.VideoCodecState | undefined | null): GstVideo.VideoCodecState;
|
|
setPacketized(packetized: boolean): void;
|
|
setSubframeMode(subframeMode: boolean): void;
|
|
setUseDefaultPadAcceptcaps(use: boolean): void;
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoDecoderCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
qos ?: boolean;
|
|
maxErrors ?: number;
|
|
minForceKeyUnitInterval ?: number;
|
|
discardCorruptedFrames ?: boolean;
|
|
automaticRequestSyncPoints ?: boolean;
|
|
automaticRequestSyncPointFlags ?: GstVideo.VideoDecoderRequestSyncPointFlags;
|
|
}
|
|
|
|
class VideoEncoder extends Gst.Element implements Gst.Preset {
|
|
constructor(initializerList ?: VideoEncoderCtor);
|
|
|
|
element : Gst.Element;
|
|
sinkpad : Gst.Pad;
|
|
srcpad : Gst.Pad;
|
|
streamLock : AuGlibEx.RecMutex;
|
|
inputSegment : Gst.Segment;
|
|
outputSegment : Gst.Segment;
|
|
priv : GstVideo.VideoEncoderPrivate;
|
|
|
|
minForceKeyUnitInterval : number | bigint;
|
|
qos : boolean;
|
|
|
|
allocateOutputBuffer(size: number | bigint): Gst.Buffer;
|
|
allocateOutputFrame(frame: GstVideo.VideoCodecFrame, size: number | bigint): Gst.FlowReturn;
|
|
finishFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
finishSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn;
|
|
getAllocator(allocator ?: Gst.Allocator, params ?: Gst.AllocationParams): void;
|
|
getFrame(frameNumber: number): GstVideo.VideoCodecFrame;
|
|
getFrames(): GstVideo.VideoCodecFrame[];
|
|
getLatency(minLatency ?: number | bigint, maxLatency ?: number | bigint): void;
|
|
getMaxEncodeTime(frame: GstVideo.VideoCodecFrame): number | bigint;
|
|
getMinForceKeyUnitInterval(): number | bigint;
|
|
getOldestFrame(): GstVideo.VideoCodecFrame;
|
|
getOutputState(): GstVideo.VideoCodecState;
|
|
isQosEnabled(): boolean;
|
|
mergeTags(tags: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): void;
|
|
negotiate(): boolean;
|
|
proxyGetcaps(caps: Gst.Caps | undefined | null, filter: Gst.Caps | undefined | null): Gst.Caps;
|
|
setHeaders(headers: Gst.Buffer[]): void;
|
|
setLatency(minLatency: number | bigint, maxLatency: number | bigint): void;
|
|
setMinForceKeyUnitInterval(interval: number | bigint): void;
|
|
setMinPts(minPts: number | bigint): void;
|
|
setOutputState(caps: Gst.Caps, reference: GstVideo.VideoCodecState | undefined | null): GstVideo.VideoCodecState;
|
|
setQosEnabled(enabled: boolean): void;
|
|
//TypeScript is complete garbage:
|
|
static GetAppDir(): string;
|
|
static SetAppDir(appDir: string): boolean;
|
|
deletePreset(name: string): boolean;
|
|
getMeta(name: string, tag: string, value: string): boolean;
|
|
getPresetNames(): string[];
|
|
getPropertyNames(): string[];
|
|
isEditable(): boolean;
|
|
loadPreset(name: string): boolean;
|
|
renamePreset(oldName: string, newName: string): boolean;
|
|
savePreset(name: string): boolean;
|
|
setMeta(name: string, tag: string, value: string | undefined | null): boolean;
|
|
}
|
|
|
|
class VideoEncoderCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
qos ?: boolean;
|
|
minForceKeyUnitInterval ?: number;
|
|
}
|
|
|
|
class VideoFilter extends GstBase.BaseTransform {
|
|
constructor(initializerList ?: VideoFilterCtor);
|
|
|
|
element : GstBase.BaseTransform;
|
|
negotiated : boolean;
|
|
inInfo : GstVideo.VideoInfo;
|
|
outInfo : GstVideo.VideoInfo;
|
|
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoFilterCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
qos ?: boolean;
|
|
}
|
|
|
|
class VideoMultiviewFlagsSet extends Gst.FlagSet {
|
|
constructor(initializerList ?: VideoMultiviewFlagsSetCtor);
|
|
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoMultiviewFlagsSetCtor {
|
|
}
|
|
|
|
class VideoSink extends GstBase.BaseSink {
|
|
constructor(initializerList ?: VideoSinkCtor);
|
|
|
|
element : GstBase.BaseSink;
|
|
width : number;
|
|
height : number;
|
|
priv : GstVideo.VideoSinkPrivate;
|
|
|
|
showPrerollFrame : boolean;
|
|
|
|
static CenterRect(src: GstVideo.VideoRectangle, dst: GstVideo.VideoRectangle, result: GstVideo.VideoRectangle, scaling: boolean): void;
|
|
//TypeScript is complete garbage:
|
|
}
|
|
|
|
class VideoSinkCtor {
|
|
name ?: string;
|
|
parent ?: Gst.Object;
|
|
sync ?: boolean;
|
|
maxLateness ?: number | bigint;
|
|
qos ?: boolean;
|
|
async ?: boolean;
|
|
tsOffset ?: number | bigint;
|
|
enableLastSample ?: boolean;
|
|
blocksize ?: number;
|
|
renderDelay ?: number;
|
|
throttleTime ?: number;
|
|
maxBitrate ?: number;
|
|
processingDeadline ?: number;
|
|
showPrerollFrame ?: boolean;
|
|
}
|
|
} |