~ubuntu-branches/ubuntu/feisty/kdetv/feisty

« back to all changes in this revision

Viewing changes to kdetv/plugins/filter/greedyh/dscalerfiltergreedyh.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-09-17 23:25:16 UTC
  • Revision ID: james.westby@ubuntu.com-20050917232516-9wdsn3ckagbqieh8
Tags: upstream-0.8.8
ImportĀ upstreamĀ versionĀ 0.8.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                           dscalerfiltergreedyh.h
 
3
                           ----------------------
 
4
    begin                : Wed Jul 21 2004
 
5
    copyright            : (C) 2004 by Dirk Ziegelmeier
 
6
    email                : dziegel@gmx.de
 
7
 ***************************************************************************/
 
8
 
 
9
/*
 
10
 * GreedyH algorithm taken from DScaler.
 
11
 * Copyright (c) 2001 Tom Barry.  All rights reserved.
 
12
 *
 
13
 * Ported by: Dirk Ziegelmeier
 
14
 *
 
15
 *   This program is free software; you can redistribute it and/or modify
 
16
 *   it under the terms of the GNU General Public License as published by
 
17
 *   the Free Software Foundation; either version 2 of the License, or
 
18
 *   (at your option) any later version.
 
19
 */
 
20
 
 
21
#ifndef DSCALERFILTERGREEDYH_H
 
22
#define DSCALERFILTERGREEDYH_H
 
23
 
 
24
#include <kdetvdscalerfilter.h>
 
25
 
 
26
#define MAXCOMB_DEFAULT          5
 
27
#define MOTIONTHRESHOLD_DEFAULT 25
 
28
#define MOTIONSENSE_DEFAULT     30
 
29
 
 
30
class DScalerFilterGreedyH : public KdetvDScalerFilter
 
31
{
 
32
public:
 
33
    DScalerFilterGreedyH();
 
34
 
 
35
    virtual ~DScalerFilterGreedyH();
 
36
 
 
37
    virtual void filterDScaler_3DNOW(TDeinterlaceInfo* pInfo);
 
38
    virtual void filterDScaler_MMX(TDeinterlaceInfo* pInfo);
 
39
    virtual void filterDScaler_SSE(TDeinterlaceInfo* pInfo);
 
40
 
 
41
    unsigned int GreedyMaxComb;
 
42
    unsigned int GreedyMotionThreshold;
 
43
    unsigned int GreedyMotionSense;
 
44
};
 
45
 
 
46
#endif