Searched refs:coding_history (Results 1 - 11 of 11) sorted by relevance
/third_party/libsnd/src/ |
H A D | broadcast.c | 36 return offsetof (SF_BROADCAST_INFO, coding_history) + info->coding_history_size ; in bc_min_size() 69 memcpy (psf->broadcast_16k, info, offsetof (SF_BROADCAST_INFO, coding_history)) ; in broadcast_var_set() 71 psf_strlcpy_crlf (psf->broadcast_16k->coding_history, info->coding_history, sizeof (psf->broadcast_16k->coding_history), datasize - offsetof (SF_BROADCAST_INFO, coding_history)) ; in broadcast_var_set() 72 len = strlen (psf->broadcast_16k->coding_history) ; in broadcast_var_set() 74 if (len > 0 && psf->broadcast_16k->coding_history [len - 1] != '\n') in broadcast_var_set() 75 psf_strlcat (psf->broadcast_16k->coding_history, sizeof (psf->broadcast_16k->coding_history), "\ in broadcast_var_set() [all...] |
H A D | test_broadcast_var.c | 52 bi->coding_history [0] = 0 ; in fill_coding_history() 54 for (k = 0 ; strlen (bi->coding_history) < bi->coding_history_size - 1 ; k ++) in fill_coding_history() 55 append_snprintf (bi->coding_history, bi->coding_history_size, "%s\n", lines [k % ARRAY_LEN (lines)]) ; in fill_coding_history()
|
H A D | wavlike.c | 793 bytes += psf_binheader_readf (psf, "b", BHWv (b->coding_history), BHWz (b->coding_history_size)) ; in wavlike_read_bext_chunk() 830 psf_binheader_writef (psf, "b", BHWv (b->coding_history), BHWz (b->coding_history_size)) ; in wavlike_write_bext_chunk()
|
/third_party/libsnd/programs/ |
H A D | common.c | 178 /* Special case for coding_history because we may want to append. */ in merge_broadcast_info() 179 if (info->coding_history != NULL) in merge_broadcast_info() 181 { int slen = (int) strlen (binfo.coding_history) ; in merge_broadcast_info() 183 while (slen > 1 && isspace (binfo.coding_history [slen - 1])) in merge_broadcast_info() 186 memcpy (binfo.coding_history + slen, info->coding_history, sizeof (binfo.coding_history) - slen) ; in merge_broadcast_info() 189 { size_t slen = MIN (strlen (info->coding_history), sizeof (binfo.coding_history)) ; in merge_broadcast_info() 191 memset (binfo.coding_history, in merge_broadcast_info() [all...] |
H A D | sndfile-metadata-set.c | 108 HANDLE_BEXT_ARG ("--bext-coding-hist", coding_history) ; in main() 173 if (info.coding_history != NULL && filenames [1] == NULL) in main() 266 if (info->origination_date || info->origination_time || info->umid || info->coding_history || info->time_ref) in has_bext_fields_set()
|
H A D | common.h | 62 const char * coding_history ; member
|
H A D | sndfile-metadata-get.c | 179 HANDLE_BEXT_ARG ("--bext-coding-hist", "Coding history", coding_history) ; in process_args()
|
H A D | sndfile-info.c | 390 printf ("Coding history : %.*s\n", bext.coding_history_size, bext.coding_history) ; in broadcast_dump()
|
/third_party/libsnd/tests/ |
H A D | command_test.c | 91 printf (" bextch - test set/get of SF_BROADCAST_INFO coding_history.\n") ; in main() 191 { broadcast_coding_history_test ("coding_history.wav") ; in main() 1245 bc_write.coding_history_size = snprintf (bc_write.coding_history, sizeof (bc_write.coding_history), "This has\nUnix\nand\rMac OS9\rline endings.\nLast line") ; ; in check_coding_history_newlines() 1271 if (strstr (bc_read.coding_history, "Last line") == NULL) in check_coding_history_newlines() 1277 { if (bc_read.coding_history [k] == '\n' && bc_read.coding_history [k - 1] != '\r') in check_coding_history_newlines() 1282 if (bc_read.coding_history [k] == '\r' && bc_read.coding_history [k + 1] != '\n') in check_coding_history_newlines() 1287 if (bc_read.coding_history [ in check_coding_history_newlines() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | wavdec.c | 261 char temp[131], *coding_history; in wav_parse_bext_tag() local 315 if (!(coding_history = av_malloc(size + 1))) in wav_parse_bext_tag() 318 if ((ret = ffio_read_size(s->pb, coding_history, size)) < 0) { in wav_parse_bext_tag() 319 av_free(coding_history); in wav_parse_bext_tag() 323 coding_history[size] = 0; in wav_parse_bext_tag() 324 if ((ret = av_dict_set(&s->metadata, "coding_history", coding_history, in wav_parse_bext_tag()
|
/third_party/libsnd/include/ |
H A D | sndfile.h | 530 char coding_history [coding_hist_size] ; \ 533 /* SF_BROADCAST_INFO is the above struct with coding_history field of 256 bytes. */
|
Completed in 10 milliseconds