/dports/multimedia/libv4l/linux-5.13-rc2/fs/iomap/ |
H A D | buffered-io.c | 1270 if (wpc->iomap.type != wpc->ioend->io_type) in iomap_can_add_to_ioend() 1272 if (offset != wpc->ioend->io_offset + wpc->ioend->io_size) in iomap_can_add_to_ioend() 1294 if (wpc->ioend) in iomap_add_to_ioend() 1296 wpc->ioend = iomap_alloc_ioend(inode, wpc, offset, sector, wbc); in iomap_add_to_ioend() 1358 error = wpc->ops->map_blocks(wpc, inode, file_offset); in iomap_writepage_map() 1538 wpc->ops = ops; in iomap_writepage() 1540 if (!wpc->ioend) in iomap_writepage() 1542 return iomap_submit_ioend(wpc, wpc->ioend, ret); in iomap_writepage() 1553 wpc->ops = ops; in iomap_writepages() 1555 if (!wpc->ioend) in iomap_writepages() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/iomap/ |
H A D | buffered-io.c | 1270 if (wpc->iomap.type != wpc->ioend->io_type) in iomap_can_add_to_ioend() 1272 if (offset != wpc->ioend->io_offset + wpc->ioend->io_size) in iomap_can_add_to_ioend() 1294 if (wpc->ioend) in iomap_add_to_ioend() 1296 wpc->ioend = iomap_alloc_ioend(inode, wpc, offset, sector, wbc); in iomap_add_to_ioend() 1358 error = wpc->ops->map_blocks(wpc, inode, file_offset); in iomap_writepage_map() 1538 wpc->ops = ops; in iomap_writepage() 1540 if (!wpc->ioend) in iomap_writepage() 1542 return iomap_submit_ioend(wpc, wpc->ioend, ret); in iomap_writepage() 1553 wpc->ops = ops; in iomap_writepages() 1555 if (!wpc->ioend) in iomap_writepages() [all …]
|
/dports/audio/wavpack/wavpack-5.4.0/src/ |
H A D | extra1.c | 229 WavpackStream *wps = wpc->streams [wpc->current_stream]; in recurse_mono() 298 WavpackStream *wps = wpc->streams [wpc->current_stream]; in delta_mono() 362 WavpackStream *wps = wpc->streams [wpc->current_stream]; in sort_mono() 413 WavpackStream *wps = wpc->streams [wpc->current_stream]; in analyze_mono() 427 wpc->config.extra_flags = xtable [wpc->config.xmode - 4]; in analyze_mono() 429 wpc->config.extra_flags = xtable [wpc->config.xmode - 3]; in analyze_mono() 451 sort_mono (wpc, &info); in analyze_mono() 454 delta_mono (wpc, &info); in analyze_mono() 463 sort_mono (wpc, &info); in analyze_mono() 524 WavpackStream *wps = wpc->streams [wpc->current_stream]; in execute_mono() [all …]
|
H A D | extra2.c | 388 WavpackStream *wps = wpc->streams [wpc->current_stream]; in recurse_stereo() 461 WavpackStream *wps = wpc->streams [wpc->current_stream]; in delta_stereo() 526 WavpackStream *wps = wpc->streams [wpc->current_stream]; in sort_stereo() 577 WavpackStream *wps = wpc->streams [wpc->current_stream]; in analyze_stereo() 591 wpc->config.extra_flags = xtable [wpc->config.xmode - 4]; in analyze_stereo() 593 wpc->config.extra_flags = xtable [wpc->config.xmode - 3]; in analyze_stereo() 615 sort_stereo (wpc, &info); in analyze_stereo() 618 delta_stereo (wpc, &info); in analyze_stereo() 627 sort_stereo (wpc, &info); in analyze_stereo() 706 WavpackStream *wps = wpc->streams [wpc->current_stream]; in execute_stereo() [all …]
|
H A D | pack_dsd.c | 26 void pack_dsd_init (WavpackContext *wpc) in pack_dsd_init() argument 28 WavpackStream *wps = wpc->streams [wpc->current_stream]; in pack_dsd_init() 58 WavpackStream *wps = wpc->streams [wpc->current_stream]; in pack_dsd_block() 89 if (wpc->metacount) { in pack_dsd_block() 90 WavpackMetadata *wpmdp = wpc->metadata; in pack_dsd_block() 92 while (wpc->metacount) { in pack_dsd_block() 96 wpc->metacount--; in pack_dsd_block() 99 free (wpc->metadata); in pack_dsd_block() 100 wpc->metadata = NULL; in pack_dsd_block() 106 send_general_metadata (wpc); in pack_dsd_block() [all …]
|
H A D | pack_dns.c | 24 void dynamic_noise_shaping (WavpackContext *wpc, int32_t *buffer, int shortening_allowed) in dynamic_noise_shaping() argument 26 WavpackStream *wps = wpc->streams [wpc->current_stream]; in dynamic_noise_shaping() 86 if (wpc->wvc_flag) { in dynamic_noise_shaping() 87 int max_allowed_error = 1000000 / wpc->ave_block_samples; in dynamic_noise_shaping() 129 (double) wps->sample_index / wpc->config.sample_rate, sample_count, max_error, in dynamic_noise_shaping() 136 if (wpc->wvc_flag) { in dynamic_noise_shaping()
|
H A D | unpack3.c | 300 bs_open_read3 (&wps->wvbits, wpc->reader, wpc->wv_in); in unpack_samples3() 302 if (wpc->wvc_flag) in unpack_samples3() 303 bs_open_read3 (&wps->wvcbits, wpc->reader, wpc->wvc_in); in unpack_samples3() 1174 wpc->crc_errors++; in unpack_samples3() 1181 …wpc->wrapper_data = (unsigned char *)realloc (wpc->wrapper_data, wpc->wrapper_bytes + bs_unused_by… in unpack_samples3() 1187 bcount = wpc->reader->read_bytes (wpc->wv_in, temp, 1024); in unpack_samples3() 1192 … wpc->wrapper_data = (unsigned char *)realloc (wpc->wrapper_data, wpc->wrapper_bytes + bcount); in unpack_samples3() 1193 memcpy (wpc->wrapper_data + wpc->wrapper_bytes, temp, bcount); in unpack_samples3() 1199 if (wpc->wrapper_bytes > 16) { in unpack_samples3() 1205 memmove (wpc->wrapper_data, wpc->wrapper_data + 16, wpc->wrapper_bytes - 16); in unpack_samples3() [all …]
|
H A D | unpack3_seek.c | 30 int seek_sample3 (WavpackContext *wpc, uint32_t desired_index) in seek_sample3() argument 32 int points_index = desired_index / (((uint32_t) wpc->total_samples >> 8) + 1); in seek_sample3() 33 WavpackStream3 *wps = (WavpackStream3 *) wpc->stream3; in seek_sample3() 35 if (desired_index >= wpc->total_samples) in seek_sample3() 58 if (unpack_samples3 (wpc, buffer, 1024) == 1024) in seek_sample3() 64 samples_to_skip -= unpack_samples3 (wpc, buffer, samples_to_skip); in seek_sample3()
|
/dports/audio/aqualung/aqualung-1.0/src/decoder/ |
H A D | dec_wavpack.c | 51 pd->last_decoded_samples = WavpackUnpackSamples(pd->wpc, buffer, in decode_wavpack() 55 if (WavpackGetMode (pd->wpc) & MODE_FLOAT) { in decode_wavpack() 146 pd->wpc = WavpackOpenFileInput(filename, pd->error, pd->flags, 0); in wavpack_decoder_open() 149 if (pd->wpc != NULL) { in wavpack_decoder_open() 150 fdec->fileinfo.channels = WavpackGetReducedChannels(pd->wpc); in wavpack_decoder_open() 151 fdec->fileinfo.sample_rate = WavpackGetSampleRate(pd->wpc); in wavpack_decoder_open() 152 fdec->fileinfo.total_samples = WavpackGetNumSamples(pd->wpc); in wavpack_decoder_open() 155 pd->bits_per_sample = WavpackGetBitsPerSample(pd->wpc); in wavpack_decoder_open() 164 if (WavpackGetMode (pd->wpc) & MODE_FLOAT) { in wavpack_decoder_open() 195 WavpackCloseFile(pd->wpc); in wavpack_decoder_close() [all …]
|
/dports/audio/wavpack/wavpack-5.4.0/cli/ |
H A D | riff.c | 78 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseRiffHeaderConfig() 92 !WavpackAddWrapper (wpc, &chunk_header, sizeof (ChunkHeader))) { in ParseRiffHeaderConfig() 93 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseRiffHeaderConfig() 107 !WavpackAddWrapper (wpc, &ds64_chunk, sizeof (DS64Chunk))) { in ParseRiffHeaderConfig() 108 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseRiffHeaderConfig() 131 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseRiffHeaderConfig() 152 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseRiffHeaderConfig() 314 !WavpackAddWrapper (wpc, buff, bytes_to_copy))) { in ParseRiffHeaderConfig() 315 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseRiffHeaderConfig() 324 if (!WavpackSetConfiguration64 (wpc, config, total_samples, NULL)) { in ParseRiffHeaderConfig() [all …]
|
H A D | import_id3.c | 67 static int ImportID3v2_syncsafe (WavpackContext *wpc, unsigned char *tag_data, int tag_size, char *… in ImportID3v2_syncsafe() argument 236 …if (wpc && !WavpackAppendTagItem (wpc, (char *) utf8_strings [0], (char *) utf8_strings [1], (int)… in ImportID3v2_syncsafe() 237 strcpy (error, WavpackGetErrorMessage (wpc)); in ImportID3v2_syncsafe() 247 …if (wpc && !WavpackAppendTagItem (wpc, text_tag_table [i].ape_item, (char *) utf8_strings [0], (in… in ImportID3v2_syncsafe() 248 strcpy (error, WavpackGetErrorMessage (wpc)); in ImportID3v2_syncsafe() 327 … if (wpc && !WavpackAppendBinaryTagItem (wpc, item, binary_tag_image, binary_tag_size)) { in ImportID3v2_syncsafe() 328 strcpy (error, WavpackGetErrorMessage (wpc)); in ImportID3v2_syncsafe() 349 int ImportID3v2 (WavpackContext *wpc, unsigned char *tag_data, int tag_size, char *error, int32_t *… in ImportID3v2() argument 377 return wpc ? ImportID3v2_syncsafe (wpc, tag_data, tag_size, error, bytes_used, 0) : res; in ImportID3v2() 382 return wpc ? ImportID3v2_syncsafe (wpc, tag_data, tag_size, error, bytes_used, 1) : res_ss; in ImportID3v2()
|
H A D | dsdiff.c | 88 !WavpackAddWrapper (wpc, &dff_file_header, sizeof (DFFFileHeader))) { in ParseDsdiffHeaderConfig() 89 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 117 !WavpackAddWrapper (wpc, &dff_chunk_header, sizeof (DFFChunkHeader))) { in ParseDsdiffHeaderConfig() 118 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 137 !WavpackAddWrapper (wpc, &version, sizeof (version))) { in ParseDsdiffHeaderConfig() 138 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 168 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 303 !WavpackAddWrapper (wpc, buff, bytes_to_copy))) { in ParseDsdiffHeaderConfig() 304 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 316 if (!WavpackSetConfiguration64 (wpc, config, total_samples, NULL)) { in ParseDsdiffHeaderConfig() [all …]
|
H A D | wave64_write.c | 42 int WriteWave64Header (FILE *outfile, WavpackContext *wpc, int64_t total_samples, int qmode) 50 int num_channels = WavpackGetNumChannels (wpc); 51 int32_t channel_mask = WavpackGetChannelMask (wpc); 52 int32_t sample_rate = WavpackGetSampleRate (wpc); 53 int bytes_per_sample = WavpackGetBytesPerSample (wpc); 54 int bits_per_sample = WavpackGetBitsPerSample (wpc); 55 int format = WavpackGetFloatNormExp (wpc) ? 3 : 1; 58 if (format == 3 && WavpackGetFloatNormExp (wpc) != 127) {
|
H A D | dsf.c | 60 int ParseDsfHeaderConfig (FILE *infile, char *infilename, char *fourcc, WavpackContext *wpc, Wavpac… in ParseDsfHeaderConfig() argument 78 !WavpackAddWrapper (wpc, &file_chunk, sizeof (DSFFileChunk))) { in ParseDsfHeaderConfig() 79 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsfHeaderConfig() 107 !WavpackAddWrapper (wpc, &format_chunk, sizeof (DSFFormatChunk))) { in ParseDsfHeaderConfig() 108 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsfHeaderConfig() 136 !WavpackAddWrapper (wpc, &chunk_header, sizeof (DSFChunkHeader))) { in ParseDsfHeaderConfig() 137 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsfHeaderConfig() 173 if (!WavpackSetConfiguration64 (wpc, config, (total_samples + 7) / 8, NULL)) { in ParseDsfHeaderConfig() 174 error_line ("%s: %s", infilename, WavpackGetErrorMessage (wpc)); in ParseDsfHeaderConfig()
|
H A D | wave64.c | 46 int ParseWave64HeaderConfig (FILE *infile, char *infilename, char *fourcc, WavpackContext *wpc, Wav… in ParseWave64HeaderConfig() argument 66 !WavpackAddWrapper (wpc, &filehdr, sizeof (filehdr))) { in ParseWave64HeaderConfig() 67 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseWave64HeaderConfig() 91 !WavpackAddWrapper (wpc, &chunk_header, sizeof (Wave64ChunkHeader))) { in ParseWave64HeaderConfig() 92 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseWave64HeaderConfig() 119 !WavpackAddWrapper (wpc, &WaveHeader, (uint32_t) chunk_header.ckSize)) { in ParseWave64HeaderConfig() 120 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseWave64HeaderConfig() 269 !WavpackAddWrapper (wpc, buff, bytes_to_copy))) { in ParseWave64HeaderConfig() 270 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseWave64HeaderConfig() 279 if (!WavpackSetConfiguration64 (wpc, config, total_samples, NULL)) { in ParseWave64HeaderConfig() [all …]
|
H A D | caff.c | 170 !WavpackAddWrapper (wpc, &caf_file_header, sizeof (CAFFileHeader))) { in ParseCaffHeaderConfig() 171 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseCaffHeaderConfig() 193 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseCaffHeaderConfig() 213 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseCaffHeaderConfig() 296 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseCaffHeaderConfig() 465 !WavpackAddWrapper (wpc, &mEditCount, sizeof (mEditCount))) { in ParseCaffHeaderConfig() 466 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseCaffHeaderConfig() 529 !WavpackAddWrapper (wpc, buff, bytes_to_copy))) { in ParseCaffHeaderConfig() 530 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseCaffHeaderConfig() 543 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseCaffHeaderConfig() [all …]
|
H A D | caff_write.c | 79 int WriteCaffHeader (FILE *outfile, WavpackContext *wpc, int64_t total_samples, int qmode) in WriteCaffHeader() argument 87 int num_channels = WavpackGetNumChannels (wpc); in WriteCaffHeader() 88 int32_t channel_mask = WavpackGetChannelMask (wpc); in WriteCaffHeader() 89 int32_t sample_rate = WavpackGetSampleRate (wpc); in WriteCaffHeader() 90 int bytes_per_sample = WavpackGetBytesPerSample (wpc); in WriteCaffHeader() 91 int bits_per_sample = WavpackGetBitsPerSample (wpc); in WriteCaffHeader() 92 int float_norm_exp = WavpackGetFloatNormExp (wpc); in WriteCaffHeader() 93 uint32_t channel_layout_tag = WavpackGetChannelLayout (wpc, NULL); in WriteCaffHeader() 105 WavpackGetChannelIdentities (wpc, channel_identities); in WriteCaffHeader() 213 WavpackGetChannelLayout (wpc, new_channel_order); in WriteCaffHeader()
|
H A D | riff_write.c | 46 int WriteRiffHeader (FILE *outfile, WavpackContext *wpc, int64_t total_samples, int qmode) in WriteRiffHeader() argument 58 int num_channels = WavpackGetNumChannels (wpc); in WriteRiffHeader() 59 int32_t channel_mask = WavpackGetChannelMask (wpc); in WriteRiffHeader() 60 int32_t sample_rate = WavpackGetSampleRate (wpc); in WriteRiffHeader() 61 int bytes_per_sample = WavpackGetBytesPerSample (wpc); in WriteRiffHeader() 62 int bits_per_sample = WavpackGetBitsPerSample (wpc); in WriteRiffHeader() 63 int format = WavpackGetFloatNormExp (wpc) ? 3 : 1; in WriteRiffHeader() 66 if (format == 3 && WavpackGetFloatNormExp (wpc) != 127) { in WriteRiffHeader()
|
H A D | wvtest.c | 306 if (!wpc) { in seeking_test() 313 bps = WavpackGetBytesPerSample (wpc); in seeking_test() 314 qmode = WavpackGetQualifyMode (wpc); in seeking_test() 366 if (WavpackGetNumErrors (wpc)) { in seeking_test() 420 WavpackCloseFile (wpc); in seeking_test() 423 if (!wpc) { in seeking_test() 495 if (!WavpackSeekSample (wpc, 0)) { in seeking_test() 504 WavpackCloseFile (wpc); in seeking_test() 1007 if (!wpc) { in decode_thread() 1015 bps = WavpackGetBytesPerSample (wpc); in decode_thread() [all …]
|
H A D | dsf_write.c | 56 int WriteDsfHeader (FILE *outfile, WavpackContext *wpc, int64_t total_samples, int qmode) in WriteDsfHeader() argument 58 uint32_t chan_mask = WavpackGetChannelMask (wpc), chan_type = 0; in WriteDsfHeader() 59 int num_channels = WavpackGetNumChannels (wpc); in WriteDsfHeader() 101 format_chunk.sampleRate = WavpackGetSampleRate (wpc) * 8; in WriteDsfHeader()
|
/dports/security/hashcat/hashcat-6.2.5/OpenCL/ |
H A D | m01800-optimized.cl | 417 block[ 0] = wpc[pc][ 0]; 418 block[ 1] = wpc[pc][ 1]; 419 block[ 2] = wpc[pc][ 2]; 420 block[ 3] = wpc[pc][ 3]; 421 block[ 4] = wpc[pc][ 4]; 422 block[ 5] = wpc[pc][ 5]; 423 block[ 6] = wpc[pc][ 6]; 424 block[ 7] = wpc[pc][ 7]; 425 block[ 8] = wpc[pc][ 8]; 426 block[ 9] = wpc[pc][ 9]; [all …]
|
/dports/devel/cppcheck/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-1010315/ |
H A D | dsdiff.c | 97 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 126 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 146 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 176 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 305 !WavpackAddWrapper (wpc, buff, bytes_to_copy))) { in ParseDsdiffHeaderConfig() 306 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 318 if (!WavpackSetConfiguration64 (wpc, config, total_samples, NULL)) { in ParseDsdiffHeaderConfig() 319 error_line ("%s: %s", infilename, WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 328 uint32_t chan_mask = WavpackGetChannelMask (wpc); in WriteDsdiffHeader() 329 int num_channels = WavpackGetNumChannels (wpc); in WriteDsdiffHeader() [all …]
|
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/bug-hunting/cve/CVE-2019-1010315/ |
H A D | dsdiff.c | 97 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 126 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 146 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 176 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 305 !WavpackAddWrapper (wpc, buff, bytes_to_copy))) { in ParseDsdiffHeaderConfig() 306 error_line ("%s", WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 318 if (!WavpackSetConfiguration64 (wpc, config, total_samples, NULL)) { in ParseDsdiffHeaderConfig() 319 error_line ("%s: %s", infilename, WavpackGetErrorMessage (wpc)); in ParseDsdiffHeaderConfig() 328 uint32_t chan_mask = WavpackGetChannelMask (wpc); in WriteDsdiffHeader() 329 int num_channels = WavpackGetNumChannels (wpc); in WriteDsdiffHeader() [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | 3dROIstats.c | 171 char wpc[2] = {""}; in main() local 326 wpc[0] = 'w'; wpc[1] = '\0'; in main() 645 fprintf(stdout, "\t%sFA_%s ",wpc,sklab); in main() 646 fprintf(stdout, "\t%sMD_%s ",wpc,sklab); in main() 647 fprintf(stdout, "\t%sCl_%s ",wpc,sklab); in main() 648 fprintf(stdout, "\t%sCp_%s ",wpc,sklab); in main() 649 fprintf(stdout, "\t%sCs_%s ",wpc,sklab); in main() 719 fprintf(stdout, "\t%sFA_%s ", wpc,sklab); in main() 720 fprintf(stdout, "\t%sMD_%s ", wpc,sklab); in main() 721 fprintf(stdout, "\t%sCl_%s ", wpc,sklab); in main() [all …]
|
/dports/math/R-cran-psych/psych/R/ |
H A D | kappa.R | 26 wpc <- sum(weighted.prob) functionVar 27 wkappa <- (wpo-wpc)/(1-wpc) 98 wpc <- sum(weighted.prob) functionVar 104 Varkw <- (1/(tot*(1-wpc)^4))* (sum(x * (w * (1-wpc)- (colw %+% t(roww ))*(1-wpo))^2 ) -(wpo*wpc -… 105 if(tr(w) > 0) {wkappa <- (wpo-wpc)/(1-wpc) } else { wkappa <- 1- wpo/wpc}
|