Method procedure VLGenericFilter.TVLGenericFilter.SendData(IVLImageBuffer)

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TVLGenericFilter

Contents

Syntax

Delphi:

procedure SendData( OutBuffer : IVLImageBuffer );

C++ Builder:

void __fastcall SendData( IVLImageBuffer OutBuffer );

Visual C++ (MFC):

void SendData( TVLCVideoBuffer OutBuffer );

Summary

Sends video frame trough the output pin.

Description

By calling this method you can send data via the OutputPin of the filter.

Use this method together with SendStartCommand and SendStopCommand to do manual data pumping.


Delphi example:

var
  VideoDataBuffer : IVLImageBuffer;

VideoDataBuffer := TVLImageBuffer.CreateSize( 240, 120 )
VideoDataBuffer.Zero();

VLGenericFilter1.SendData( VideoDataBuffer );

C++ Builder example:

TVLCVideoBuffer VideoDataBuffer( SizeOfMyDtataBuffer );
VideoDataBuffer->Zero();

VLGenericFilter1->SendData( VideoDataBuffer );

Visual C++(MFC) example:

TVLCVideoBuffer VideoDataBuffer( SizeOfMyDtataBuffer );
VideoDataBuffer.Zero();

VLGenericFilter1.SendData( VideoDataBuffer );

Visual C++/CLI example:

Mitov.VideoLab.VideoBuffer VideoDataBuffer = gcnew Mitov.VideoLab.VideoBuffer(SizeOfMyDtataBuffer);
VideoDataBuffer->Zero();

genericFilter1->SendData(VideoDataBuffer);

C# example:

Mitov.VideoLab.VideoBuffer VideoDataBuffer = new Mitov.VideoLab.VideoBuffer(SizeOfMyDtataBuffer);
VideoDataBuffer.Zero();

genericFilter1.SendData(VideoDataBuffer);

VB example:

Dim VideoDataBuffer as Mitov.VideoLab.VideoBuffer = new Mitov.VideoLab.VideoBuffer(SizeOfMyDtataBuffer)
VideoDataBuffer.Zero

GenericFilter1.SendData(VideoDataBuffer)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox