1
/***************************************************************************
2
ADM_vidFlux.h - description
4
begin : Tue Dec 31 2002
5
copyright : (C) 2002 by mean
6
email : fixounet@free.fr
7
***************************************************************************/
9
/***************************************************************************
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. *
16
***************************************************************************/
20
#include "ADM_video/ADM_cache.h"
21
typedef struct FLUX_PARAM
23
uint32_t temporal_threshold;
24
uint32_t spatial_threshold;
28
class ADMVideoFlux:public AVDMGenericVideoStream
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);
47
ADMVideoFlux( AVDMGenericVideoStream *in,CONFcouple *setup);
50
virtual uint8_t getFrameNumberNoAlloc(uint32_t frame, uint32_t *len,
51
ADMImage *data,uint32_t *flags);
53
virtual uint8_t configure( AVDMGenericVideoStream *instream);
54
virtual char *printConf(void);
55
virtual uint8_t getCoupledConf( CONFcouple **couples);