/external/flac/libFLAC/ |
format.c | 242 FLAC_API FLAC__bool FLAC__format_seektable_is_legal(const FLAC__StreamMetadata_SeekTable *seek_table) 248 FLAC__ASSERT(0 != seek_table); 250 for(i = 0; i < seek_table->num_points; i++) { 253 seek_table->points[i].sample_number != FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER && 254 seek_table->points[i].sample_number <= prev_sample_number 258 prev_sample_number = seek_table->points[i].sample_number; 278 FLAC_API unsigned FLAC__format_seektable_sort(FLAC__StreamMetadata_SeekTable *seek_table) 283 FLAC__ASSERT(0 != seek_table); 286 qsort(seek_table->points, seek_table->num_points, sizeof(FLAC__StreamMetadata_SeekPoint), (int (*)(const void *, const void *))seekpoin (…) [all...] |
metadata_object.c | 167 object->length = object->data.seek_table.num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH; 462 object->data.seek_table.num_points = 0; 463 object->data.seek_table.points = 0; 552 to->data.seek_table.num_points = object->data.seek_table.num_points; 553 if(to->data.seek_table.num_points > SIZE_MAX / sizeof(FLAC__StreamMetadata_SeekPoint)) { /* overflow check */ 557 if(!copy_bytes_((FLAC__byte**)&to->data.seek_table.points, (FLAC__byte*)object->data.seek_table.points, object->data.seek_table.num_points * sizeof(FLAC__StreamMetadata_SeekPoint))) { 646 if(0 != object->data.seek_table.points) 1041 FLAC__StreamMetadata_SeekTable *seek_table; local 1065 FLAC__StreamMetadata_SeekTable *seek_table = &object->data.seek_table; local 1090 FLAC__StreamMetadata_SeekTable *seek_table = &object->data.seek_table; local 1116 FLAC__StreamMetadata_SeekTable *seek_table = &object->data.seek_table; local [all...] |
stream_decoder.c | 182 FLAC__StreamMetadata seek_table; member in struct:FLAC__StreamDecoderPrivate 684 if(decoder->private_->has_seek_table && 0 != decoder->private_->seek_table.data.seek_table.points) { 685 free(decoder->private_->seek_table.data.seek_table.points); 686 decoder->private_->seek_table.data.seek_table.points = 0; 2995 const FLAC__StreamMetadata_SeekTable *seek_table = decoder->private_->has_seek_table? &decoder->private_->seek_table.data.seek_table : 0; local [all...] |
stream_encoder_framing.c | 115 for(i = 0; i < metadata->data.seek_table.num_points; i++) { 116 if(!FLAC__bitwriter_write_raw_uint64(bw, metadata->data.seek_table.points[i].sample_number, FLAC__STREAM_METADATA_SEEKPOINT_SAMPLE_NUMBER_LEN)) 118 if(!FLAC__bitwriter_write_raw_uint64(bw, metadata->data.seek_table.points[i].stream_offset, FLAC__STREAM_METADATA_SEEKPOINT_STREAM_OFFSET_LEN)) 120 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.seek_table.points[i].frame_samples, FLAC__STREAM_METADATA_SEEKPOINT_FRAME_SAMPLES_LEN))
|
stream_encoder.c | 365 FLAC__StreamMetadata_SeekTable *seek_table; /* pointer into encoder->protected_->metadata_ where the seek table is */ member in struct:FLAC__StreamEncoderPrivate [all...] |
metadata_iterators.c | [all...] |
/external/flac/include/FLAC/ |
format.h | 847 FLAC__StreamMetadata_SeekTable seek_table; member in union:__anon18306::__anon18307 [all...] |