[FFmpeg-devel] [PATCH 1/5] libavutil: Add fixed_dsp
Timothy Gu
timothygu99 at gmail.com
Mon Jan 20 16:48:54 CET 2014
On Jan 20, 2014 6:51 AM, "Nedeljko Babic" <nedeljko.babic at imgtec.com> wrote:
> diff --git a/libavutil/fixed_dsp.h b/libavutil/fixed_dsp.h
> new file mode 100644
> index 0000000..a37d20c
> --- /dev/null
> +++ b/libavutil/fixed_dsp.h
> @@ -0,0 +1,123 @@
> +
> +typedef struct AVFixedDSPContext {
> + /**
> + * Overlap/add with window function.
> + * Used primarily by MDCT-based audio codecs.
> + * Source and destination vectors must overlap exactly or not at all.
> + *
> + * @param dst result vector
> + * constraints: 16-byte aligned
> + * @param src0 first source vector
> + * constraints: 16-byte aligned
> + * @param src1 second source vector
> + * constraints: 16-byte aligned
> + * @param win half-window vector
> + * constraints: 16-byte aligned
> + * @param len length of vector
> + * constraints: multiple of 4
> + * @param bits scaling parameter
> + *
> + */
> + void (*vector_fmul_window_fixed_scaled)(int16_t *dst, const int32_t
*src0, const int32_t *src1, const int32_t *win, int len, uint8_t bits);
> +
> + /**
> + * Overlap/add with window function.
> + * Used primarily by MDCT-based audio codecs.
> + * Source and destination vectors must overlap exactly or not at all.
> + *
> + * @param dst result vector
> + * constraints: 32-byte aligned
> + * @param src0 first source vector
> + * constraints: 16-byte aligned
> + * @param src1 second source vector
> + * constraints: 16-byte aligned
> + * @param win half-window vector
> + * constraints: 16-byte aligned
> + * @param len length of vector
> + * constraints: multiple of 4
> + */
> + void (*vector_fmul_window_fixed)(int32_t *dst, const int32_t *src0,
const int32_t *src1, const int32_t *win, int len);
These 2 function pointers documentation are the same. Is that intended?
Timothy
More information about the ffmpeg-devel
mailing list