IC Imaging Control C++

MediaStreamSink::tCreateData Structure

MediaStreamSink::tCreateData Structure

This structure describes the parameters, which were used to create a MediaStreamSink. You can access the tCreateData of a MediaStreamSink by calling MediaStreamSink::getCreateData, and passing it to MediaStreamSink::create to create a similar MediaStreamSink.
Syntax:
struct tCreateData
{
    tCreateData( const tMediaStreamContainerPtr& pCont, IFrameFilter* pCB = 0 );
    tCreateData( const tMediaStreamContainerPtr& pCont, const GUID& subtype, IFrameFilter* pFilter = 0 );
    tCreateData( const tMediaStreamContainerPtr& pCont, const smart_ptr<Codec>& pCodec, IFrameFilter* pFilter = 0 );
    tCreateData( const tMediaStreamContainerPtr& pCont, const tFrameFilterList& lst );
    tCreateData( const tMediaStreamContainerPtr& pCont, const GUID& subtype, const tFrameFilterList& lst );
    tCreateData( const tMediaStreamContainerPtr& pCont, const smart_ptr<Codec>& pCodec, const tFrameFilterList& lst );
 
    tCreateData( const GUID& cont_id, IFrameFilter* pCB = 0 );
    tCreateData( const GUID& cont_id, const GUID& subtype, IFrameFilter* pFilter = 0 );
    tCreateData( const GUID& cont_id, const smart_ptr<Codec>& pCodec, IFrameFilter* pFilter = 0 );
 
    tCreateData& operator=( const tCreateData& op2 );
 
    tMediaStreamContainerPtr m_pContainer;
    GUID                     m_ContainerID;
    smart_ptr<Codec>         m_pCodec;
    GUID                     m_Subtype;
    tFrameFilterList         m_filterChain;
};
Value Description
m_pContainer

The selected MediaStreamContainer.

m_ContainerID

The GUID of the selected MediaStreamContainer.

m_pCodec

The selected Codec, if a codec is used, otherwise 0.

m_Subtype

The selected subtype of uncompressed video, the video data is saved uncompressed; otherwise GUID_NULL.

m_filterChain

A chain of IFrameFilters.

<< MediaStreamSink

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us