/dports/audio/linuxsampler/linuxsampler-2.2.0/src/engines/common/ |
H A D | Stream.h | 63 int BytesPerSample; ///< Size of each sample per channel variable 82 …(pRingBuffer && State != state_unused) ? pRingBuffer->read_space() / SampleInfo.BytesPerSample : 0; in GetReadSpace() 86 …pRingBuffer && State == state_active) ? pRingBuffer->write_space() / SampleInfo.BytesPerSample : 0; in GetWriteSpace() 90 …ate == state_active) ? pRingBuffer->write_space_to_end_with_wrap() / SampleInfo.BytesPerSample : 0; in GetWriteSpaceToEnd() 97 …o_avoid_boundary (cnt * SampleInfo.BytesPerSample, capped_cnt * SampleInfo.BytesPerSample) / Sampl… in AdjustWriteSpaceToAvoidBoundary() 106 Count *= SampleInfo.BytesPerSample; in IncrementReadPos()
|
/dports/audio/mous/mous-2.0.1/deps/MAC_SDK/Source/MACDll/ |
H A D | CEDecoder.cpp | 17 int BytesPerSample = pAPEDecompress->GetInfo(APE_INFO_BYTES_PER_SAMPLE); in FilterGetFileSize() local 18 if (BytesPerSample == 3) BytesPerSample = 4; in FilterGetFileSize() 19 …ress->GetInfo(APE_INFO_TOTAL_BLOCKS) * pAPEDecompress->GetInfo(APE_INFO_CHANNELS) * BytesPerSample; in FilterGetFileSize() 89 int BytesPerSample = pAPEDecompress->GetInfo(APE_INFO_BYTES_PER_SAMPLE); in ReadFilterInput() local 90 if (BytesPerSample == 3) BytesPerSample = 4; in ReadFilterInput() 91 return nBlocksDecoded * pAPEDecompress->GetInfo(APE_INFO_CHANNELS) * BytesPerSample; in ReadFilterInput()
|
/dports/graphics/libpano13/libpano13-2.9.20/ |
H A D | resample.c | 1041 unsigned int BytesPerPixel, BytesPerSample; in MyTransForm() local 1094 if( BytesPerSample == 1 ) intp = poly3; in MyTransForm() 1130 if( BytesPerSample == 1 ) intp = bil; in MyTransForm() 1131 if( BytesPerSample == 2 ) intp = bil_16; in MyTransForm() 1132 if( BytesPerSample == 4 ) intp = bil_32; in MyTransForm() 1136 if( BytesPerSample == 1 ) intp = nn; in MyTransForm() 1137 if( BytesPerSample == 2 ) intp = nn_16; in MyTransForm() 1138 if( BytesPerSample == 4 ) intp = nn_32; in MyTransForm() 2161 if (BytesPerSample<=2) { in transForm_aa() 2348 switch(BytesPerSample) { in transForm_aa() [all …]
|
/dports/games/libretro-snes9x/snes9x-73aa348/ |
H A D | movie.cpp | 65 uint32 BytesPerSample; member 267 for (int i = 1; i < (int) Movie.BytesPerSample; i++) in read_frame_controller_data() 278 Movie.InputBufferPtr += Movie.BytesPerSample; in read_frame_controller_data() 547 uint32 space_needed = (Movie.BytesPerSample * (max_sample + 1)); in S9xMovieUnfreeze() 665 Movie.BytesPerSample = bytes_per_sample(); in S9xMovieOpen() 667 reserve_buffer_space(Movie.BytesPerSample * (Movie.MaxSample + 1)); in S9xMovieOpen() 779 Movie.BytesPerSample = bytes_per_sample(); in S9xMovieCreate() 906 if (!fwrite((Movie.InputBufferPtr - Movie.BytesPerSample), 1, Movie.BytesPerSample, Movie.File)) in S9xMovieUpdate() 927 memset(Movie.InputBufferPtr, 0xFF, Movie.BytesPerSample); in S9xMovieUpdateOnReset() 928 Movie.InputBufferPtr += Movie.BytesPerSample; in S9xMovieUpdateOnReset() [all …]
|
/dports/audio/julius/julius-4.1.2/libsent/src/adin/ |
H A D | adin_mic_darwin_coreaudio.c | 62 static UInt32 BytesPerSample = sizeof(Sample); variable 123 int sz = buf->mDataByteSize / BytesPerSample; in printAudioBuffer() 228 nBytesProvided / BytesPerSample - *ioNumDataPackets * InputSamplesPerPacket; in ConvInputProc() 430 inDesc.mBytesPerPacket = BytesPerSample; in adin_mic_standby() 432 inDesc.mBytesPerFrame = BytesPerSample; in adin_mic_standby() 434 inDesc.mBitsPerChannel = BytesPerSample * BITS_PER_BYTE; in adin_mic_standby() 453 InputSamplesPerPacket = InputBytesPerPacket / BytesPerSample; in adin_mic_standby() 468 outDesc.mBytesPerPacket = BytesPerSample; in adin_mic_standby() 470 outDesc.mBytesPerFrame = BytesPerSample; in adin_mic_standby() 472 outDesc.mBitsPerChannel = BytesPerSample * BITS_PER_BYTE; in adin_mic_standby() [all …]
|
/dports/emulators/snes9x-gtk/snes9x-1.54.1/ |
H A D | movie.cpp | 239 uint32 BytesPerSample; member 441 for (int i = 1; i < (int) Movie.BytesPerSample; i++) in read_frame_controller_data() 452 Movie.InputBufferPtr += Movie.BytesPerSample; in read_frame_controller_data() 722 uint32 space_needed = (Movie.BytesPerSample * (max_sample + 1)); in S9xMovieUnfreeze() 834 Movie.BytesPerSample = bytes_per_sample(); in S9xMovieOpen() 836 reserve_buffer_space(Movie.BytesPerSample * (Movie.MaxSample + 1)); in S9xMovieOpen() 944 Movie.BytesPerSample = bytes_per_sample(); in S9xMovieCreate() 1072 …ignore = fwrite((Movie.InputBufferPtr - Movie.BytesPerSample), 1, Movie.BytesPerSample, Movie.File… in S9xMovieUpdate() 1092 memset(Movie.InputBufferPtr, 0xFF, Movie.BytesPerSample); in S9xMovieUpdateOnReset() 1093 Movie.InputBufferPtr += Movie.BytesPerSample; in S9xMovieUpdateOnReset() [all …]
|
/dports/audio/musepack/musepack_src_r475/mpcenc/ |
H A D | wave_in.c | 65 type->BytesPerSample = 2; in Open_WAV_Header() 108 type->BytesPerSample = 2; in Open_WAV_Header() 196 ReadSamples = fread ( b, t->BytesPerSample * t->Channels, RequestedSamples, t->fp ); in Read_WAV_Samples() 200 ReadSamples = get_in (b) / ( t->Channels * t->BytesPerSample ); in Read_WAV_Samples() 207 ReadSamples = fread ( b, t->BytesPerSample * t->Channels, RequestedSamples, t->fp ); in Read_WAV_Samples() 211 *Silence = DigitalSilence ( b, ReadSamples * t->BytesPerSample * t->Channels ); in Read_WAV_Samples() 216 …ples * t->Channels * t->BytesPerSample, t->BytesPerSample == 1 ? 0x80 : 0, (RequestedSamples - Rea… in Read_WAV_Samples() 220 if ( t->BytesPerSample == 2 ) { in Read_WAV_Samples() 263 unsigned int bytes = t->BytesPerSample; in Read_WAV_Samples() 357 type->BytesPerSample= (type->BitsPerSample + 7) / 8; in Read_WAV_Header() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 58 return static_cast<int>(8 * BytesPerSample() * SampleRateHz() * in GetTargetBitrate() 78 full_frame_samples_ * BytesPerSample(), in EncodeImpl() 104 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 118 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
H A D | audio_encoder_pcm.h | 61 virtual size_t BytesPerSample() const = 0; 91 size_t BytesPerSample() const override; 114 size_t BytesPerSample() const override;
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 58 return static_cast<int>(8 * BytesPerSample() * SampleRateHz() * in GetTargetBitrate() 78 full_frame_samples_ * BytesPerSample(), in EncodeImpl() 104 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 118 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
H A D | audio_encoder_pcm.h | 61 virtual size_t BytesPerSample() const = 0; 91 size_t BytesPerSample() const override; 114 size_t BytesPerSample() const override;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 58 return static_cast<int>(8 * BytesPerSample() * SampleRateHz() * in GetTargetBitrate() 78 full_frame_samples_ * BytesPerSample(), in EncodeImpl() 104 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 118 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
H A D | audio_encoder_pcm.h | 61 virtual size_t BytesPerSample() const = 0; 91 size_t BytesPerSample() const override; 114 size_t BytesPerSample() const override;
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 58 return static_cast<int>(8 * BytesPerSample() * SampleRateHz() * in GetTargetBitrate() 78 full_frame_samples_ * BytesPerSample(), in EncodeImpl() 104 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 118 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
H A D | audio_encoder_pcm.h | 61 virtual size_t BytesPerSample() const = 0; 91 size_t BytesPerSample() const override; 114 size_t BytesPerSample() const override;
|
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 66 return full_frame_samples_ * BytesPerSample(); in MaxEncodedBytes() 86 return 8 * BytesPerSample() * SampleRateHz() * NumChannels(); in GetTargetBitrate() 125 int AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 138 int AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 74 8 * BytesPerSample() * SampleRateHz() * NumChannels()); in GetTargetBitrate() 93 encoded->AppendData(full_frame_samples_ * BytesPerSample(), in EncodeImpl() 117 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 134 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
H A D | audio_encoder_pcm.h | 56 virtual size_t BytesPerSample() const = 0; 89 size_t BytesPerSample() const override; 113 size_t BytesPerSample() const override;
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 74 8 * BytesPerSample() * SampleRateHz() * NumChannels()); in GetTargetBitrate() 93 encoded->AppendData(full_frame_samples_ * BytesPerSample(), in EncodeImpl() 117 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 134 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 73 8 * BytesPerSample() * SampleRateHz() * NumChannels()); in GetTargetBitrate() 92 encoded->AppendData(full_frame_samples_ * BytesPerSample(), in EncodeImpl() 116 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 133 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/ |
H A D | audio_encoder_pcm.cc | 74 8 * BytesPerSample() * SampleRateHz() * NumChannels()); in GetTargetBitrate() 93 encoded->AppendData(full_frame_samples_ * BytesPerSample(), in EncodeImpl() 117 size_t AudioEncoderPcmA::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmA 134 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample() function in webrtc::AudioEncoderPcmU
|
/dports/multimedia/vapoursynth/vapoursynth-R54/src/avfs/ |
H A D | avfs.cpp | 422 static int BytesPerSample(const avs::VideoInfo &vi) { in BytesPerSample() function 483 p.dst_stride[0] = p.width * 4 * BytesPerSample(vi); in GetFrame() 506 p.dst_stride[0] = p.width * 2 * BytesPerSample(vi); in GetFrame() 522 p.dst_stride[0] = p.width * BytesPerSample(vi); in GetFrame() 523 p.dst_stride[1] = p.width * BytesPerSample(vi); in GetFrame() 529 int row_size = GetFrameWidth(vi, 0) * BytesPerSample(vi); in GetFrame() 533 int row_size23 = GetFrameWidth(vi, 1) * BytesPerSample(vi); in GetFrame() 609 image_size = BMPSizeHelper(vi.height, vi.width * BytesPerSample(vi)); in BMPSize() 611 image_size = (vi.width * BytesPerSample(vi)) >> GetSubSamplingW(vi, 1); in BMPSize() 617 image_size += vi.width * BytesPerSample(vi) * vi.height; in BMPSize() [all …]
|
/dports/multimedia/ffms2/ffms2-2.40/src/core/ |
H A D | audiosource.cpp | 209 …BytesPerSample = av_get_bytes_per_sample(static_cast<AVSampleFormat>(opt.SampleFormat)) * av_get_c… in SetOutputFormat() 245 size_t size = DecodeFrame->nb_samples * BytesPerSample; in ResampleAndCache() 267 auto dst = block->Grow(DecodeFrame->nb_samples * BytesPerSample); in CacheBlock() 268 memcpy(dst, data, DecodeFrame->nb_samples * BytesPerSample); in CacheBlock() 328 const int64_t MissingBytes = MissingSamples * BytesPerSample; in DecodeNextBlock() 354 size_t Bytes = static_cast<size_t>(BytesPerSample * FFMIN(-Start, Count)); in GetAudio() 376 size_t Bytes = static_cast<size_t>(CopySamples * BytesPerSample); in GetAudio() 378 … memcpy(Dst + DstOffset * BytesPerSample, it->Data.get() + SrcOffset * BytesPerSample, Bytes); in GetAudio()
|
/dports/games/zdoom/zdoom-2.8.1/output_sdl/ |
H A D | output_sdl.c | 20 int BytesPerSample; member 47 data->Output->readfrommixer(data->Output, stream, len / data->BytesPerSample); in AudioCallback() 157 data->BytesPerSample = *outputformat == FMOD_SOUND_FORMAT_PCM16 ? 2 : 1; in Init() 158 data->BytesPerSample *= desired.channels; in Init()
|
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/modules/audio_coding/codecs/g711/include/ |
H A D | audio_encoder_pcm.h | 57 virtual int BytesPerSample() const = 0; 86 int BytesPerSample() const override; 108 int BytesPerSample() const override;
|