~ubuntu-branches/ubuntu/trusty/libavg/trusty-proposed

« back to all changes in this revision

Viewing changes to src/graphics/GPUBandpassFilter.cpp

  • Committer: Package Import Robot
  • Author(s): OXullo Intersecans
  • Date: 2011-12-06 22:44:56 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111206224456-qc7250z3ya1vi8s9
Tags: 1.7.0-0ubuntu1
* New upstream release (LP: #899183)
* Remove patches 0002-libav-0.7.patch, 0003-fglrx-segfault-on-startup.patch
  now merged to upstream
* Remove unnecessary .la files
* Update debian/watch file
* Fix debian/copyright dep-5 compliancy
* Update standards to version 3.9.2
* Add man pages for avg_checktouch, avg_checkvsync, avg_showsvg
* Minor debian/rules enhancement
* Add librsvg2-dev, libgdk-pixbuf2.0-dev to Build-Depends
* Proper transition to dh_python2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
2
//  libavg - Media Playback Engine. 
3
 
//  Copyright (C) 2003-2008 Ulrich von Zadow
 
3
//  Copyright (C) 2003-2011 Ulrich von Zadow
4
4
//
5
5
//  This library is free software; you can redistribute it and/or
6
6
//  modify it under the terms of the GNU Lesser General Public
36
36
 
37
37
GPUBandpassFilter::GPUBandpassFilter(const IntPoint& size, PixelFormat pfSrc, 
38
38
        double min, double max, double postScale, bool bInvert, bool bStandalone)
39
 
    : GPUFilter(size, pfSrc, B8G8R8A8, bStandalone),
 
39
    : GPUFilter(pfSrc, B8G8R8A8, bStandalone),
40
40
      m_PostScale(postScale),
41
41
      m_bInvert(bInvert),
42
 
      m_MinFilter(size, pfSrc, R32G32B32A32F, min, false),
43
 
      m_MaxFilter(size, pfSrc, R32G32B32A32F, max, false)
 
42
      m_MinFilter(size, pfSrc, R32G32B32A32F, min, true, false),
 
43
      m_MaxFilter(size, pfSrc, R32G32B32A32F, max, true, false)
44
44
{
45
45
    ObjectCounter::get()->incRef(&typeid(*this));
46
 
 
 
46
    setDimensions(size);
47
47
    initShader();
48
48
}
49
49