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

« back to all changes in this revision

Viewing changes to avidemux/ADM_videoFilter/ADM_vidFlux.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_vidFlux.h  -  description
 
3
                             -------------------
 
4
    begin                : Tue Dec 31 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
#ifndef __FLUX__
 
19
#define __FLUX__   
 
20
#include "ADM_video/ADM_cache.h"
 
21
typedef struct FLUX_PARAM
 
22
{
 
23
        uint32_t temporal_threshold;
 
24
        uint32_t spatial_threshold;
 
25
        
 
26
}FLUX_PARAM;
 
27
 
 
28
class  ADMVideoFlux:public AVDMGenericVideoStream
 
29
 {
 
30
 
 
31
 protected:
 
32
        
 
33
                                FLUX_PARAM              *_param;
 
34
 
 
35
                                void DoFilter_C( uint8_t * currp,  uint8_t * prevp, uint8_t * nextp, 
 
36
                                                         int src_pitch, uint8_t * destp,  int dst_pitch,
 
37
                                                         int row_size,  int height);
 
38
                                void DoFilter_MMX( uint8_t * currp,  uint8_t * prevp, uint8_t * nextp, 
 
39
                                                         int src_pitch, uint8_t * destp,  int dst_pitch,
 
40
                                                         int row_size,  int height);     
 
41
                                int32_t num_frame;
 
42
                                VideoCache              *vidCache;
 
43
                        
 
44
 public:
 
45
                
 
46
 
 
47
                                                ADMVideoFlux(  AVDMGenericVideoStream *in,CONFcouple *setup);
 
48
 
 
49
                                                 ~ADMVideoFlux();
 
50
                        virtual uint8_t         getFrameNumberNoAlloc(uint32_t frame, uint32_t *len,
 
51
                                                        ADMImage *data,uint32_t *flags);
 
52
 
 
53
                        virtual uint8_t         configure( AVDMGenericVideoStream *instream);
 
54
                        virtual char            *printConf(void);
 
55
                        virtual uint8_t         getCoupledConf( CONFcouple **couples);
 
56
                                                        
 
57
 }     ;
 
58
#endif