~ubuntu-branches/ubuntu/hardy/avidemux/hardy

« back to all changes in this revision

Viewing changes to avidemux/ADM_video/ADM_vidDenoise.h

  • Committer: Bazaar Package Importer
  • Author(s): Matvey Kozhev
  • Date: 2007-12-18 13:53:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218135304-cdqec2lg2bglyz15
Tags: 1:2.4~preview3-0.0ubuntu1
* Upload to Ubuntu. (LP: #163287, LP: #126572)
* debian/changelog: re-added Ubuntu releases.
* debian/control:
  - Require debhelper >= 5.0.51 (for dh_icons) and imagemagick.
  - Build-depend on libsdl1.2-dev instead of libsdl-dev.
  - Build against newer libx264-dev. (LP: #138854)
  - Removed libamrnb-dev, not in Ubuntu yet.
* debian/rules:
  - Install all icon sizes, using convert (upstream installs none).
  - Added missing calls to dh_installmenu, dh_installman, dh_icons and
    dh_desktop.
* debian/menu, debian/avidemux-qt.menu:
  - Corrected package and executable names.
* debian/avidemux-common.install: Install icons.
* debian/avidemux.common.manpages: Install man/avidemux.1.
* debian/links, debian/avidemux-cli.links, debian/avidemux-gtk.links:
  - Link manpages to avidemux.1.gz.
* debian/install, debian/avidemux-qt.install, debian/avidemux-gtk.desktop,
  debian/avidemux-qt.desktop: Install desktop files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          ADM_vidDenoise.h  -  description
3
 
                             -------------------
4
 
    begin                : Mon Nov 25 2002
5
 
    copyright            : (C) 2002 by mean
6
 
    email                : fixounet@free.fr
7
 
 ***************************************************************************/
8
 
 
9
 
/***************************************************************************
10
 
 *                                                                         *
11
 
 *   This program is free software; you can redistribute it and/or modify  *
12
 
 *   it under the terms of the GNU General Public License as published by  *
13
 
 *   the Free Software Foundation; either version 2 of the License, or     *
14
 
 *   (at your option) any later version.                                   *
15
 
 *                                                                         *
16
 
 ***************************************************************************/
17
 
 
18
 
 #define DN_COPY 3
19
 
 #define DN_LOCK 0
20
 
 #define DN_BLEND 1
21
 
  
22
 
 typedef struct
23
 
 {
24
 
          uint32_t lumaThreshold,lumaLock;
25
 
          uint32_t chromaThreshold,chromaLock;
26
 
          uint32_t sceneChange;
27
 
        }NOISE_PARAM;
28
 
 
29
 
  class  ADMVideoDenoise:public AVDMGenericVideoStream
30
 
 {
31
 
 
32
 
 protected:
33
 
 
34
 
                                        ADMImage        *_locked;
35
 
                                        ADMImage        *_lockcount;
36
 
                        virtual         char            *printConf(void);
37
 
                                        NOISE_PARAM     *_param;
38
 
                                        uint32_t        _lastFrame;
39
 
                                        uint8_t         doOnePix(uint8_t *in,uint8_t *out,
40
 
                                                                uint8_t *lock,uint8_t *nb);
41
 
                                        uint8_t         doBlend(uint8_t *in,uint8_t *out,
42
 
                                                                uint8_t *lock,uint8_t *nb);
43
 
 
44
 
 public:
45
 
 
46
 
 
47
 
                                                        ADMVideoDenoise(  AVDMGenericVideoStream *in,CONFcouple *setup);
48
 
                        virtual                         ~ADMVideoDenoise();
49
 
                        virtual uint8_t                 getFrameNumberNoAlloc(uint32_t frame, uint32_t *len,
50
 
                                                                        ADMImage *data,uint32_t *flags);
51
 
                        virtual uint8_t                 configure( AVDMGenericVideoStream *instream) ;
52
 
 
53
 
                        virtual uint8_t                 getCoupledConf( CONFcouple **couples);
54
 
 }     ;
55