/external/flac/src/metaflac/ |
D | operations_shorthand_cuesheet.c | 33 static FLAC__bool import_cs_from(const char *filename, FLAC__StreamMetadata **cuesheet, const char … 34 static FLAC__bool export_cs_to(const char *filename, const FLAC__StreamMetadata *cuesheet, const ch… 39 FLAC__StreamMetadata *cuesheet = 0; in do_shorthand_operation__cuesheet() local 63 cuesheet = block; in do_shorthand_operation__cuesheet() 74 if(0 != cuesheet) { in do_shorthand_operation__cuesheet() 79 …ok = import_cs_from(filename, &cuesheet, operation->argument.import_cuesheet_from.filename, needs_… in do_shorthand_operation__cuesheet() 84 if(!FLAC__metadata_iterator_insert_block_after(iterator, cuesheet)) { in do_shorthand_operation__cuesheet() 86 FLAC__metadata_object_delete(cuesheet); in do_shorthand_operation__cuesheet() 93 if(0 == cuesheet) { in do_shorthand_operation__cuesheet() 98 ok = export_cs_to(filename, cuesheet, operation->argument.filename.value); in do_shorthand_operation__cuesheet() [all …]
|
/external/flac/test/ |
D | test_grabbag.sh | 23 PATH=../src/test_grabbag/cuesheet:$PATH 79 log=cuesheet.log 92 for cuesheet in $bad_cuesheets ; do 93 echo "NEGATIVE $cuesheet" | sed "s|${top_srcdir}/test/||" >> $log 2>&1 94 run_test_cuesheet $cuesheet $good_leadout 44100 cdda >> $log 2>&1 || exit_code=$? 98 cuesheet_pass1=${cuesheet}.1 99 cuesheet_pass2=${cuesheet}.2 106 for cuesheet in $good_cuesheets ; do 107 echo "POSITIVE $cuesheet" | sed "s|${top_srcdir}/test/||" >> $log 2>&1 108 run_test_cuesheet $cuesheet $good_leadout 44100 cdda >> $log 2>&1 [all …]
|
D | test_metaflac.sh | 289 run_metaflac --import-cuesheet-from="$cs_in" $flacfile 292 run_metaflac --export-cuesheet-to=$cs_out $flacfile 296 run_metaflac --import-cuesheet-from=$cs_out $flacfile 299 run_metaflac --export-cuesheet-to=$cs_out2 $flacfile
|
D | Makefile.am | 54 cuesheet.ok \
|
/external/flac/src/test_grabbag/cuesheet/ |
D | main.c | 38 FLAC__StreamMetadata *cuesheet; in do_cuesheet() local 52 …if(0 != (cuesheet = grabbag__cuesheet_parse(fin, &error_message, &last_line_read, sample_rate, is_… in do_cuesheet() 62 if(!FLAC__metadata_object_cuesheet_is_legal(cuesheet, is_cdda, &error_message)) { in do_cuesheet() 64 FLAC__metadata_object_delete(cuesheet); in do_cuesheet() 74 FLAC__metadata_object_delete(cuesheet); in do_cuesheet() 77 grabbag__cuesheet_emit(fout, cuesheet, "\"dummy.wav\" WAVE"); in do_cuesheet() 78 FLAC__metadata_object_delete(cuesheet); in do_cuesheet() 88 …if(0 != (cuesheet = grabbag__cuesheet_parse(fin, &error_message, &last_line_read, sample_rate, is_… in do_cuesheet() 98 if(!FLAC__metadata_object_cuesheet_is_legal(cuesheet, is_cdda, &error_message)) { in do_cuesheet() 100 FLAC__metadata_object_delete(cuesheet); in do_cuesheet() [all …]
|
/external/flac/src/test_libs_common/ |
D | metadata_utils.c | 444 FLAC__StreamMetadata *cuesheet, in mutils__init_metadata_blocks() argument 517 cuesheet->is_last = false; in mutils__init_metadata_blocks() 518 cuesheet->type = FLAC__METADATA_TYPE_CUESHEET; in mutils__init_metadata_blocks() 519 cuesheet->length = in mutils__init_metadata_blocks() 545 …memset(cuesheet->data.cue_sheet.media_catalog_number, 0, sizeof(cuesheet->data.cue_sheet.media_cat… in mutils__init_metadata_blocks() 546 cuesheet->data.cue_sheet.media_catalog_number[0] = 'j'; in mutils__init_metadata_blocks() 547 cuesheet->data.cue_sheet.media_catalog_number[1] = 'C'; in mutils__init_metadata_blocks() 548 cuesheet->data.cue_sheet.lead_in = 2 * 44100; in mutils__init_metadata_blocks() 549 cuesheet->data.cue_sheet.is_cd = true; in mutils__init_metadata_blocks() 550 cuesheet->data.cue_sheet.num_tracks = 3; in mutils__init_metadata_blocks() [all …]
|
/external/flac/src/test_libFLAC/ |
D | metadata_object.c | 505 FLAC__StreamMetadata *block, *blockcopy, *vorbiscomment, *cuesheet, *picture; in test_metadata_object() local 1619 cuesheet = FLAC__metadata_object_clone(block); in test_metadata_object() 1620 if(0 == cuesheet) { in test_metadata_object() 1624 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object() 1628 cs_resize_(cuesheet, 2); in test_metadata_object() 1629 …printf("testing FLAC__metadata_object_cuesheet_resize_tracks(grow to %u)...", cuesheet->data.cue_s… in test_metadata_object() 1630 if(!FLAC__metadata_object_cuesheet_resize_tracks(block, cuesheet->data.cue_sheet.num_tracks)) { in test_metadata_object() 1634 if(!mutils__compare_block(cuesheet, block)) in test_metadata_object() 1638 cs_resize_(cuesheet, 1); in test_metadata_object() 1639 …printf("testing FLAC__metadata_object_cuesheet_resize_tracks(shrink to %u)...", cuesheet->data.cue… in test_metadata_object() [all …]
|
D | metadata_manip.c | 519 FLAC__StreamMetadata streaminfo, vorbiscomment, *cuesheet, picture, padding; in generate_file_() local 554 if (0 == (cuesheet = FLAC__metadata_object_new(FLAC__METADATA_TYPE_CUESHEET))) in generate_file_() 556 cuesheet->is_last = false; in generate_file_() 557 …safe_strncpy(cuesheet->data.cue_sheet.media_catalog_number, "bogo-MCN", sizeof(cuesheet->data.cue_… in generate_file_() 558 cuesheet->data.cue_sheet.lead_in = 123; in generate_file_() 559 cuesheet->data.cue_sheet.is_cd = false; in generate_file_() 560 if (!FLAC__metadata_object_cuesheet_insert_blank_track(cuesheet, 0)) in generate_file_() 562 cuesheet->data.cue_sheet.tracks[0].number = 1; in generate_file_() 563 if (!FLAC__metadata_object_cuesheet_track_insert_blank_index(cuesheet, 0, 0)) in generate_file_() 602 metadata[n++] = cuesheet; in generate_file_() [all …]
|
/external/flac/src/flac/ |
D | utils.c | 135 static FLAC__uint64 local__find_closest_cue_(const FLAC__StreamMetadata_CueSheet *cuesheet, uint32_… in local__find_closest_cue_() argument 139 for(t = 0; t < (int)cuesheet->num_tracks; t++) in local__find_closest_cue_() 140 for(i = 0; i < (int)cuesheet->tracks[t].num_indices; i++) in local__find_closest_cue_() 141 …if(cuesheet->tracks[t].number > track || (cuesheet->tracks[t].number == track && cuesheet->tracks[… in local__find_closest_cue_() 142 return cuesheet->tracks[t].offset + cuesheet->tracks[t].indices[i].offset; in local__find_closest_cue_() 146 for(t = (int)cuesheet->num_tracks - 1; t >= 0; t--) in local__find_closest_cue_() 147 for(i = (int)cuesheet->tracks[t].num_indices - 1; i >= 0; i--) in local__find_closest_cue_() 148 …if(cuesheet->tracks[t].number < track || (cuesheet->tracks[t].number == track && cuesheet->tracks[… in local__find_closest_cue_() 149 return cuesheet->tracks[t].offset + cuesheet->tracks[t].indices[i].offset; in local__find_closest_cue_() 363 …utils__CueSpecification *cue_spec, const FLAC__StreamMetadata_CueSheet *cuesheet, FLAC__uint64 tot… in flac__utils_canonicalize_cue_specification() argument [all …]
|
D | encode.c | 143 …ested_seek_points, int num_requested_seek_points, FLAC__StreamMetadata *cuesheet, EncoderSession *… 156 static FLAC__bool parse_cuesheet(FLAC__StreamMetadata **cuesheet, const char *cuesheet_filename, co… 1717 FLAC__StreamMetadata *cuesheet; /* always needs to be deleted */ member 1725 m->cuesheet = 0; in static_metadata_init() 1738 if(m->cuesheet) in static_metadata_clear() 1739 FLAC__metadata_object_delete(m->cuesheet); in static_metadata_clear() 1797 …if(!parse_cuesheet(&static_metadata.cuesheet, options.cuesheet_filename, e->inbasefilename, sample… in EncoderSession_init_encoder() 1800 …ts, options.num_requested_seek_points, options.cued_seekpoints? static_metadata.cuesheet : 0, e)) { in EncoderSession_init_encoder() 1880 …_data->metadata_blocks[i]->type == FLAC__METADATA_TYPE_CUESHEET && 0 == static_metadata.cuesheet) { in EncoderSession_init_encoder() 1899 …e == FLAC__METADATA_TYPE_CUESHEET && (existing_cuesheet_is_bad || 0 != static_metadata.cuesheet)) { in EncoderSession_init_encoder() [all …]
|
D | utils.h | 68 …utils__CueSpecification *cue_spec, const FLAC__StreamMetadata_CueSheet *cuesheet, FLAC__uint64 tot…
|
/external/flac/src/share/grabbag/ |
D | cuesheet.c | 243 …t char **error_message, uint32_t *last_line_read, FLAC__StreamMetadata *cuesheet, uint32_t sample_… in local__cuesheet_parse_() argument 250 FLAC__StreamMetadata_CueSheet *cs = &cuesheet->data.cue_sheet; in local__cuesheet_parse_() 390 …if(!FLAC__metadata_object_cuesheet_track_insert_blank_index(cuesheet, cs->num_tracks-1, track->num… in local__cuesheet_parse_() 481 if(!FLAC__metadata_object_cuesheet_insert_blank_track(cuesheet, cs->num_tracks)) { in local__cuesheet_parse_() 576 if(!FLAC__metadata_object_cuesheet_insert_blank_track(cuesheet, cs->num_tracks)) { in local__cuesheet_parse_() 592 FLAC__StreamMetadata *cuesheet; in grabbag__cuesheet_parse() local 599 cuesheet = FLAC__metadata_object_new(FLAC__METADATA_TYPE_CUESHEET); in grabbag__cuesheet_parse() 601 if(0 == cuesheet) { in grabbag__cuesheet_parse() 606 …if(!local__cuesheet_parse_(file, error_message, last_line_read, cuesheet, sample_rate, is_cdda, le… in grabbag__cuesheet_parse() 607 FLAC__metadata_object_delete(cuesheet); in grabbag__cuesheet_parse() [all …]
|
D | CMakeLists.txt | 3 cuesheet.c
|
D | Makefile.lite | 21 cuesheet.c \
|
/external/flac/src/test_grabbag/ |
D | Makefile.lite | 19 .PHONY: cuesheet picture 20 all: cuesheet picture 34 cuesheet: 40 -(cd cuesheet ; $(MAKE) -f Makefile.lite clean)
|
D | CMakeLists.txt | 1 add_subdirectory(cuesheet)
|
D | Makefile.am | 19 SUBDIRS = cuesheet picture subdir
|
/external/flac/ |
D | .gitignore | 52 src/test_grabbag/cuesheet/test_cuesheet 70 test/cuesheet.diff 71 test/cuesheet.log
|
/external/flac/include/test_libs_common/ |
D | metadata_utils.h | 54 FLAC__StreamMetadata *cuesheet, 66 FLAC__StreamMetadata *cuesheet,
|
/external/flac/src/test_libFLAC++/ |
D | metadata_manip.cpp | 505 ::FLAC__StreamMetadata streaminfo, vorbiscomment, *cuesheet, picture, padding; in generate_file_() 540 if (0 == (cuesheet = ::FLAC__metadata_object_new(::FLAC__METADATA_TYPE_CUESHEET))) in generate_file_() 542 cuesheet->is_last = false; in generate_file_() 543 …safe_strncpy(cuesheet->data.cue_sheet.media_catalog_number, "bogo-MCN", sizeof(cuesheet->data.cue_… in generate_file_() 544 cuesheet->data.cue_sheet.lead_in = 123; in generate_file_() 545 cuesheet->data.cue_sheet.is_cd = false; in generate_file_() 546 if (!FLAC__metadata_object_cuesheet_insert_blank_track(cuesheet, 0)) in generate_file_() 548 cuesheet->data.cue_sheet.tracks[0].number = 1; in generate_file_() 549 if (!FLAC__metadata_object_cuesheet_track_insert_blank_index(cuesheet, 0, 0)) in generate_file_() 588 metadata[n++] = cuesheet; in generate_file_() [all …]
|
/external/flac/include/share/grabbag/ |
D | Makefile.am | 4 cuesheet.h \
|
D | cuesheet.h | 37 void grabbag__cuesheet_emit(FILE *file, const FLAC__StreamMetadata *cuesheet, const char *file_refe…
|
/external/flac/src/libFLAC++/ |
D | metadata.cpp | 102 const CueSheet *cuesheet = dynamic_cast<const CueSheet *>(object); in clone() local 116 if(0 != cuesheet) in clone() 117 return new CueSheet(*cuesheet); in clone() 1378 FLACPP_API bool get_cuesheet(const char *filename, CueSheet *&cuesheet) in get_cuesheet() argument 1384 cuesheet = 0; in get_cuesheet() 1387 cuesheet = new CueSheet(object, /*copy=*/false); in get_cuesheet() 1394 FLACPP_API bool get_cuesheet(const char *filename, CueSheet &cuesheet) in get_cuesheet() argument 1401 cuesheet.assign(object, /*copy=*/false); in get_cuesheet()
|
/external/flac/man/ |
D | metaflac.sgml | 263 to store a cuesheet in a tag (e.g. 293 <term><option>--import-cuesheet-from=file</option></term> 296 Import a cuesheet from a file. Use '-' for stdin. Only one 298 index point in the cuesheet to the SEEKTABLE unless 304 <term><option>--export-cuesheet-to=file</option></term> 307 Export CUESHEET block to a cuesheet file, suitable for use by
|
/external/flac/src/share/ |
D | Makefile.am | 82 grabbag/cuesheet.c \
|