Video Filters:
- Have the Bilinear filter use the same SSurface struct as all the others.
This commit is contained in:
parent
98713caf4b
commit
a15e6cee10
|
@ -4,6 +4,7 @@
|
||||||
** Written: 6/14/00 - JSF
|
** Written: 6/14/00 - JSF
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
#include "filter.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
int systemRedShift = 16;
|
int systemRedShift = 16;
|
||||||
|
@ -145,13 +146,6 @@ void Bilinear(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SSurface {
|
|
||||||
unsigned char *Surface;
|
|
||||||
|
|
||||||
unsigned int Pitch;
|
|
||||||
unsigned int Width, Height;
|
|
||||||
};
|
|
||||||
|
|
||||||
void BilinearPlus(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */,
|
void BilinearPlus(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */,
|
||||||
u8 *dstPtr, u32 dstPitch, int width, int height)
|
u8 *dstPtr, u32 dstPitch, int width, int height)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue