search for: update_filter

Displaying 11 results from an estimated 11 matches for "update_filter".

2009 Nov 03
0
update_filter() error reporting - patch
Hi, Here's a patch that allows update_filter() to report errors to its caller. I intend to update call sites to handle update_filter() failures in a future patch, but this one lays the foundation for it. - Sherief -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/spee...
2013 Sep 24
5
Problem compiling opus-tools-0.1.7
...home/peppermint/build/opus-tools-0.1.7' Making all in . make[2]: Entering directory `/home/peppermint/build/opus-tools-0.1.7' ? CC?????? src/opusenc-opus_header.o ? CC?????? src/opusenc-opusenc.o ? CC?????? src/opusenc-picture.o ? CC?????? src/opusenc-resample.o src/resample.c: In function ?update_filter?: src/resample.c:607:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/resample.c:688:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/resample.c:696:23: warning: comparison between signed and unsigned integer ex...
2013 Sep 24
0
Problem compiling opus-tools-0.1.7
...1.7' > Making all in . > make[2]: Entering directory `/home/peppermint/build/opus-tools-0.1.7' > CC src/opusenc-opus_header.o > CC src/opusenc-opusenc.o > CC src/opusenc-picture.o > CC src/opusenc-resample.o > src/resample.c: In function ?update_filter?: > src/resample.c:607:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > src/resample.c:688:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > src/resample.c:696:23: warning: comparison between signed and unsi...
2008 Jul 12
4
[PATCH] tun: Fix/rewrite packet filtering logic
...t n = ether_crc(ETH_ALEN, addr) >> 26; + mask[n >> 5] |= (1 << (n & 31)); +} + +static unsigned int addr_hash_test(const u32 *mask, const u8 *addr) +{ + int n = ether_crc(ETH_ALEN, addr) >> 26; + return mask[n >> 5] & (1 << (n & 31)); +} + +static int update_filter(struct tap_filter *filter, void __user *arg) +{ + struct { u8 u[ETH_ALEN]; } *addr; + struct tun_filter uf; + int err, alen, n, nexact; + + if (copy_from_user(&uf, arg, sizeof(uf))) + return -EFAULT; + + if (!uf.count) { + /* Disabled */ + filter->count = 0; + return 0; + } + + alen = ET...
2008 Jul 12
4
[PATCH] tun: Fix/rewrite packet filtering logic
...t n = ether_crc(ETH_ALEN, addr) >> 26; + mask[n >> 5] |= (1 << (n & 31)); +} + +static unsigned int addr_hash_test(const u32 *mask, const u8 *addr) +{ + int n = ether_crc(ETH_ALEN, addr) >> 26; + return mask[n >> 5] & (1 << (n & 31)); +} + +static int update_filter(struct tap_filter *filter, void __user *arg) +{ + struct { u8 u[ETH_ALEN]; } *addr; + struct tun_filter uf; + int err, alen, n, nexact; + + if (copy_from_user(&uf, arg, sizeof(uf))) + return -EFAULT; + + if (!uf.count) { + /* Disabled */ + filter->count = 0; + return 0; + } + + alen = ET...
2012 Oct 19
3
How to cross-compile opus-tools?
...check" to run the test suite make? all-recursive make[1]: Entering directory `/home/user/source/opus-tools' Making all in . make[2]: Entering directory `/home/user/source/opus-tools' ? CC???? src/opus_header.o ? CC???? src/opusenc.o ? CC???? src/resample.o src/resample.c: In function ?update_filter?: src/resample.c:607:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/resample.c:688:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] src/resample.c:696:23: warning: comparison between signed and unsigned integer ex...
2011 Sep 01
6
[PATCH 0/5] ARM NEON optimization for samplerate converter
From: Jyri Sarha <jsarha at ti.com> I optimized Speex resampler for NEON capable ARM CPUs. The first patch should speed up resampling on any platform that can spare the increased memory usage. It would be nice to have these merged to the master branch. Please let me know if there is anything I can do to help the the merge. The patches have been rebased on top of master branch in
2018 Sep 14
0
Wine release 3.16
...t_cssStyle implementation. mshtml: Added IHTMLCSSStyleDeclaration::get_cssText implementation. mshtml: Added IHTMLCSSStyleDeclaration::removeProperty implementation. mshtml: Added IHTMLCSSStyleDeclaration::styleFloat property implementation. mshtml: Use dispex_compat_mode in update_filter. mshtml: Expose IHTMLCSSStyleDeclaration interface to scripts. mshtml: Expose CSS properties names from style object via IHTMLCSSStyleDeclaration dispids. Jactry Zeng (3): ole32: Partially implement OleCreateStaticFromData() for OLERENDER_FORMAT. riched20: Handle NULL in IT...
2011 Aug 12
11
[net-next RFC PATCH 0/7] multiqueue support for tun/tap
As multi-queue nics were commonly used for high-end servers, current single queue based tap can not satisfy the requirement of scaling guest network performance as the numbers of vcpus increase. So the following series implements multiple queue support in tun/tap. In order to take advantages of this, a multi-queue capable driver and qemu were also needed. I just rebase the latest version of
2011 Aug 12
11
[net-next RFC PATCH 0/7] multiqueue support for tun/tap
As multi-queue nics were commonly used for high-end servers, current single queue based tap can not satisfy the requirement of scaling guest network performance as the numbers of vcpus increase. So the following series implements multiple queue support in tun/tap. In order to take advantages of this, a multi-queue capable driver and qemu were also needed. I just rebase the latest version of
2008 May 03
0
Resampler, memory only variant
...len) { @@ -1143,6 +1100,18 @@ return ((st->filt_len / 2) * st->den_rate + (st->num_rate >> 1)) / st->num_rate; } +EXPORT void speex_resampler_set_buffer_size(SpeexResamplerState *st, spx_uint32_t buff_len) +{ + st->buffer_size = buff_len; + if (st->initialised) + update_filter(st); +} + +EXPORT void speex_resampler_get_buffer_size(SpeexResamplerState *st, spx_uint32_t *buff_len) +{ + *buff_len = st->buffer_size; +} + EXPORT int speex_resampler_skip_zeros(SpeexResamplerState *st) { spx_uint32_t i;