Home
last modified time | relevance | path

Searched refs:float_buffer (Results 1 – 25 of 71) sorted by relevance

123

/dports/devel/vstr/vstr-1.0.15/src/vstr_dbl/
H A Dvstr_add_fmt_dbl_host.c33 char *float_buffer = NULL; in vstr__add_fmt_dbl() local
92 ret = asprintf(&float_buffer, fmt_buffer, in vstr__add_fmt_dbl()
95 ret = asprintf(&float_buffer, fmt_buffer, in vstr__add_fmt_dbl()
98 ret = asprintf(&float_buffer, fmt_buffer, in vstr__add_fmt_dbl()
101 ret = asprintf(&float_buffer, fmt_buffer, in vstr__add_fmt_dbl()
123 str = float_buffer; in vstr__add_fmt_dbl()
137 free(float_buffer); in vstr__add_fmt_dbl()
146 free(float_buffer); in vstr__add_fmt_dbl()
163 free(float_buffer); in vstr__add_fmt_dbl()
180 free(float_buffer); in vstr__add_fmt_dbl()
[all …]
/dports/audio/traverso/traverso-0.49.6/src/core/
H A DWriteSource.cpp69 float* float_buffer = 0; in process() local
141 float_buffer = m_dataF2; in process()
149 float_buffer = m_spec->dataF; in process()
177 if (float_buffer[i] > 1.0f) { in process()
179 } else if (float_buffer[i] < -1.0f) { in process()
182 if (float_buffer[i] >= 0.0f) { in process()
183 ob[i] = lrintf (int_max * float_buffer[i]); in process()
196 if (float_buffer[x] > 1.0f) { in process()
197 float_buffer[x] = 1.0f; in process()
198 } else if (float_buffer[x] < -1.0f) { in process()
[all …]
/dports/audio/gsequencer/gsequencer-3.10.4/ags/test/audio/
H A Dags_audio_buffer_util_test.c733 gfloat *float_buffer; in ags_audio_buffer_util_test_envelope_float() local
798 gfloat *float_buffer; in ags_audio_buffer_util_test_envelope() local
1114 gfloat *float_buffer; in ags_audio_buffer_util_test_volume_float() local
1177 gfloat *float_buffer; in ags_audio_buffer_util_test_volume() local
1507 gfloat *float_buffer; in ags_audio_buffer_util_test_resample() local
1754 gfloat *float_buffer; in ags_audio_buffer_util_test_peak_float() local
1809 gfloat *float_buffer; in ags_audio_buffer_util_test_peak() local
3060 gfloat *float_buffer; in ags_audio_buffer_util_test_copy_float_to_s8() local
3080 float_buffer, 1, in ags_audio_buffer_util_test_copy_float_to_s8()
3092 gfloat *float_buffer; in ags_audio_buffer_util_test_copy_float_to_s16() local
[all …]
/dports/audio/py-fmoo-audiotools/audiotools-3.0/src/
H A Dpcmconverter.h209 struct float_buffer { struct
219 static struct float_buffer* argument
225 fb_free(struct float_buffer *buffer);
229 fb_available_frames(const struct float_buffer *buffer);
233 fb_increase_frame_size(struct float_buffer *buffer, unsigned frames);
237 fb_append_samples(struct float_buffer *buffer, const aa_int *samples);
241 fb_pop_frames(struct float_buffer *buffer, unsigned frames);
245 fb_export_frames(struct float_buffer *buffer, a_int *samples);
254 struct float_buffer *in_buffer; /*input floating point samples*/
255 struct float_buffer *out_buffer; /*output floating point samples*/
H A Dpcmconverter.c534 static struct float_buffer*
539 struct float_buffer *buffer = malloc(sizeof(struct float_buffer));
553 fb_free(struct float_buffer *buffer)
560 fb_available_frames(const struct float_buffer *buffer)
566 fb_increase_frame_size(struct float_buffer *buffer, unsigned frames)
574 fb_append_samples(struct float_buffer *buffer, const aa_int *samples)
604 fb_pop_frames(struct float_buffer *buffer, unsigned frames)
618 fb_export_frames(struct float_buffer *buffer, a_int *samples) {
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/
H A Daudio_buffer.cc244 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
245 S16ToFloatS16(interleaved, input_num_frames_, float_buffer.data()); in CopyFrom()
246 input_resamplers_[0]->Resample(float_buffer.data(), input_num_frames_, in CopyFrom()
253 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
255 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyFrom()
288 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
291 float_buffer.data()); in CopyFrom()
316 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
323 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyTo()
349 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_processing/
H A Daudio_buffer.cc244 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
245 S16ToFloatS16(interleaved, input_num_frames_, float_buffer.data()); in CopyFrom()
246 input_resamplers_[0]->Resample(float_buffer.data(), input_num_frames_, in CopyFrom()
253 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
255 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyFrom()
288 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
291 float_buffer.data()); in CopyFrom()
316 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
323 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyTo()
349 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_processing/
H A Daudio_buffer.cc244 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
245 S16ToFloatS16(interleaved, input_num_frames_, float_buffer.data()); in CopyFrom()
246 input_resamplers_[0]->Resample(float_buffer.data(), input_num_frames_, in CopyFrom()
253 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
255 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyFrom()
288 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
291 float_buffer.data()); in CopyFrom()
316 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
323 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyTo()
349 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
[all …]
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_processing/
H A Daudio_buffer.cc244 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
245 S16ToFloatS16(interleaved, input_num_frames_, float_buffer.data()); in CopyFrom()
246 input_resamplers_[0]->Resample(float_buffer.data(), input_num_frames_, in CopyFrom()
253 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
255 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyFrom()
288 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
291 float_buffer.data()); in CopyFrom()
316 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
323 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyTo()
349 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
[all …]
/dports/audio/webrtc-audio-processing/webrtc-audio-processing-1.0/webrtc/modules/audio_processing/
H A Daudio_buffer.cc244 std::array<float, kMaxSamplesPerChannel> float_buffer;
245 S16ToFloatS16(interleaved, input_num_frames_, float_buffer.data());
246 input_resamplers_[0]->Resample(float_buffer.data(), input_num_frames_,
253 std::array<float, kMaxSamplesPerChannel> float_buffer;
255 resampling_required ? float_buffer.data() : data_->channels()[0];
288 std::array<float, kMaxSamplesPerChannel> float_buffer;
291 float_buffer.data());
316 std::array<float, kMaxSamplesPerChannel> float_buffer;
323 resampling_required ? float_buffer.data() : data_->channels()[0];
349 std::array<float, kMaxSamplesPerChannel> float_buffer;
[all …]
/dports/graphics/blender/blender-2.91.0/intern/libmv/intern/
H A Dframe_accessor.cc77 float *float_buffer; in GetImage() local
90 &float_buffer, in GetImage()
96 FloatImage temp_image(float_buffer, in GetImage()
114 float *float_buffer; in GetMaskForTrack() local
126 &float_buffer, in GetMaskForTrack()
136 FloatImage temp_image(float_buffer, in GetMaskForTrack()
/dports/graphics/open3d/Open3D-0.2/src/Visualization/Visualizer/
H A DVisualizerRender.cpp245 std::vector<float> float_buffer(depth_image.height_); in CaptureDepthFloatBuffer() local
250 float_buffer.data()); in CaptureDepthFloatBuffer()
252 p[i * depth_image.width_ + j] = float_buffer[i]; in CaptureDepthFloatBuffer()
317 std::vector<float> float_buffer(depth_image.height_); in CaptureDepthImage() local
322 float_buffer.data()); in CaptureDepthImage()
324 p[i * depth_image.width_ + j] = float_buffer[i]; in CaptureDepthImage()
401 std::vector<float> float_buffer(depth_image.height_); in CaptureDepthPointCloud() local
406 float_buffer.data()); in CaptureDepthPointCloud()
408 p[i * depth_image.width_ + j] = float_buffer[i]; in CaptureDepthPointCloud()
/dports/graphics/py-open3d-python/Open3D-0.2/src/Visualization/Visualizer/
H A DVisualizerRender.cpp245 std::vector<float> float_buffer(depth_image.height_); in CaptureDepthFloatBuffer() local
250 float_buffer.data()); in CaptureDepthFloatBuffer()
252 p[i * depth_image.width_ + j] = float_buffer[i]; in CaptureDepthFloatBuffer()
317 std::vector<float> float_buffer(depth_image.height_); in CaptureDepthImage() local
322 float_buffer.data()); in CaptureDepthImage()
324 p[i * depth_image.width_ + j] = float_buffer[i]; in CaptureDepthImage()
401 std::vector<float> float_buffer(depth_image.height_); in CaptureDepthPointCloud() local
406 float_buffer.data()); in CaptureDepthPointCloud()
408 p[i * depth_image.width_ + j] = float_buffer[i]; in CaptureDepthPointCloud()
/dports/multimedia/libxine/xine-lib-1.2.11/src/demuxers/
H A Ddemux_4xm.c103 unsigned char *float_buffer = (unsigned char *)&f; in get_le_float() local
106 float_buffer[0] = buffer[3]; in get_le_float()
107 float_buffer[1] = buffer[2]; in get_le_float()
108 float_buffer[2] = buffer[1]; in get_le_float()
109 float_buffer[3] = buffer[0]; in get_le_float()
111 float_buffer[0] = buffer[0]; in get_le_float()
112 float_buffer[1] = buffer[1]; in get_le_float()
113 float_buffer[2] = buffer[2]; in get_le_float()
114 float_buffer[3] = buffer[3]; in get_le_float()
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/OpenGL/GL/NV/
H A Dfloat_buffer.py82 from OpenGL.raw.GL.NV.float_buffer import *
83 from OpenGL.raw.GL.NV.float_buffer import _EXTENSION_NAME
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/OpenGL/GLX/NV/
H A Dfloat_buffer.py82 from OpenGL.raw.GLX.NV.float_buffer import *
83 from OpenGL.raw.GLX.NV.float_buffer import _EXTENSION_NAME
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/OpenGL/WGL/NV/
H A Dfloat_buffer.py82 from OpenGL.raw.WGL.NV.float_buffer import *
83 from OpenGL.raw.WGL.NV.float_buffer import _EXTENSION_NAME
/dports/graphics/py-PyOpenGL/PyOpenGL-3.1.5/OpenGL/GLX/NV/
H A Dfloat_buffer.py82 from OpenGL.raw.GLX.NV.float_buffer import *
83 from OpenGL.raw.GLX.NV.float_buffer import _EXTENSION_NAME
/dports/graphics/py-PyOpenGL/PyOpenGL-3.1.5/OpenGL/GL/NV/
H A Dfloat_buffer.py82 from OpenGL.raw.GL.NV.float_buffer import *
83 from OpenGL.raw.GL.NV.float_buffer import _EXTENSION_NAME
/dports/graphics/py-PyOpenGL/PyOpenGL-3.1.5/OpenGL/WGL/NV/
H A Dfloat_buffer.py82 from OpenGL.raw.WGL.NV.float_buffer import *
83 from OpenGL.raw.WGL.NV.float_buffer import _EXTENSION_NAME
/dports/audio/csound/csound-6.15.0/Android/CsoundAndroid/jni/
H A Dcsound_oboe.hpp278 float_buffer(0), in CsoundOboe()
307 float_buffer = static_cast<float *>(audio_data); in onAudioReady()
310 … spin[i * output_channel_count + j] = float_buffer[i * output_channel_count + j]; in onAudioReady()
336 float_buffer = static_cast<float *>(audio_data); in onAudioReady()
339float_buffer[i * output_channel_count + j] = spout[i * output_channel_count + j]; in onAudioReady()
632 float *float_buffer; member in CsoundOboe
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/
H A Dmath_interp.c95 const float *float_buffer, in bicubic_interpolation() argument
149 const float *float_data = float_buffer + width * y1 * components + components * x1; in bicubic_interpolation()
188 const float *float_data = float_buffer + width * y1 * components + components * x1; in bicubic_interpolation()
265 const float *float_buffer, in bilinear_interpolation() argument
323 row1 = float_buffer + width * y1 * components + components * x1; in bilinear_interpolation()
330 row2 = float_buffer + width * y2 * components + components * x1; in bilinear_interpolation()
337 row3 = float_buffer + width * y1 * components + components * x2; in bilinear_interpolation()
344 row4 = float_buffer + width * y2 * components + components * x2; in bilinear_interpolation()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/tests/unit/
H A Dtranslate_test.c59 float* float_buffer; in main() local
141 float_buffer = align_malloc(buffer_size, 4096); in main()
161 float_buffer[i] = (float)rand_double(); in main()
253 buffer[0] = (unsigned char*)float_buffer; in main()
/dports/audio/libsamplerate/libsamplerate-0.2.2/examples/
H A Daudio_out.c389 static float float_buffer [BUFFER_LEN] ; in opensoundsys_play() local
403 …while ((read_frames = callback (callback_data, float_buffer, BUFFER_LEN / opensoundsys_out->channe… in opensoundsys_play()
405 buffer [k] = lrint (32767.0 * float_buffer [k]) ; in opensoundsys_play()
680 float float_buffer [WIN32_BUFFER_LEN / sizeof (short) / 2] ; member
853 read_count = win32_out->callback (win32_out->callback_data, win32_out->float_buffer, frame_count) ; in win32_audio_out_callback()
858 sptr [k] = (short) lrint (32767.0 * win32_out->float_buffer [k]) ; in win32_audio_out_callback()
947 static float float_buffer [BUFFER_LEN] ; in solaris_play() local
961 while ((read_frames = callback (callback_data, float_buffer, BUFFER_LEN / solaris_out->channels))) in solaris_play()
963 buffer [k] = lrint (32767.0 * float_buffer [k]) ; in solaris_play()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/tests/unit/
H A Dtranslate_test.c60 float* float_buffer; in main() local
142 float_buffer = align_malloc(buffer_size, 4096); in main()
162 float_buffer[i] = (float)rand_double(); in main()
260 buffer[0] = (unsigned char*)float_buffer; in main()

123