/**
* @brief 
*
* @param provider
* @param link
*/
ImageTimestamper::ImageTimestamper( VideoProvider &provider, const FeedLink &link ) :
    VideoConsumer( cClass(), provider, link ),
    VideoProvider( cClass(), provider.name() ),
    Thread( identity() ),
    mTimestampFormat( "%N - %y/%m/%d %H:%M:%S.%f" ),
    mTimestampLocation( 0, 0 )
{
}
Пример #2
0
/**
* @brief 
*
* @param pixelFormat
* @param width
* @param height
* @param provider
* @param link
*/
ImageScale::ImageScale(const Rational &scale, VideoProvider &provider, const FeedLink &link ) :
    VideoConsumer( cClass(), provider, link ),
    VideoProvider( cClass(), provider.name() ),
    Thread( identity() ),
    mScale( scale ),
    mWidth( 0 ),
    mHeight( 0 ),
    mScaleContext( NULL )
{
}
Пример #3
0
/**
* @brief 
*
* @param pixelFormat
* @param width
* @param height
* @param provider
* @param link
*/
ImageConvert::ImageConvert( PixelFormat pixelFormat, int width, int height, VideoProvider &provider, const FeedLink &link ) :
    VideoConsumer( cClass(), provider, link ),
    VideoProvider( cClass(), provider.name() ),
    Thread( identity() ),
    mPixelFormat( pixelFormat ),
    mWidth( width ),
    mHeight( height ),
    mConvertContext( NULL )
{
}
Пример #4
0
/**
* @brief 
*
* @param provider
* @param link
*/
FilterSwapUV::FilterSwapUV( VideoProvider &provider, const FeedLink &link ) :
    VideoConsumer( cClass(), provider, link ),
    VideoProvider( cClass(), provider.name() ),
    Thread( identity() )
{
}