← Back to C-Kernel-Engine Docs Doxygen Source Documentation
Loading...
Searching...
No Matches
ckernel_audio_zero_pad.h
Go to the documentation of this file.
1#ifndef CKERNEL_AUDIO_ZERO_PAD_H
2#define CKERNEL_AUDIO_ZERO_PAD_H
3
4#include <stddef.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
17
18/* Prepend zeros to every channel-major FP32 row. Valid output frames equal
19 * input_frames + left_padding; physical strides may be larger. Rejected calls
20 * leave output unchanged, including its unused padding. */
22 const float *input, size_t input_elements, size_t input_stride,
23 float *output, size_t output_elements, size_t output_stride,
24 size_t channels, size_t input_frames, size_t left_padding,
25 size_t output_frames);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif
int audio_zero_pad1d_left_channel_major_f32_checked(const float *input, size_t input_elements, size_t input_stride, float *output, size_t output_elements, size_t output_stride, size_t channels, size_t input_frames, size_t left_padding, size_t output_frames)
@ CK_AUDIO_ZERO_PAD_OK
@ CK_AUDIO_ZERO_PAD_INVALID
@ CK_AUDIO_ZERO_PAD_NONFINITE
@ CK_AUDIO_ZERO_PAD_CAPACITY
@ CK_AUDIO_ZERO_PAD_OVERFLOW