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

« back to all changes in this revision

Viewing changes to kdetv/plugins/filter/greedy2frame/dscalerfiltergreedy2frame.cpp

  • 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
                           DScalerFilterGreedy2frame.cpp
 
3
                           -----------------------------
 
4
    begin                : Fri Jun 18 2004
 
5
    copyright            : (C) 2004 by Dirk Ziegelmeier
 
6
    email                : dziegel@gmx.de
 
7
***************************************************************************/
 
8
 
 
9
/*
 
10
 * Greedy2Frame algorithm taken from DScaler.
 
11
 * Copyright (c) 2000 John Adcock, Tom Barry, Steve Grimm  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
#include <stdlib.h>
 
22
 
 
23
#include <klocale.h>
 
24
#include "dscalerfiltergreedy2frame.h"
 
25
#include "kdetvvideo/x86-64_macros.inc"
 
26
 
 
27
DScalerFilterGreedy2Frame::DScalerFilterGreedy2Frame()
 
28
    : KdetvDScalerFilter(i18n("Greedy2Frame")),
 
29
      _lumaThreshold(LUMATHRESHOLD_DEFAULT),
 
30
      _chromaThreshold(CHROMATHRESHOLD_DEFAULT)
 
31
{
 
32
}
 
33
 
 
34
 
 
35
DScalerFilterGreedy2Frame::~DScalerFilterGreedy2Frame()
 
36
{
 
37
}
 
38
 
 
39
 
 
40
#define IS_SSE 1
 
41
#include "greedy2frame_inc.cpp"
 
42
#undef IS_SSE
 
43
 
 
44
#define IS_3DNOW 1
 
45
#include "greedy2frame_inc.cpp"
 
46
#undef IS_3DNOW
 
47
 
 
48
#define IS_MMX 1
 
49
#include "greedy2frame_inc.cpp"
 
50
#undef IS_MMX