/**
* @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 )
{
}
Exemplo n.º 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 )
{
}
Exemplo n.º 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 )
{
}
Exemplo n.º 4
0
/**
* @brief 
*
* @param provider
* @param link
*/
FilterSwapUV::FilterSwapUV( VideoProvider &provider, const FeedLink &link ) :
    VideoConsumer( cClass(), provider, link ),
    VideoProvider( cClass(), provider.name() ),
    Thread( identity() )
{
}