Home
last modified time | relevance | path

Searched refs:right_sample (Results 1 – 25 of 60) sorted by relevance

123

/dports/multimedia/olive/olive-0.1.2/effects/internal/
H A Dpaneffect.cpp46 qint16 right_sample = qint16(((samples[i+3] & 0xFF) << 8) | (samples[i+2] & 0xFF)); in process_audio() local
50 right_sample *= (1.0-pval); in process_audio()
56 samples[i+3] = quint8(right_sample >> 8); in process_audio()
57 samples[i+2] = quint8(right_sample); in process_audio()
H A Dvsthost.cpp287 qint16 right_sample = qint16(((samples[j+3] & 0xFF) << 8) | (samples[j+2] & 0xFF)); in process_audio() local
291 inputs[1][index] = float(right_sample) / float(INT16_MAX); in process_audio()
302 qint16 right_sample = qint16(qRound(outputs[1][index] * INT16_MAX)); in process_audio() local
304 samples[j+3] = quint8(right_sample >> 8); in process_audio()
305 samples[j+2] = quint8(right_sample); in process_audio()
H A Daudionoiseeffect.cpp51 … qint16 right_sample = static_cast<qint16> (((samples[i+3] & 0xFF) << 8) | (samples[i+2] & 0xFF)); in process_audio() local
53 right_noise_sample = mix_audio_sample(right_noise_sample, right_sample); in process_audio()
H A Dtoneeffect.cpp65 qint16 right_sample = qint16(((samples[i+3] & 0xFF) << 8) | (samples[i+2] & 0xFF)); in process_audio() local
67 right_tone_sample = mix_audio_sample(right_tone_sample, right_sample); in process_audio()
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libmedia/
H A DAudioDecoderSimple.cpp123 int right_sample, in doStereoBlock() argument
130 *(*out_data)++ = (std::int16_t) right_sample; in doStereoBlock()
140 doSample(n_bits, right_sample, right_stepsize_index, right_raw_code); in doStereoBlock()
141 *(*out_data)++ = (std::int16_t) right_sample; in doStereoBlock()
204 int right_sample = in.read_sint(16); in adpcm_expand() local
212 …sample_count += doStereoBlock(&out_data, 2, in, sample, stepsize_index, right_sample, right_stepsi… in adpcm_expand()
214 …sample_count += doStereoBlock(&out_data, 3, in, sample, stepsize_index, right_sample, right_stepsi… in adpcm_expand()
216 …sample_count += doStereoBlock(&out_data, 4, in, sample, stepsize_index, right_sample, right_stepsi… in adpcm_expand()
218 …sample_count += doStereoBlock(&out_data, 5, in, sample, stepsize_index, right_sample, right_stepsi… in adpcm_expand()
/dports/games/bstone/bstone-1.1.9/src/
H A Dbstone_audio_mixer.cpp670 float right_sample = 0.0F; in mix_samples() local
712 right_sample += sound->right_volume * sample; in mix_samples()
742 mix_buffer_[(2 * i) + 1] = right_sample; in mix_samples()
743 min_right_sample = std::min(right_sample, min_right_sample); in mix_samples()
744 max_right_sample = std::max(right_sample, max_right_sample); in mix_samples()
787 float right_sample = mix_buffer_[(2 * i) + 1]; in mix_samples() local
798 right_sample *= normalize_right_scale; in mix_samples()
801 right_sample = std::min(right_sample, 32767.0F); in mix_samples()
802 right_sample = std::max(right_sample, -32768.0F); in mix_samples()
805 buffer_[(2 * i) + 1] = static_cast<int16_t>(right_sample); in mix_samples()
/dports/emulators/atari800/atari800-3.1.0/src/
H A Dvotraxsnd.c170 SWORD right_sample; in votrax_process() local
175 right_sample = temp_v_buffer[pos+1]; in votrax_process()
176 interp_sample = (int)(left_sample + fraction*(double)(right_sample-left_sample)); in votrax_process()
/dports/games/edge/Edge-1.35-source/timidity/
H A Dinstrum.cc75 sp=&(ip->right_sample[i]); in free_instrument()
78 if (ip->right_sample) in free_instrument()
79 free(ip->right_sample); in free_instrument()
391 ip->right_sample = (Sample *)safe_malloc(sizeof(Sample) * right_samples); in load_instrument()
395 else ip->right_sample = 0; in load_instrument()
465 free(ip->right_sample[j].data); in load_instrument()
466 free(ip->right_sample); in load_instrument()
482 sp=&(ip->right_sample[i]); in load_instrument()
H A Dplaymidi.h119 Sample *right_sample; member
H A Dinstrum.h85 Sample *right_sample; member
/dports/audio/sdl_mixer/SDL_mixer-1.2.12/timidity/
H A Dinstrum.c68 sp=&(ip->right_sample[i]); in free_instrument()
71 if (ip->right_sample) in free_instrument()
72 free(ip->right_sample); in free_instrument()
398 ip->right_sample = (Sample *)safe_malloc(sizeof(Sample) * right_samples); in load_instrument()
402 else ip->right_sample = 0; in load_instrument()
470 free(ip->right_sample[j].data); in load_instrument()
471 free(ip->right_sample); in load_instrument()
483 else if (stereo_layer == 1) sp=&(ip->right_sample[i]); in load_instrument()
H A Dplaymidi.h76 Sample *right_sample;
H A Dinstrum.h70 Sample *right_sample; member
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/
H A Dvf_delogo.c68 unsigned int left_sample, right_sample; in apply_delogo() local
96 right_sample = topright[src_linesize*(y-logo_y1)] + in apply_delogo()
113 right_sample * weightr in apply_delogo()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/
H A Dvf_delogo.c68 unsigned int left_sample, right_sample; in apply_delogo() local
96 right_sample = topright[src_linesize*(y-logo_y1)] + in apply_delogo()
113 right_sample * weightr in apply_delogo()
/dports/games/alephone/alephone-release-20190331/Source_Files/Network/
H A Dnetwork_microphone_shared.cpp139 int16 right_sample = getSample<stereo, sixteenBit>(data); in copy_and_speex_encode_template() local
141 int32 sample = left_sample + (((right_sample - left_sample) * (counter & 0xffff)) >> 16); in copy_and_speex_encode_template()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/
H A Dvf_delogo.c68 unsigned int left_sample, right_sample; in apply_delogo() local
96 right_sample = topright[src_linesize*(y-logo_y1)] + in apply_delogo()
119 right_sample * weightr in apply_delogo()
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/fluidsynth/src/
H A Dfluid_synth.c2066 fluid_real_t right_sample; in fluid_synth_write_s16() local
2085 right_sample = roundi (right_in[cur] * 32766.0f + rand_table[1][di]); in fluid_synth_write_s16()
2093 if (right_sample > 32767.0f) right_sample = 32767.0f; in fluid_synth_write_s16()
2094 if (right_sample < -32768.0f) right_sample = -32768.0f; in fluid_synth_write_s16()
2097 right_out[k] = (signed short) right_sample; in fluid_synth_write_s16()
2125 fluid_real_t right_sample; in fluid_synth_dither_s16() local
2131 right_sample = roundi (rin[i] * 32766.0f + rand_table[1][di]); in fluid_synth_dither_s16()
2139 if (right_sample > 32767.0f) right_sample = 32767.0f; in fluid_synth_dither_s16()
2140 if (right_sample < -32768.0f) right_sample = -32768.0f; in fluid_synth_dither_s16()
2143 right_out[k] = (signed short) right_sample; in fluid_synth_dither_s16()
/dports/games/libretro-prboom/libretro-prboom-cc80175/deps/fluidlite/src/
H A Dfluid_synth.c2066 fluid_real_t right_sample; in fluid_synth_write_s16() local
2085 right_sample = roundi (right_in[cur] * 32766.0f + rand_table[1][di]); in fluid_synth_write_s16()
2093 if (right_sample > 32767.0f) right_sample = 32767.0f; in fluid_synth_write_s16()
2094 if (right_sample < -32768.0f) right_sample = -32768.0f; in fluid_synth_write_s16()
2097 right_out[k] = (signed short) right_sample; in fluid_synth_write_s16()
2125 fluid_real_t right_sample; in fluid_synth_dither_s16() local
2131 right_sample = roundi (rin[i] * 32766.0f + rand_table[1][di]); in fluid_synth_dither_s16()
2139 if (right_sample > 32767.0f) right_sample = 32767.0f; in fluid_synth_dither_s16()
2140 if (right_sample < -32768.0f) right_sample = -32768.0f; in fluid_synth_dither_s16()
2143 right_out[k] = (signed short) right_sample; in fluid_synth_dither_s16()
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/
H A Dvf_delogo.c109 unsigned int left_sample, right_sample; in apply_delogo() local
137 right_sample = topright[src_linesize*(y-logo_y1)] + in apply_delogo()
160 right_sample * weightr in apply_delogo()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/
H A Dvf_delogo.c109 unsigned int left_sample, right_sample; in apply_delogo() local
137 right_sample = topright[src_linesize*(y-logo_y1)] + in apply_delogo()
160 right_sample * weightr in apply_delogo()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/
H A Dvf_delogo.c110 unsigned int left_sample, right_sample; in apply_delogo() local
138 right_sample = topright[src_linesize*(y-logo_y1)] + in apply_delogo()
161 right_sample * weightr in apply_delogo()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/
H A Dvf_delogo.c109 unsigned int left_sample, right_sample; in apply_delogo() local
137 right_sample = topright[src_linesize*(y-logo_y1)] + in apply_delogo()
160 right_sample * weightr in apply_delogo()
/dports/audio/snd/snd-21.2/
H A Dexamp.rb184 wr = right_sample(snd, chn)
196 rs = right_sample(snd, chn)
223 rs = right_sample(snd, chn)
234 rs = right_sample
284 rs = right_sample(snd, 0)
329 (log(right_sample(snd, chn) -
351 (log(right_sample(snd, chn) -
374 rs = right_sample(snd, chn)
605 dots = right_sample(snd, chn) - left_sample(snd, chn)
/dports/games/libretro-prboom/libretro-prboom-cc80175/deps/fluidsynth/src/synth/
H A Dfluid_synth.c2686 fluid_real_t right_sample; in fluid_synth_write_s16() local
2716 right_sample = roundi (right_in[0][cur] * 32766.0f + rand_table[1][di]); in fluid_synth_write_s16()
2724 if (right_sample > 32767.0f) right_sample = 32767.0f; in fluid_synth_write_s16()
2725 if (right_sample < -32768.0f) right_sample = -32768.0f; in fluid_synth_write_s16()
2728 right_out[k] = (signed short) right_sample; in fluid_synth_write_s16()
2772 fluid_real_t right_sample; in fluid_synth_dither_s16() local
2779 right_sample = roundi (rin[i] * 32766.0f + rand_table[1][di]); in fluid_synth_dither_s16()
2787 if (right_sample > 32767.0f) right_sample = 32767.0f; in fluid_synth_dither_s16()
2788 if (right_sample < -32768.0f) right_sample = -32768.0f; in fluid_synth_dither_s16()
2791 right_out[k] = (signed short) right_sample; in fluid_synth_dither_s16()

123