Re: [libav-devel] [PATCH 2/2] checkasm: x86: post commit review fixes

2015-12-25 Thread Henrik Gramner
On Tue, Dec 22, 2015 at 10:59 PM, Janne Grunau  wrote:
> Check the full FPU tag word instead of only the upper half and simplify
> the comparison.

It previously only checked the lower half, not the upper.

> Use upper-case function base name as macro name to instantiate both
> checked_call variants.
> ---
>  tests/checkasm/x86/checkasm.asm | 20 +---
>  1 file changed, 9 insertions(+), 11 deletions(-)

Otherwise ok.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH 1/2] x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly

2015-12-25 Thread Henrik Gramner
On Tue, Dec 22, 2015 at 10:59 PM, Janne Grunau  wrote:
> This reverts commit 5dfe4edad63971d669ae456b0bc40ef9364cca80.
> ---
>  libavcodec/x86/fmtconvert.asm | 5 +
>  1 file changed, 1 insertion(+), 4 deletions(-)

Ok.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] av_rdft_init() / av_rdft_calc() for halfcomplex format DFT?

2015-12-25 Thread Kip Warner
Hey list,

I'd like to use libav for some Discrete Fourier Transform work.
Specifically, I'd like to generate the following kind of transform in
FFTW, but with libav (if possible). The documentation for libav's DFT
functions are scant, so I figured I'd ask.

If I were using FFTW, I would accomplish what I am attempting to do
like so with a real to real single dimensional transform on single
precision floating point data.

http://www.fftw.org/doc/The-Halfcomplex_002dformat-DFT.html

This is how:

float *Input = new float[WindowSize];
float *Output = fftwf_malloc(sizeof(float) * WindowSize);

plan = fftwf_plan_r2r_1d(WindowSize, Input, Output, FFTW_R2HC, ...);

while(MoreSignal())
{
memcpy(Input, NewSignal, sizeof(float) * WindowSize);

fftwf_execute(plan);

...do something with Output...
}

fftwf_destroy_plan(plan);

Any help appreciated.

Regards,

-- 
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com



signature.asc
Description: This is a digitally signed message part
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel