Home
last modified time | relevance | path

Searched refs:sample_buffer (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/libfaad/libfaad/
H A Doutput.c91 int16_t **sample_buffer) in to_PCM_16bit() argument
106 (*sample_buffer)[i] = (int16_t)lrintf(inp); in to_PCM_16bit()
156 int32_t **sample_buffer) in to_PCM_24bit() argument
172 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_24bit()
226 int32_t **sample_buffer) in to_PCM_32bit() argument
242 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_32bit()
296 float32_t **sample_buffer) in to_PCM_float() argument
308 (*sample_buffer)[i] = inp*FLOAT_SCALE; in to_PCM_float()
348 double **sample_buffer) in to_PCM_double() argument
436 return sample_buffer; in output_to_PCM()
[all …]
/dports/audio/faad/faad2-c626366/libfaad/
H A Doutput.c91 int16_t **sample_buffer) in to_PCM_16bit() argument
106 (*sample_buffer)[i] = (int16_t)lrintf(inp); in to_PCM_16bit()
156 int32_t **sample_buffer) in to_PCM_24bit() argument
172 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_24bit()
226 int32_t **sample_buffer) in to_PCM_32bit() argument
242 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_32bit()
296 float32_t **sample_buffer) in to_PCM_float() argument
308 (*sample_buffer)[i] = inp*FLOAT_SCALE; in to_PCM_float()
348 double **sample_buffer) in to_PCM_double() argument
436 return sample_buffer; in output_to_PCM()
[all …]
/dports/multimedia/libxine/xine-lib-1.2.11/contrib/libfaad/
H A Doutput.c91 int16_t **sample_buffer) in to_PCM_16bit() argument
106 (*sample_buffer)[i] = (int16_t)lrintf(inp); in to_PCM_16bit()
156 int32_t **sample_buffer) in to_PCM_24bit() argument
172 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_24bit()
226 int32_t **sample_buffer) in to_PCM_32bit() argument
242 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_32bit()
296 float32_t **sample_buffer) in to_PCM_float() argument
308 (*sample_buffer)[i] = inp*FLOAT_SCALE; in to_PCM_float()
348 double **sample_buffer) in to_PCM_double() argument
436 return sample_buffer; in output_to_PCM()
[all …]
/dports/audio/aacgain/aacgain-1.8/faad2/libfaad/
H A Doutput.c89 int16_t **sample_buffer) in to_PCM_16bit() argument
104 (*sample_buffer)[i] = (int16_t)lrintf(inp); in to_PCM_16bit()
154 int32_t **sample_buffer) in to_PCM_24bit() argument
170 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_24bit()
224 int32_t **sample_buffer) in to_PCM_32bit() argument
240 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_32bit()
294 float32_t **sample_buffer) in to_PCM_float() argument
306 (*sample_buffer)[i] = inp*FLOAT_SCALE; in to_PCM_float()
346 double **sample_buffer) in to_PCM_double() argument
434 return sample_buffer; in output_to_PCM()
[all …]
/dports/audio/welle.io/welle.io-66675c9a4160c644a5ade5bf7a0cd0647647f33c/src/libs/faad2/libfaad/
H A Doutput.c91 int16_t **sample_buffer) in to_PCM_16bit() argument
106 (*sample_buffer)[i] = (int16_t)lrintf(inp); in to_PCM_16bit()
156 int32_t **sample_buffer) in to_PCM_24bit() argument
172 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_24bit()
226 int32_t **sample_buffer) in to_PCM_32bit() argument
242 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_32bit()
296 float32_t **sample_buffer) in to_PCM_float() argument
308 (*sample_buffer)[i] = inp*FLOAT_SCALE; in to_PCM_float()
348 double **sample_buffer) in to_PCM_double() argument
436 return sample_buffer; in output_to_PCM()
[all …]
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/m4adecoder/libfaad/
H A Doutput.c91 int16_t **sample_buffer) in to_PCM_16bit() argument
106 (*sample_buffer)[i] = (int16_t)lrintf(inp); in to_PCM_16bit()
156 int32_t **sample_buffer) in to_PCM_24bit() argument
172 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_24bit()
226 int32_t **sample_buffer) in to_PCM_32bit() argument
242 (*sample_buffer)[i] = (int32_t)lrintf(inp); in to_PCM_32bit()
296 float32_t **sample_buffer) in to_PCM_float() argument
308 (*sample_buffer)[i] = inp*FLOAT_SCALE; in to_PCM_float()
348 double **sample_buffer) in to_PCM_double() argument
436 return sample_buffer; in output_to_PCM()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/gme/higan/smp/
H A Dsmp.cpp21 while(sample_buffer < sample_buffer_end) { in enter()
22 clock -= (int64_t)((double)(sample_buffer_end - sample_buffer) * 24.0 * 16.0 * tempo); in enter()
31 sample_buffer = buffer; in render()
37 sample_buffer = buffer; in render()
44 sample_buffer = 0; in skip()
49 sample_buffer = 0; in skip()
55 if ( sample_buffer_end - sample_buffer < 2 ) return false; in sample()
56 if ( sample_buffer > ((const int16_t *)0) + 4096 ) { in sample()
57 *sample_buffer++ = left; in sample()
58 *sample_buffer++ = right; in sample()
[all …]
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/higan/smp/
H A Dsmp.cpp21 while(sample_buffer < sample_buffer_end) { in enter()
22 clock -= (int64_t)((double)(sample_buffer_end - sample_buffer) * 24.0 * 16.0 * tempo); in enter()
31 sample_buffer = buffer; in render()
37 sample_buffer = buffer; in render()
44 sample_buffer = 0; in skip()
49 sample_buffer = 0; in skip()
55 if ( sample_buffer_end - sample_buffer < 2 ) return false; in sample()
56 if ( sample_buffer > ((const int16_t *)0) + 4096 ) { in sample()
57 *sample_buffer++ = left; in sample()
58 *sample_buffer++ = right; in sample()
[all …]
/dports/games/emptyepsilon/SeriousProton-EE-2021.06.23/src/
H A DnetworkRecorder.cpp40 auto old_size = sample_buffer.size(); in onProcessSamples()
41 sample_buffer.resize(old_size + sample_count); in onProcessSamples()
42 memcpy(&sample_buffer[old_size], samples, sizeof(sf::Int16) * sample_count); in onProcessSamples()
109 if (sample_buffer.size() >= frame_size) in sendAudioPacket()
114 …packet_size = opus_encode(encoder, sample_buffer.data(), frame_size, packet_buffer, sizeof(packet_… in sendAudioPacket()
127 sample_buffer.erase(sample_buffer.begin(), sample_buffer.begin() + frame_size); in sendAudioPacket()
145 while(sample_buffer.size() < frame_size) in finishSending()
146 sample_buffer.push_back(0); in finishSending()
/dports/audio/mous/mous-2.0.1/plugins/faad/
H A DFaadHelper.c42 static int write_audio_16bit(audio_file *aufile, void *sample_buffer,
44 static int write_audio_24bit(audio_file *aufile, void *sample_buffer,
46 static int write_audio_32bit(audio_file *aufile, void *sample_buffer,
48 static int write_audio_float(audio_file *aufile, void *sample_buffer,
54 char *buf = (char *)sample_buffer; in write_audio_file()
72 static int write_audio_16bit(audio_file *aufile, void *sample_buffer, in write_audio_16bit() argument
77 short *sample_buffer16 = (short*)sample_buffer; in write_audio_16bit()
116 static int write_audio_24bit(audio_file *aufile, void *sample_buffer, in write_audio_24bit() argument
121 long *sample_buffer24 = (long*)sample_buffer; in write_audio_24bit()
166 long *sample_buffer32 = (long*)sample_buffer; in write_audio_32bit()
[all …]
/dports/audio/gsequencer/gsequencer-3.10.4/ags/audio/
H A Dags_sfz_util.c503 void *sample_buffer; in ags_sfz_util_copy_s8() local
558 sample_buffer, 1, in ags_sfz_util_copy_s8()
767 void *sample_buffer; in ags_sfz_util_copy_s16() local
822 sample_buffer, 1, in ags_sfz_util_copy_s16()
1031 void *sample_buffer; in ags_sfz_util_copy_s24() local
1086 sample_buffer, 1, in ags_sfz_util_copy_s24()
1295 void *sample_buffer; in ags_sfz_util_copy_s32() local
1350 sample_buffer, 1, in ags_sfz_util_copy_s32()
1559 void *sample_buffer; in ags_sfz_util_copy_s64() local
1614 sample_buffer, 1, in ags_sfz_util_copy_s64()
[all …]
H A Dags_sf2_util.c505 void *sample_buffer; in ags_sf2_util_copy_s8() local
559 sample_buffer, 1, in ags_sf2_util_copy_s8()
774 void *sample_buffer; in ags_sf2_util_copy_s16() local
828 sample_buffer, 1, in ags_sf2_util_copy_s16()
1043 void *sample_buffer; in ags_sf2_util_copy_s24() local
1097 sample_buffer, 1, in ags_sf2_util_copy_s24()
1312 void *sample_buffer; in ags_sf2_util_copy_s32() local
1366 sample_buffer, 1, in ags_sf2_util_copy_s32()
1581 void *sample_buffer; in ags_sf2_util_copy_s64() local
1635 sample_buffer, 1, in ags_sf2_util_copy_s64()
[all …]
/dports/audio/faad/faad2-c626366/frontend/
H A Daudio.h58 int write_audio_file(audio_file *aufile, void *sample_buffer, int samples, int offset);
62 static int write_audio_16bit(audio_file *aufile, void *sample_buffer,
64 static int write_audio_24bit(audio_file *aufile, void *sample_buffer,
66 static int write_audio_32bit(audio_file *aufile, void *sample_buffer,
68 static int write_audio_float(audio_file *aufile, void *sample_buffer,
/dports/audio/faad/faad2-c626366/aacDECdrop/
H A Daudio.h54 int write_audio_file(audio_file *aufile, void *sample_buffer, int samples, int offset);
58 static int write_audio_16bit(audio_file *aufile, void *sample_buffer,
60 static int write_audio_24bit(audio_file *aufile, void *sample_buffer,
62 static int write_audio_32bit(audio_file *aufile, void *sample_buffer,
64 static int write_audio_float(audio_file *aufile, void *sample_buffer,
/dports/databases/libpg_query/libpg_query-10-1.0.4/test/
H A Dparse_plpgsql.c18 char *sample_buffer; in main() local
31 sample_buffer = mmap(0, sample_stat.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
33 if (sample_buffer != (void *) - 1) in main()
35 result = pg_query_parse_plpgsql(sample_buffer); in main()
36 munmap(sample_buffer, sample_stat.st_size); in main()
/dports/security/spass/spass-3.2-5-gd38d173/
H A Daudio_random.cpp58 int16_t sample_buffer[NUM_SAMPLES]; in gather_entropy() local
63 m_source->getSamples(sample_buffer, NUM_SAMPLES); in gather_entropy()
68 if (!((sample_buffer[i] ^ sample_buffer[i+1]) & 0x0001)) in gather_entropy()
72 noise = (sample_buffer[i]) << ((bits_needed-1) % 32); in gather_entropy()
/dports/security/spass-qt5/spass-3.2-5-gd38d173/
H A Daudio_random.cpp58 int16_t sample_buffer[NUM_SAMPLES]; in gather_entropy() local
63 m_source->getSamples(sample_buffer, NUM_SAMPLES); in gather_entropy()
68 if (!((sample_buffer[i] ^ sample_buffer[i+1]) & 0x0001)) in gather_entropy()
72 noise = (sample_buffer[i]) << ((bits_needed-1) % 32); in gather_entropy()
/dports/audio/faad/faad2-c626366/plugins/QCDMp4/
H A DQCDMp4.c2203 r1 = sample_buffer[i]; in remap_channels()
2204 r2 = sample_buffer[i+1]; in remap_channels()
2205 r3 = sample_buffer[i+2]; in remap_channels()
2209 sample_buffer[i] = r2; in remap_channels()
2226 r1 = sample_buffer[i]; in remap_channels()
2232 sample_buffer[i] = r2; in remap_channels()
2251 void *sample_buffer; in MP4PlayThread() local
2469 void *sample_buffer = NULL; in decode_aac_frame() local
2499 return sample_buffer; in decode_aac_frame()
2618 void *sample_buffer; in AACPlayThread() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ppapi/tests/
H A Dtest_audio.h41 static void AudioCallbackTrampoline(void* sample_buffer,
45 static void AudioCallbackTrampoline1_0(void* sample_buffer,
49 typedef void (TestAudio::*AudioCallbackMethod)(void* sample_buffer,
59 void AudioCallbackTrivial(void* sample_buffer,
64 void AudioCallbackTest(void* sample_buffer,
/dports/audio/wavegain/WaveGain-1.2.8/
H A Daudio.h146 int write_audio_file(audio_file *aufile, void *sample_buffer, int samples);
150 static int write_audio_8bit(audio_file *aufile, void *sample_buffer, unsigned int samples);
151 static int write_audio_16bit(audio_file *aufile, void *sample_buffer, unsigned int samples);
152 static int write_audio_24bit(audio_file *aufile, void *sample_buffer, unsigned int samples);
153 static int write_audio_32bit(audio_file *aufile, void *sample_buffer, unsigned int samples);
154 static int write_audio_float(audio_file *aufile, void *sample_buffer, unsigned int samples);
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dgaelco.cpp69 static INT16 *sample_buffer; variable
98 INT16 *lmix = sample_buffer + (8000 * 0) + 5 + nPosition; in gaelcosnd_update()
99 INT16 *rmix = sample_buffer + (8000 * 1) + 5 + nPosition; in gaelcosnd_update()
216 INT16 *pBufL = sample_buffer + (8000 * 0) + 5; in gaelcosnd_update()
217 INT16 *pBufR = sample_buffer + (8000 * 1) + 5; in gaelcosnd_update()
347 sample_buffer = (INT16 *)BurnMalloc(8000 * sizeof(INT16) * 2); // more than enough :) in gaelcosnd_start()
348 memset(sample_buffer, 0, 8000 * sizeof(INT16) * 2); in gaelcosnd_start()
371 BurnFree(sample_buffer); in gaelcosnd_exit()
372 sample_buffer = NULL; in gaelcosnd_exit()
386 memset(sample_buffer, 0, 8000 * sizeof(INT16) * 2); in gaelcosnd_scan()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Dgaelco.cpp67 static INT16 *sample_buffer; variable
96 INT16 *lmix = sample_buffer + (8000 * 0) + 5 + nPosition; in gaelcosnd_update()
97 INT16 *rmix = sample_buffer + (8000 * 1) + 5 + nPosition; in gaelcosnd_update()
214 INT16 *pBufL = sample_buffer + (8000 * 0) + 5; in gaelcosnd_update()
215 INT16 *pBufR = sample_buffer + (8000 * 1) + 5; in gaelcosnd_update()
323 sample_buffer = (INT16 *)BurnMalloc(8000 * sizeof(INT16) * 2); // more than enough :) in gaelcosnd_start()
324 memset(sample_buffer, 0, 8000 * sizeof(INT16) * 2); in gaelcosnd_start()
347 BurnFree(sample_buffer); in gaelcosnd_exit()
348 sample_buffer = NULL; in gaelcosnd_exit()
362 memset(sample_buffer, 0, 8000 * sizeof(INT16) * 2); in gaelcosnd_scan()
/dports/multimedia/libquicktime/libquicktime-1.2.4/plugins/audiocodec/
H A Dima4.c47 int16_t * sample_buffer; /* SAMPLES_PER_BLOCK * channels (interleaved) */ member
265 if(codec->sample_buffer) in delete_codec()
266 free(codec->sample_buffer); in delete_codec()
291 …codec->sample_buffer = malloc(sizeof(*(codec->sample_buffer)) * file->atracks[track].channels * SA… in decode()
355 codec->sample_buffer + i, in decode()
397 codec->sample_buffer + i, in decode()
466 if(!codec->sample_buffer) in encode()
468 …codec->sample_buffer = malloc(sizeof(*(codec->sample_buffer)) * track_map->channels * SAMPLES_PER_… in encode()
491 memcpy(codec->sample_buffer + track_map->channels * codec->sample_buffer_size, in encode()
505 ima4_encode_block(track_map, output_ptr, codec->sample_buffer + j, in encode()
[all …]
/dports/multimedia/libquicktime-lame/libquicktime-1.2.4/plugins/audiocodec/
H A Dima4.c47 int16_t * sample_buffer; /* SAMPLES_PER_BLOCK * channels (interleaved) */ member
265 if(codec->sample_buffer) in delete_codec()
266 free(codec->sample_buffer); in delete_codec()
291 …codec->sample_buffer = malloc(sizeof(*(codec->sample_buffer)) * file->atracks[track].channels * SA… in decode()
355 codec->sample_buffer + i, in decode()
397 codec->sample_buffer + i, in decode()
466 if(!codec->sample_buffer) in encode()
468 …codec->sample_buffer = malloc(sizeof(*(codec->sample_buffer)) * track_map->channels * SAMPLES_PER_… in encode()
491 memcpy(codec->sample_buffer + track_map->channels * codec->sample_buffer_size, in encode()
505 ima4_encode_block(track_map, output_ptr, codec->sample_buffer + j, in encode()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dmlpenc.c1049 ctx->write_buffer = sample_buffer; in write_block_data()
1286 int32_t *sample_buffer = ctx->sample_buffer; in input_to_sample_buffer() local
1330 int32_t *sample_buffer = ctx->sample_buffer; in determine_quant_step_size() local
1397 int32_t *sample_buffer = ctx->sample_buffer + channel; in set_filter_params() local
1636 int32_t *sample_buffer = ctx->sample_buffer + channel; in codebook_bits_offset() local
1741 int32_t *sample_buffer = ctx->sample_buffer + channel; in determine_bits() local
1811 int32_t *sample_buffer = ctx->sample_buffer + channel; in apply_filter() local
1862 sample_buffer = ctx->sample_buffer + channel; in apply_filter()
1896 int32_t *sample_buffer = ctx->sample_buffer + ctx->num_channels - 2; in generate_2_noise_channels() local
1919 int32_t *sample_buffer = ctx->sample_buffer; in rematrix_channels() local
[all …]

12345678910>>...19