Home
last modified time | relevance | path

Searched refs:vorbis_comment (Results 1 – 25 of 36) sorted by relevance

12

/external/tremolo/Tremolo/
Divorbiscodec.h79 typedef struct vorbis_comment{ struct
85 } vorbis_comment; argument
93 extern void vorbis_comment_init(vorbis_comment *vc);
94 extern void vorbis_comment_add(vorbis_comment *vc, char *comment);
95 extern void vorbis_comment_add_tag(vorbis_comment *vc,
97 extern char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count);
98 extern int vorbis_comment_query_count(vorbis_comment *vc, char *tag);
99 extern void vorbis_comment_clear(vorbis_comment *vc);
Dtreminfo.c58 void vorbis_comment_init(vorbis_comment *vc){ in vorbis_comment_init()
74 char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count){ in vorbis_comment_query()
95 int vorbis_comment_query_count(vorbis_comment *vc, char *tag){ in vorbis_comment_query_count()
110 void vorbis_comment_clear(vorbis_comment *vc){ in vorbis_comment_clear()
216 int _vorbis_unpack_comment(vorbis_comment *vc,oggpack_buffer *opb){ in _vorbis_unpack_comment()
340 int vorbis_dsp_headerin(vorbis_info *vi,vorbis_comment *vc,ogg_packet *op){ in vorbis_dsp_headerin()
Divorbisfile.h81 vorbis_comment vc;
131 extern vorbis_comment *ov_comment(OggVorbis_File *vf,int link);
Dcodec_internal.h222 extern int vorbis_dsp_headerin(vorbis_info *vi,vorbis_comment *vc,
/external/flac/src/libFLAC/
Dmetadata_object.c199 object->length += object->data.vorbis_comment.vendor_string.length; in vorbiscomment_calculate_length_()
201 for (i = 0; i < object->data.vorbis_comment.num_comments; i++) { in vorbiscomment_calculate_length_()
203 object->length += object->data.vorbis_comment.comments[i].length; in vorbiscomment_calculate_length_()
302 for (i = offset; i < object->data.vorbis_comment.num_comments; i++) { in vorbiscomment_find_entry_from_()
303 …if (FLAC__metadata_object_vorbiscomment_entry_matches(object->data.vorbis_comment.comments[i], fie… in vorbiscomment_find_entry_from_()
464 object->data.vorbis_comment.vendor_string.length = (uint32_t)strlen(FLAC__VENDOR_STRING); in FLAC__metadata_object_new()
465 …opy_bytes_(&object->data.vorbis_comment.vendor_string.entry, (const FLAC__byte*)FLAC__VENDOR_STRIN… in FLAC__metadata_object_new()
559 if (to->data.vorbis_comment.vendor_string.entry != NULL) { in FLAC__metadata_object_clone()
560 free(to->data.vorbis_comment.vendor_string.entry); in FLAC__metadata_object_clone()
561 to->data.vorbis_comment.vendor_string.entry = 0; in FLAC__metadata_object_clone()
[all …]
Dstream_encoder_framing.c63 …FLAC__ASSERT(metadata->data.vorbis_comment.vendor_string.length == 0 || 0 != metadata->data.vorbis… in FLAC__add_metadata_block()
64 i -= metadata->data.vorbis_comment.vendor_string.length; in FLAC__add_metadata_block()
130 …if(!FLAC__bitwriter_write_raw_uint32_little_endian(bw, metadata->data.vorbis_comment.num_comments)) in FLAC__add_metadata_block()
132 for(i = 0; i < metadata->data.vorbis_comment.num_comments; i++) { in FLAC__add_metadata_block()
133 …if(!FLAC__bitwriter_write_raw_uint32_little_endian(bw, metadata->data.vorbis_comment.comments[i].l… in FLAC__add_metadata_block()
135 …itwriter_write_byte_block(bw, metadata->data.vorbis_comment.comments[i].entry, metadata->data.vorb… in FLAC__add_metadata_block()
/external/flac/src/test_libFLAC/
Dmetadata_object.c169 const FLAC__StreamMetadata_VorbisComment *vc = &block->data.vorbis_comment; in vc_calc_len_()
183 FLAC__StreamMetadata_VorbisComment *vc = &block->data.vorbis_comment; in vc_resize_()
216 for(i = start; i < block->data.vorbis_comment.num_comments; i++) { in vc_find_from_()
217 const FLAC__StreamMetadata_VorbisComment_Entry *entry = &block->data.vorbis_comment.comments[i]; in vc_find_from_()
226 if(0 != block->data.vorbis_comment.vendor_string.entry) in vc_set_vs_new_()
227 free(block->data.vorbis_comment.vendor_string.entry); in vc_set_vs_new_()
229 block->data.vorbis_comment.vendor_string = *entry; in vc_set_vs_new_()
235 if(0 != block->data.vorbis_comment.comments[pos].entry) in vc_set_new_()
236 free(block->data.vorbis_comment.comments[pos].entry); in vc_set_new_()
238 block->data.vorbis_comment.comments[pos] = *entry; in vc_set_new_()
[all …]
Dmetadata_manip.c546 vorbiscomment.data.vorbis_comment.vendor_string.length = vendor_string_length; in generate_file_()
547 vorbiscomment.data.vorbis_comment.vendor_string.entry = malloc_or_die_(vendor_string_length+1); in generate_file_()
548 …memcpy(vorbiscomment.data.vorbis_comment.vendor_string.entry, FLAC__VENDOR_STRING, vendor_string_l… in generate_file_()
549 vorbiscomment.data.vorbis_comment.num_comments = 0; in generate_file_()
550 vorbiscomment.data.vorbis_comment.comments = 0; in generate_file_()
619 free(vorbiscomment.data.vorbis_comment.vendor_string.entry); in generate_file_()
736 if(tags->data.vorbis_comment.num_comments != 0) in test_level_0_()
/external/flac/src/test_libFLAC++/
Dmetadata_object.cpp138 vorbiscomment_.data.vorbis_comment.vendor_string.length = 5; in init_metadata_blocks_()
139 vorbiscomment_.data.vorbis_comment.vendor_string.entry = (FLAC__byte*)malloc_or_die_(5+1); in init_metadata_blocks_()
140 memcpy(vorbiscomment_.data.vorbis_comment.vendor_string.entry, "name0", 5+1); in init_metadata_blocks_()
141 vorbiscomment_.data.vorbis_comment.num_comments = 2; in init_metadata_blocks_()
142 …iscomment_.data.vorbis_comment.comments = (::FLAC__StreamMetadata_VorbisComment_Entry*)malloc_or_d… in init_metadata_blocks_()
143 vorbiscomment_.data.vorbis_comment.comments[0].length = 12; in init_metadata_blocks_()
144 vorbiscomment_.data.vorbis_comment.comments[0].entry = (FLAC__byte*)malloc_or_die_(12+1); in init_metadata_blocks_()
145 memcpy(vorbiscomment_.data.vorbis_comment.comments[0].entry, "name2=value2", 12+1); in init_metadata_blocks_()
146 vorbiscomment_.data.vorbis_comment.comments[1].length = 12; in init_metadata_blocks_()
147 vorbiscomment_.data.vorbis_comment.comments[1].entry = (FLAC__byte*)malloc_or_die_(12+1); in init_metadata_blocks_()
[all …]
/external/llvm/test/CodeGen/Thumb/
D2009-08-12-RegInfoAssert.ll3 %struct.vorbis_comment = type { i8**, i32*, i32, i8* }
10 define i8* @vorbis_comment_query(%struct.vorbis_comment* nocapture %vc, i8* %tag, i32 %count) nounw…
15 …%3 = getelementptr %struct.vorbis_comment, %struct.vorbis_comment* %vc, i32 0, i32 0; <i8***> [#us…
/external/llvm-project/llvm/test/CodeGen/Thumb/
D2009-08-12-RegInfoAssert.ll3 %struct.vorbis_comment = type { i8**, i32*, i32, i8* }
10 define i8* @vorbis_comment_query(%struct.vorbis_comment* nocapture %vc, i8* %tag, i32 %count) nounw…
15 …%3 = getelementptr %struct.vorbis_comment, %struct.vorbis_comment* %vc, i32 0, i32 0; <i8***> [#us…
/external/flac/src/metaflac/
Doperations_shorthand_vorbiscomment.c85 …write_vc_field(prefix_with_filename? filename : 0, &block->data.vorbis_comment.vendor_string, raw,… in do_shorthand_operation__vorbis_comment()
88 …eration->argument.vc_field_name.value, block->data.vorbis_comment.comments, block->data.vorbis_com… in do_shorthand_operation__vorbis_comment()
132 if(0 != block->data.vorbis_comment.comments) { in remove_vc_all()
133 FLAC__ASSERT(block->data.vorbis_comment.num_comments > 0); in remove_vc_all()
141 FLAC__ASSERT(block->data.vorbis_comment.num_comments == 0); in remove_vc_all()
369 …write_vc_fields(0, 0, block->data.vorbis_comment.comments, block->data.vorbis_comment.num_comments… in export_vc_to()
Doperations.c615 write_vc_field(0, &block->data.vorbis_comment.vendor_string, raw, stdout); in write_metadata()
616 PPR; printf(" comments: %u\n", block->data.vorbis_comment.num_comments); in write_metadata()
617 for(i = 0; i < block->data.vorbis_comment.num_comments; i++) { in write_metadata()
619 write_vc_field(0, &block->data.vorbis_comment.comments[i], raw, stdout); in write_metadata()
/external/flac/src/test_libs_common/
Dmetadata_utils.c397 …utils__compare_block_data_vorbiscomment(&block->data.vorbis_comment, &blockcopy->data.vorbis_comme… in mutils__compare_block()
505 vorbiscomment->data.vorbis_comment.vendor_string.length = vendor_string_length; in mutils__init_metadata_blocks()
506 vorbiscomment->data.vorbis_comment.vendor_string.entry = malloc_or_die_(vendor_string_length+1); in mutils__init_metadata_blocks()
507 …memcpy(vorbiscomment->data.vorbis_comment.vendor_string.entry, FLAC__VENDOR_STRING, vendor_string_… in mutils__init_metadata_blocks()
508 vorbiscomment->data.vorbis_comment.num_comments = 2; in mutils__init_metadata_blocks()
509 …vorbiscomment->data.vorbis_comment.comments = malloc_or_die_(vorbiscomment->data.vorbis_comment.nu… in mutils__init_metadata_blocks()
510 vorbiscomment->data.vorbis_comment.comments[0].length = 5; in mutils__init_metadata_blocks()
511 vorbiscomment->data.vorbis_comment.comments[0].entry = malloc_or_die_(5+1); in mutils__init_metadata_blocks()
512 memcpy(vorbiscomment->data.vorbis_comment.comments[0].entry, "ab=cd", 5+1); in mutils__init_metadata_blocks()
513 vorbiscomment->data.vorbis_comment.comments[1].length = 0; in mutils__init_metadata_blocks()
[all …]
/external/flac/src/plugin_common/
Dtags.c281 return (i < 0? 0 : strchr((const char *)tags->data.vorbis_comment.comments[i].entry, '=')+1); in FLAC_plugin__tags_get_tag_utf8()
299 int n = (int)tags->data.vorbis_comment.num_comments; in FLAC_plugin__tags_delete_all()
316 FLAC__StreamMetadata_VorbisComment_Entry *entry = tags->data.vorbis_comment.comments+i; in FLAC_plugin__tags_add_tag_utf8()
/external/flac/src/libFLAC++/
Dmetadata.cpp878 return object_->data.vorbis_comment.num_comments; in get_num_comments()
884 return object_->data.vorbis_comment.vendor_string.entry; in get_vendor_string()
890 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in get_comment()
891 …interpret_cast<const char *>(object_->data.vorbis_comment.comments[indx].entry), object_->data.vor… in get_comment()
911 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in set_comment()
918 FLAC__ASSERT(indx <= object_->data.vorbis_comment.num_comments); in insert_comment()
937 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in delete_comment()
/external/flac/src/flac/
Dencode.h89 FLAC__StreamMetadata *vorbis_comment; member
Dutils.c413 if(object->data.vorbis_comment.comments[offset].length < strlen(CHANNEL_MASK_TAG)+4) in flac__utils_get_channel_mask_tag()
415 …if(0 == (p = strchr((const char *)object->data.vorbis_comment.comments[offset].entry, '='))) /* sh… in flac__utils_get_channel_mask_tag()
Dmain.c275 FLAC__StreamMetadata *vorbis_comment; member
604 …if(0 == (option_values.vorbis_comment = FLAC__metadata_object_new(FLAC__METADATA_TYPE_VORBIS_COMME… in init_options()
751 …if(!flac__vorbiscomment_add(option_values.vorbis_comment, option_argument, /*value_from_file=*/tru… in parse_option()
961 …if(!flac__vorbiscomment_add(option_values.vorbis_comment, option_argument, /*value_from_file=*/fal… in parse_option()
1109 if(0 != option_values.vorbis_comment) in free_options()
1110 FLAC__metadata_object_delete(option_values.vorbis_comment); in free_options()
1917 encode_options.vorbis_comment = option_values.vorbis_comment; in encode_file()
/external/llvm/test/CodeGen/X86/
D2008-07-07-DanglingDeadInsts.ll5 %struct.vorbis_comment = type { i8**, i32*, i32, i8* }
89 define i32 @vorbis_comment_query_count(%struct.vorbis_comment* %vc, i8* %tag) nounwind {
/external/llvm-project/llvm/test/CodeGen/X86/
D2008-07-07-DanglingDeadInsts.ll5 %struct.vorbis_comment = type { i8**, i32*, i32, i8* }
89 define i32 @vorbis_comment_query_count(%struct.vorbis_comment* %vc, i8* %tag) nounwind {
/external/tremolo/tests/oob_oggpack_look/
Dtest_floor0.cpp19 int _vorbis_unpack_comment(vorbis_comment *vc, oggpack_buffer *opb);
/external/flac/src/share/grabbag/
Dreplaygain.c634 (void)parse_double_(block->data.vorbis_comment.comments + reference_offset, reference); in grabbag__replaygain_load_from_vorbiscomment()
641 if(res && !parse_double_(block->data.vorbis_comment.comments + gain_offset, gain)) in grabbag__replaygain_load_from_vorbiscomment()
643 if(res && !parse_double_(block->data.vorbis_comment.comments + peak_offset, peak)) in grabbag__replaygain_load_from_vorbiscomment()
/external/llvm-project/llvm/test/Analysis/Dominators/
D2007-01-14-BreakCritEdges.ll5 …nc_state, i32, i64*, i64*, i32*, i64*, %struct.vorbis_info*, %struct.vorbis_comment*, i64, i32, i3…
12 %struct.vorbis_comment = type { i8**, i32*, i32, i8* }
/external/llvm/test/Analysis/Dominators/
D2007-01-14-BreakCritEdges.ll4 …nc_state, i32, i64*, i64*, i32*, i64*, %struct.vorbis_info*, %struct.vorbis_comment*, i64, i32, i3…
11 %struct.vorbis_comment = type { i8**, i32*, i32, i8* }

12