VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
hal
driver
Allwinner
F1CX00S
common
rtp
median.h
Go to the documentation of this file.
1
#ifndef __MEDIAN_H__
2
#define __MEDIAN_H__
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
struct
median_filter_t
{
9
int
*
buffer
;
10
int
*
index
;
11
int
length
;
12
int
position
;
13
int
count
;
14
};
15
16
struct
median_filter_t
*
median_alloc
(
int
length
);
17
void
median_free
(
struct
median_filter_t
* filter);
18
int
median_update
(
struct
median_filter_t
* filter,
int
value
);
19
void
median_clear
(
struct
median_filter_t
* filter);
20
21
#ifdef __cplusplus
22
}
23
#endif
24
25
#endif
/* __MEDIAN_H__ */
median_alloc
struct median_filter_t * median_alloc(int length)
Definition
median.c:12
median_free
void median_free(struct median_filter_t *filter)
Definition
median.c:41
median_update
int median_update(struct median_filter_t *filter, int value)
Definition
median.c:53
median_clear
void median_clear(struct median_filter_t *filter)
Definition
median.c:132
median_filter_t
Definition
median.h:8
median_filter_t::position
int position
Definition
median.h:12
median_filter_t::index
int * index
Definition
median.h:10
median_filter_t::count
int count
Definition
median.h:13
median_filter_t::buffer
int * buffer
Definition
median.h:9
median_filter_t::length
int length
Definition
median.h:11
value
vk_av_control_value_t value
Definition
vsf_audio.h:171
length
uint_fast8_t length
Definition
vsf_pbuf.c:38
Generated by
1.9.8