/dports/audio/squeezelite/squeezelite-7b13fd9/ |
H A D | dsd.c | 73 u64_t sample_bytes; member 147 d->sample_bytes = len; in _read_header() 258 && (d->sample_bytes > _buf_used(streambuf))) { in _decode_dsf() 285 if (d->sample_bytes && bytes >= (2 * d->sample_bytes)) { in _decode_dsf() 288 for (i = d->sample_bytes; i < bytes_per_frame; i++) in _decode_dsf() 495 if (d->sample_bytes > bytes_read) { in _decode_dsf() 496 d->sample_bytes -= bytes_read; in _decode_dsf() 500 d->sample_bytes = 0; in _decode_dsf() 710 if (d->sample_bytes > bytes_read) { in _decode_dsdiff() 711 d->sample_bytes -= bytes_read; in _decode_dsdiff() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | vf_spp.c | 243 const int sample_bytes = (depth+7) / 8; in filter() local 247 memcpy(p->src + index*sample_bytes, src + y*src_linesize, width*sample_bytes); in filter() 248 if (sample_bytes == 1) { in filter() 261 …(p->src + ( 7-y)*linesize * sample_bytes, p->src + ( y+8)*linesize * sample_bytes, lin… in filter() 262 …(p->src + (height+8+y)*linesize * sample_bytes, p->src + (height-y+7)*linesize * sample_bytes, lin… in filter() 281 p->dct->get_pixels(block, p->src + sample_bytes*index, sample_bytes*linesize); in filter() 289 if (sample_bytes == 1) { in filter()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | vf_spp.c | 262 const int sample_bytes = (depth+7) / 8; in filter() local 266 memcpy(p->src + index*sample_bytes, src + y*src_linesize, width*sample_bytes); in filter() 267 if (sample_bytes == 1) { in filter() 280 …(p->src + ( 7-y)*linesize * sample_bytes, p->src + ( y+8)*linesize * sample_bytes, lin… in filter() 281 …(p->src + (height+8+y)*linesize * sample_bytes, p->src + (height-y+7)*linesize * sample_bytes, lin… in filter() 300 … p->dct->get_pixels_unaligned(block, p->src + sample_bytes*index, sample_bytes*linesize); in filter() 308 if (sample_bytes == 1) { in filter()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | vf_spp.c | 244 const int sample_bytes = (depth+7) / 8; in filter() local 248 memcpy(p->src + index*sample_bytes, src + y*src_linesize, width*sample_bytes); in filter() 249 if (sample_bytes == 1) { in filter() 262 …(p->src + ( 7-y)*linesize * sample_bytes, p->src + ( y+8)*linesize * sample_bytes, lin… in filter() 263 …(p->src + (height+8+y)*linesize * sample_bytes, p->src + (height-y+7)*linesize * sample_bytes, lin… in filter() 282 p->dct->get_pixels(block, p->src + sample_bytes*index, sample_bytes*linesize); in filter() 290 if (sample_bytes == 1) { in filter()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | vf_spp.c | 260 const int sample_bytes = (depth+7) / 8; in filter() local 264 memcpy(p->src + index*sample_bytes, src + y*src_linesize, width*sample_bytes); in filter() 265 if (sample_bytes == 1) { in filter() 278 …(p->src + ( 7-y)*linesize * sample_bytes, p->src + ( y+8)*linesize * sample_bytes, lin… in filter() 279 …(p->src + (height+8+y)*linesize * sample_bytes, p->src + (height-y+7)*linesize * sample_bytes, lin… in filter() 298 … p->dct->get_pixels_unaligned(block, p->src + sample_bytes*index, sample_bytes*linesize); in filter() 306 if (sample_bytes == 1) { in filter()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | vf_spp.c | 262 const int sample_bytes = (depth+7) / 8; in filter() local 266 memcpy(p->src + index*sample_bytes, src + y*src_linesize, width*sample_bytes); in filter() 267 if (sample_bytes == 1) { in filter() 280 …(p->src + ( 7-y)*linesize * sample_bytes, p->src + ( y+8)*linesize * sample_bytes, lin… in filter() 281 …(p->src + (height+8+y)*linesize * sample_bytes, p->src + (height-y+7)*linesize * sample_bytes, lin… in filter() 300 … p->dct->get_pixels_unaligned(block, p->src + sample_bytes*index, sample_bytes*linesize); in filter() 308 if (sample_bytes == 1) { in filter()
|
/dports/multimedia/libv4l/linux-5.13-rc2/sound/usb/ |
H A D | format.c | 35 int sample_width, sample_bytes; in parse_audio_format_i_type() local 45 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type() 53 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type() 68 sample_bytes = as->bSubslotSize; in parse_audio_format_i_type() 92 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type() 93 sample_bytes = 3; in parse_audio_format_i_type() 94 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type() 97 sample_width, sample_bytes); in parse_audio_format_i_type() 100 switch (sample_bytes) { in parse_audio_format_i_type() 123 sample_width, sample_bytes); in parse_audio_format_i_type() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/usb/ |
H A D | format.c | 35 int sample_width, sample_bytes; in parse_audio_format_i_type() local 45 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type() 53 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type() 68 sample_bytes = as->bSubslotSize; in parse_audio_format_i_type() 92 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type() 93 sample_bytes = 3; in parse_audio_format_i_type() 94 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type() 97 sample_width, sample_bytes); in parse_audio_format_i_type() 100 switch (sample_bytes) { in parse_audio_format_i_type() 123 sample_width, sample_bytes); in parse_audio_format_i_type() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/usb/ |
H A D | format.c | 35 int sample_width, sample_bytes; in parse_audio_format_i_type() local 45 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type() 53 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type() 68 sample_bytes = as->bSubslotSize; in parse_audio_format_i_type() 92 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type() 93 sample_bytes = 3; in parse_audio_format_i_type() 94 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type() 97 sample_width, sample_bytes); in parse_audio_format_i_type() 100 switch (sample_bytes) { in parse_audio_format_i_type() 123 sample_width, sample_bytes); in parse_audio_format_i_type() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.c | 414 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame() 481 int sample_bytes = 0; in ath_cmn_process_fft() local 540 sample_bytes++; in ath_cmn_process_fft() 579 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft() 580 ((sample_bytes > sample_len) && in ath_cmn_process_fft() 598 (sample_bytes >= sample_len) && in ath_cmn_process_fft() 599 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft() 613 sample_bytes); in ath_cmn_process_fft() 621 sample_bytes); in ath_cmn_process_fft() 640 if (sample_bytes == sample_len) { in ath_cmn_process_fft() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.c | 414 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame() 481 int sample_bytes = 0; in ath_cmn_process_fft() local 540 sample_bytes++; in ath_cmn_process_fft() 579 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft() 580 ((sample_bytes > sample_len) && in ath_cmn_process_fft() 598 (sample_bytes >= sample_len) && in ath_cmn_process_fft() 599 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft() 613 sample_bytes); in ath_cmn_process_fft() 621 sample_bytes); in ath_cmn_process_fft() 640 if (sample_bytes == sample_len) { in ath_cmn_process_fft() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.c | 414 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame() 481 int sample_bytes = 0; in ath_cmn_process_fft() local 540 sample_bytes++; in ath_cmn_process_fft() 579 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft() 580 ((sample_bytes > sample_len) && in ath_cmn_process_fft() 598 (sample_bytes >= sample_len) && in ath_cmn_process_fft() 599 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft() 613 sample_bytes); in ath_cmn_process_fft() 621 sample_bytes); in ath_cmn_process_fft() 640 if (sample_bytes == sample_len) { in ath_cmn_process_fft() [all …]
|
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/stlplus/portability/ |
H A D | portability_fixes.cpp | 35 char* sample_bytes = (char*)&sample; in little_endian() local 36 return sample_bytes[0] != 0; in little_endian()
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/stlplus3/filesystemSimplified/ |
H A D | portability_fixes.cpp | 35 char* sample_bytes = (char*)&sample; in little_endian() local 36 return sample_bytes[0] != 0; in little_endian()
|
/dports/games/qudos/QuDos-0.40.1-src/src/unix/ |
H A D | snd_alsa.c | 44 static int sample_bytes; variable 204 sample_bytes = si->dma->samplebits / 8; in SNDDMA_Init() 205 buffer_bytes = buffer_size * si->dma->channels * sample_bytes; in SNDDMA_Init() 263 s = si->dma->samplepos * sample_bytes; in SNDDMA_Submit()
|
/dports/games/q2p/Q2P-0.2-2006-12-31/unix/ |
H A D | snd_alsa.c | 39 int sample_bytes, variable 187 sample_bytes = si->dma->samplebits / 8; in SNDDMA_Init() 188 buffer_bytes = buffer_size * si->dma->channels * sample_bytes; in SNDDMA_Init() 247 s = si->dma->samplepos * sample_bytes; in SNDDMA_Submit()
|
/dports/audio/p5-Audio-Scan/Audio-Scan-1.01/src/ |
H A D | dsf.c | 25 uint64_t chunk_size, total_size, metadata_offset, sample_count, sample_bytes; in get_dsf_metadata() local 92 sample_bytes = buffer_get_int64_le(&buf) - 12; in get_dsf_metadata() 97 my_hv_store( info, "audio_size", newSVuv(sample_bytes) ); in get_dsf_metadata()
|
/dports/graphics/optipng/optipng-0.7.7/src/pnmio/ |
H A D | pnmin.c | 306 unsigned char *sample_bytes, in pnm_fget_bytes() argument 351 sample_bytes[i++] = (unsigned char)((ch & mask) ? 0 : 1); in pnm_fget_bytes() 363 i = fread(sample_bytes, sample_size, num_samples, stream); in pnm_fget_bytes() 373 memset(sample_bytes + i, 0, sample_size * num_samples - i); in pnm_fget_bytes()
|
H A D | pnmio.h | 77 unsigned char *sample_bytes, 93 const unsigned char *sample_bytes,
|
H A D | pnmout.c | 189 const unsigned char *sample_bytes, in pnm_fput_bytes() argument 232 if (sample_bytes[i++] == 0) in pnm_fput_bytes() 247 i = fwrite(sample_bytes, sample_size, num_samples, stream); in pnm_fput_bytes()
|
/dports/multimedia/xporthdmv/xporthdmv-1.01/ |
H A D | xport.c | 880 sample_bytes = 2; 883 sample_bytes = 3; 886 sample_bytes = 3; 909 i += sample_bytes; 920 i += sample_bytes; 931 i += sample_bytes; 942 i += sample_bytes; 953 i += sample_bytes; 964 i += sample_bytes; 975 i += sample_bytes; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/graphics/ |
H A D | deferred_image_decoder.cc | 80 base::HistogramBase::Sample sample_bytes = in RecordByteSizeAndWhetherIncrementalDecode() local 88 jpeg_byte_size_incrementally_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode() 95 jpeg_byte_size_initially_fully_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode() 104 webp_byte_size_incrementally_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode() 111 webp_byte_size_initially_fully_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/ |
H A D | deferred_image_decoder.cc | 80 base::HistogramBase::Sample sample_bytes = in RecordByteSizeAndWhetherIncrementalDecode() local 88 jpeg_byte_size_incrementally_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode() 95 jpeg_byte_size_initially_fully_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode() 104 webp_byte_size_incrementally_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode() 111 webp_byte_size_initially_fully_decoded_histogram.Count(sample_bytes); in RecordByteSizeAndWhetherIncrementalDecode()
|
/dports/games/fkiss/fkiss-0.33/ |
H A D | sound.c | 104 int sample_bytes; /* byts per sample 1 or 2 */ member 137 sf->sample_bytes = (sf->sound_bits+7) / 8; 177 d = sf->sample_bytes * sf->sound_channels; 180 p0 += sf->sample_bytes - 1; 189 *p++ = *(p0 + sf->sample_bytes); 193 return (n / sf->sample_bytes); 222 if (sf->sample_bytes != 1)
|
/dports/devel/allegro5/allegro5-5.2.7.0/addons/audio/ |
H A D | dsound.cpp | 180 unsigned int sample_bytes; in _dsound_update() local 183 sample_bytes = samples * bytes_per_sample * ex_data->channels; in _dsound_update() 184 if (sample_bytes < block1_bytes) in _dsound_update() 185 block1_bytes = sample_bytes; in _dsound_update() 187 sample_bytes -= block1_bytes; in _dsound_update() 188 if (sample_bytes < block2_bytes) in _dsound_update() 189 block2_bytes = sample_bytes; in _dsound_update()
|