VisioForge (c) 2025

Search Results for

    Class MediaBlock

    Base Media Block. Implements the IMediaBlock.

    Inheritance
    object
    MediaBlock
    LiveSourceSwitchBlock
    AWSS3SinkBlock
    AACEncoderBlock
    ADPCMEncoderBlock
    ALAWEncoderBlock
    FLACEncoderBlock
    MP2EncoderBlock
    MP3EncoderBlock
    OPUSEncoderBlock
    SpeexEncoderBlock
    VorbisEncoderBlock
    WAVEncoderBlock
    WMAEncoderBlock
    WavPackEncoderBlock
    AmplifyBlock
    AudioBalanceBlock
    AudioConverterBlock
    AudioMixerBlock
    AudioResamplerBlock
    AudioSampleGrabberBlock
    AudioTimestampCorrectorBlock
    ChebyshevBandPassRejectBlock
    ChebyshevLimitBlock
    CompressorExpanderBlock
    EchoBlock
    Equalizer10Block
    EqualizerParametricBlock
    KaraokeBlock
    ReverberationBlock
    ScaleTempoBlock
    VUMeterBlock
    VolumeBlock
    WideStereoBlock
    AudioRendererBlock
    SpacescopeBlock
    SpectrascopeBlock
    SynaescopeBlock
    WavescopeBlock
    BridgeAudioSinkBlock
    BridgeAudioSourceBlock
    BridgeBufferSinkBlock
    BridgeBufferSourceBlock
    BridgeSubtitleSinkBlock
    BridgeSubtitleSourceBlock
    BridgeVideoSinkBlock
    BridgeVideoSourceBlock
    InterPipeSinkBlock
    InterPipeSourceBlock
    ProxySinkBlock
    ProxySourceBlock
    RSInterSinkBlock
    RSInterSourceBlock
    DecklinkAudioSinkBlock
    DecklinkAudioSourceBlock
    DecklinkVideoAudioSinkBlock
    DecklinkVideoAudioSourceBlock
    DecklinkVideoSinkBlock
    DecklinkVideoSourceBlock
    NVDataDownloadBlock
    NVDataUploadBlock
    NVVideoConverterBlock
    NVVideoResizeBlock
    CVDewarpBlock
    CVDilateBlock
    CVEdgeDetectBlock
    CVEqualizeHistogramBlock
    CVErodeBlock
    CVFaceBlurBlock
    CVFaceDetectBlock
    CVHandDetectBlock
    CVLaplaceBlock
    CVMotionCellsBlock
    CVSmoothBlock
    CVSobelBlock
    CVTemplateMatchBlock
    CVTextOverlayBlock
    CVTrackerBlock
    GLAlphaBlock
    GLBlurBlock
    GLBulgeBlock
    GLColorBalanceBlock
    GLDeinterlaceBlock
    GLDownloadBlock
    GLEquirectangularViewBlock
    GLFishEyeBlock
    GLFlipBlock
    GLGlowLightingBlock
    GLGrayscaleBlock
    GLHeatBlock
    GLLaplacianBlock
    GLLightTunnelBlock
    GLLumaCrossProcessingBlock
    GLMirrorBlock
    GLOverlayBlock
    GLResizeBlock
    GLSepiaBlock
    GLShaderBlock
    GLSinCityBlock
    GLSobelBlock
    GLSquareBlock
    GLSqueezeBlock
    GLStretchBlock
    GLTransformationBlock
    GLTwirlBlock
    GLUploadBlock
    GLVideoConverterBlock
    GLVideoMixerBlock
    GLVideoRendererBlock
    GLXRayBlock
    AV1ParseBlock
    H263ParseBlock
    H264ParseBlock
    H265ParseBlock
    JPEG2000ParseBlock
    MPEG12VideoParseBlock
    MPEG4ParseBlock
    MPEGAudioParseBlock
    PNGParseBlock
    VC1ParseBlock
    VP9ParseBlock
    ASFSinkBlock
    AVIOutputBlock
    AVISinkBlock
    BufferSinkBlock
    FDSinkBlock
    FLACOutputBlock
    FacebookLiveOutputBlock
    FacebookLiveSinkBlock
    FileSinkBlock
    HLSSinkBlock
    HTTPMJPEGLiveSinkBlock
    KLVFileSinkBlock
    M4AOutputBlock
    MKVOutputBlock
    MKVSinkBlock
    MOVSinkBlock
    MP3OutputBlock
    MP4OutputBlock
    MP4SinkBlock
    MPEGPSSinkBlock
    MPEGTSSinkBlock
    MXFSinkBlock
    NDISinkBlock
    OGGSinkBlock
    OGGVorbisOutputBlock
    RTMPSinkBlock
    RTSPServerBlock
    SRTMPEGTSSinkBlock
    SRTSinkBlock
    SeparateOutputBlock
    StreamSinkBlock
    WAVSinkBlock
    WMVOutputBlock
    WebMOutputBlock
    WebMSinkBlock
    YouTubeOutputBlock
    YouTubeSinkBlock
    D3D11AV1DecoderBlock
    D3D11H264DecoderBlock
    D3D11H265DecoderBlock
    D3D11MPEG2DecoderBlock
    D3D11VP8DecoderBlock
    D3D11VP9DecoderBlock
    MPEGTSDemuxBlock
    QTDemuxBlock
    SRTSourceBlock
    SourceMediaBlock
    UniversalDemuxBlock
    VAAPIH264DecoderBlock
    VAAPIHEVCDecoderBlock
    VAAPIJPEGDecoderBlock
    VAAPIVC1DecoderBlock
    BarcodeDetectorBlock
    CustomMediaBlock
    CustomVideoEncoderBlock
    D3D11DownloadBlock
    D3D11UploadBlock
    DataSampleGrabberBlock
    DebugTimestampBlock
    DecodeBinBlock
    DecryptorBlock
    DecryptorPlayerBlock
    EncryptorBlock
    MultiQueueBlock
    NullRendererBlock
    ParseBinBlock
    QueueBlock
    SourceSwitchBlock
    SuperMediaBlock
    TeeBlock
    H264DecoderBlock
    JPEGDecoderBlock
    NVH264DecoderBlock
    NVH265DecoderBlock
    NVJPEGDecoderBlock
    NVMPEG1DecoderBlock
    NVMPEG2DecoderBlock
    NVMPEG4DecoderBlock
    NVVP8DecoderBlock
    NVVP9DecoderBlock
    AV1EncoderBlock
    DVEncoderBlock
    GIFEncoderBlock
    H264EncoderBlock
    HEVCEncoderBlock
    MJPEGEncoderBlock
    MPEG2EncoderBlock
    MPEG4EncoderBlock
    TheoraEncoderBlock
    VPXEncoderBlock
    WMVEncoderBlock
    AgingBlock
    AudioEffectsBlock
    CascadeFaceDetectorBlock
    ColorEffectsBlock
    D3D11VideoConverterBlock
    DNNFaceDetectorBlock
    DeinterlaceBlock
    DiceBlock
    EdgeBlock
    FaceDetectorBlock
    FishEyeBlock
    FlipRotateBlock
    GammaBlock
    GaussianBlurBlock
    GrayscaleBlock
    ImageOverlayBlock
    InterlaceBlock
    KeyFrameDetectorBlock
    MirrorBlock
    MovingBlurBlock
    MovingEchoBlock
    MovingZoomEchoBlock
    OpticalAnimationBWBlock
    OverlayManagerBlock
    PerspectiveBlock
    PinchBlock
    Pseudo3DBlock
    QRCodeOverlayBlock
    QuarkBlock
    RippleBlock
    RotateBlock
    SVGOverlayBlock
    SmoothBlock
    SphereBlock
    SquareBlock
    SqueezebackBlock
    StretchBlock
    TextOverlayBlock
    TunnelBlock
    TwirlBlock
    VideoAspectRatioCropBlock
    VideoBalanceBlock
    VideoBoxBlock
    VideoConverterBlock
    VideoCropBlock
    VideoEffectsBlock
    VideoEffectsWinBlock
    VideoMixerBlock
    VideoPaddingChangerBlock
    VideoRateBlock
    VideoResizeBlock
    VideoSampleGrabberBlock
    WarpBlock
    WaterRippleBlock
    VideoRendererBlock
    Implements
    IMediaBlock
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.MediaBlocks
    Assembly: VisioForge.Core.dll
    Syntax
    public class MediaBlock : IMediaBlock, IDisposable

    Fields

    Context

    The context.

    Declaration
    public ContextX Context
    Field Value
    Type Description
    ContextX

    _isBuilt

    Is build flag.

    Declaration
    protected bool _isBuilt
    Field Value
    Type Description
    bool

    _pipeline

    The pipeline.

    Declaration
    protected MediaBlocksPipeline _pipeline
    Field Value
    Type Description
    MediaBlocksPipeline

    _pipelineCtx

    The pipeline context.

    Declaration
    protected BlockPipelineContext _pipelineCtx
    Field Value
    Type Description
    BlockPipelineContext

    disposedValue

    The disposed value.

    Declaration
    protected bool disposedValue
    Field Value
    Type Description
    bool

    Properties

    Input

    Gets the input.

    Declaration
    public virtual MediaBlockPad Input { get; }
    Property Value
    Type Description
    MediaBlockPad

    The input.

    Exceptions
    Type Condition
    NotImplementedException

    Inputs

    Gets the inputs.

    Declaration
    public virtual MediaBlockPad[] Inputs { get; }
    Property Value
    Type Description
    MediaBlockPad[]

    The inputs.

    Exceptions
    Type Condition
    NotImplementedException

    IsBuilt

    Gets a value indicating whether this block is built.

    Declaration
    public bool IsBuilt { get; }
    Property Value
    Type Description
    bool

    true if this block is built; otherwise, false.

    Name

    Gets or sets the name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    The name.

    Output

    Gets the output.

    Declaration
    public virtual MediaBlockPad Output { get; }
    Property Value
    Type Description
    MediaBlockPad

    The output.

    Exceptions
    Type Condition
    NotImplementedException

    Outputs

    Gets the outputs.

    Declaration
    public virtual MediaBlockPad[] Outputs { get; }
    Property Value
    Type Description
    MediaBlockPad[]

    The outputs.

    Exceptions
    Type Condition
    NotImplementedException

    Type

    Gets or sets the type.

    Declaration
    public virtual MediaBlockType Type { get; set; }
    Property Value
    Type Description
    MediaBlockType

    The type.

    Exceptions
    Type Condition
    NotImplementedException
    NotImplementedException

    Methods

    Build()

    Builds this instance.

    Declaration
    public virtual bool Build()
    Returns
    Type Description
    bool

    true if successfull, false otherwise.

    Exceptions
    Type Condition
    NotImplementedException

    ClearPads()

    Clears the pads.

    Declaration
    protected virtual void ClearPads()

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    ~MediaBlock()

    Finalizes an instance of the MediaBlock class.

    Declaration
    protected ~MediaBlock()

    GetFreeOutputPadByType(MediaBlockPadMediaType)

    Gets the free output pad by type.

    Declaration
    public MediaBlockPad GetFreeOutputPadByType(MediaBlockPadMediaType mediaType)
    Parameters
    Type Name Description
    MediaBlockPadMediaType mediaType

    Media type.

    Returns
    Type Description
    MediaBlockPad

    MediaBlockPad.

    GetInputPadByType(MediaBlockPadMediaType)

    Gets the input pad by type.

    Declaration
    public MediaBlockPad GetInputPadByType(MediaBlockPadMediaType mediaType)
    Parameters
    Type Name Description
    MediaBlockPadMediaType mediaType

    Media type.

    Returns
    Type Description
    MediaBlockPad

    MediaBlockPad.

    GetOutputPadByType(MediaBlockPadMediaType)

    Gets the output pad by type.

    Declaration
    public MediaBlockPad GetOutputPadByType(MediaBlockPadMediaType mediaType)
    Parameters
    Type Name Description
    MediaBlockPadMediaType mediaType

    Media type.

    Returns
    Type Description
    MediaBlockPad

    MediaBlockPad.

    GetPipelineContext()

    Gets the pipeline context.

    Declaration
    public BlockPipelineContext GetPipelineContext()
    Returns
    Type Description
    BlockPipelineContext

    BlockPipelineContext.

    SetPipeline(MediaBlocksPipeline)

    Sets the pipeline.

    Declaration
    public void SetPipeline(MediaBlocksPipeline pipeline)
    Parameters
    Type Name Description
    MediaBlocksPipeline pipeline

    The pipeline.

    ToYAMLBlock()

    Converts to YAML.

    Declaration
    public YAMLBlock ToYAMLBlock()
    Returns
    Type Description
    YAMLBlock

    YAMLBlock.

    Implements

    IMediaBlock
    IDisposable

    Extension Methods

    MediaBlockHelper.SendEndOfStream(MediaBlock)
    MediaBlockHelper.SendEvent(MediaBlock, Event)
    MediaBlockHelper.SetState(MediaBlock, State)

    See Also

    IMediaBlock