Add adapted and optimized hq3x.

Revert to big f'ing switch hq2x code, as there's less duplication now. Also optimized interpolation functions further. No idea how I missed that initially.


git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@195 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
sinamas 2008-10-26 13:34:13 +00:00
parent 5313ca3ac4
commit 71e80ba152
5 changed files with 2735 additions and 3139 deletions

View File

@ -47,6 +47,7 @@ sourceFiles = Split('''
src/video/filters/catrom3x.cpp
src/video/filters/kreed2xsai.cpp
src/video/filters/maxsthq2x.cpp
src/video/filters/maxsthq3x.cpp
''')
conf = env.Configure()

View File

@ -23,6 +23,7 @@
#include "video/filters/catrom3x.h"
#include "video/filters/kreed2xsai.h"
#include "video/filters/maxsthq2x.h"
#include "video/filters/maxsthq3x.h"
#include "filterinfo.h"
#include "savestate.h"
#include "video/basic_add_event.h"
@ -131,6 +132,7 @@ LCD::LCD(const unsigned char *const oamram, const unsigned char *const vram_in)
filters.push_back(new Catrom3x);
filters.push_back(new Kreed_2xSaI);
filters.push_back(new MaxSt_Hq2x);
filters.push_back(new MaxSt_Hq3x);
reset(false);
setDoubleSpeed(false);

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2007 by Sindre Aamås *
* Copyright (C) 2007 by Sindre Aam<EFBFBD>s *
* aamas@stud.ntnu.no *
* *
* This program is free software; you can redistribute it and/or modify *

File diff suppressed because it is too large Load Diff