• Home
  • Raw
  • Download

Lines Matching refs:seek_table

169 	object->length = object->data.seek_table.num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH;  in seektable_calculate_length_()
548 to->data.seek_table.num_points = object->data.seek_table.num_points; in FLAC__metadata_object_clone()
549 …if (to->data.seek_table.num_points > UINT32_MAX / sizeof(FLAC__StreamMetadata_SeekPoint)) { /* ove… in FLAC__metadata_object_clone()
553 …y_bytes_((FLAC__byte**)&to->data.seek_table.points, (FLAC__byte*)object->data.seek_table.points, o… in FLAC__metadata_object_clone()
641 if (object->data.seek_table.points != NULL) { in FLAC__metadata_object_delete_data()
642 free(object->data.seek_table.points); in FLAC__metadata_object_delete_data()
643 object->data.seek_table.points = NULL; in FLAC__metadata_object_delete_data()
890 return compare_block_data_seektable_(&block1->data.seek_table, &block2->data.seek_table); in FLAC__metadata_object_is_equal()
932 if (object->data.seek_table.points == 0) { in FLAC__metadata_object_seektable_resize_points()
933 FLAC__ASSERT(object->data.seek_table.num_points == 0); in FLAC__metadata_object_seektable_resize_points()
936 else if ((object->data.seek_table.points = seekpoint_array_new_(new_num_points)) == 0) in FLAC__metadata_object_seektable_resize_points()
940 …const size_t old_size = object->data.seek_table.num_points * sizeof(FLAC__StreamMetadata_SeekPoint… in FLAC__metadata_object_seektable_resize_points()
947 FLAC__ASSERT(object->data.seek_table.num_points > 0); in FLAC__metadata_object_seektable_resize_points()
950 free(object->data.seek_table.points); in FLAC__metadata_object_seektable_resize_points()
951 object->data.seek_table.points = 0; in FLAC__metadata_object_seektable_resize_points()
953 …else if ((object->data.seek_table.points = safe_realloc_(object->data.seek_table.points, new_size)… in FLAC__metadata_object_seektable_resize_points()
959 for (i = object->data.seek_table.num_points; i < new_num_points; i++) { in FLAC__metadata_object_seektable_resize_points()
960 object->data.seek_table.points[i].sample_number = FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER; in FLAC__metadata_object_seektable_resize_points()
961 object->data.seek_table.points[i].stream_offset = 0; in FLAC__metadata_object_seektable_resize_points()
962 object->data.seek_table.points[i].frame_samples = 0; in FLAC__metadata_object_seektable_resize_points()
967 object->data.seek_table.num_points = new_num_points; in FLAC__metadata_object_seektable_resize_points()
977 FLAC__ASSERT(point_num < object->data.seek_table.num_points); in FLAC__metadata_object_seektable_set_point()
979 object->data.seek_table.points[point_num] = point; in FLAC__metadata_object_seektable_set_point()
988 FLAC__ASSERT(point_num <= object->data.seek_table.num_points); in FLAC__metadata_object_seektable_insert_point()
990 if (!FLAC__metadata_object_seektable_resize_points(object, object->data.seek_table.num_points+1)) in FLAC__metadata_object_seektable_insert_point()
994 for (i = (int)object->data.seek_table.num_points-1; i > (int)point_num; i--) in FLAC__metadata_object_seektable_insert_point()
995 object->data.seek_table.points[i] = object->data.seek_table.points[i-1]; in FLAC__metadata_object_seektable_insert_point()
1008 FLAC__ASSERT(point_num < object->data.seek_table.num_points); in FLAC__metadata_object_seektable_delete_point()
1011 for (i = point_num; i < object->data.seek_table.num_points-1; i++) in FLAC__metadata_object_seektable_delete_point()
1012 object->data.seek_table.points[i] = object->data.seek_table.points[i+1]; in FLAC__metadata_object_seektable_delete_point()
1014 return FLAC__metadata_object_seektable_resize_points(object, object->data.seek_table.num_points-1); in FLAC__metadata_object_seektable_delete_point()
1022 return FLAC__format_seektable_is_legal(&object->data.seek_table); in FLAC__metadata_object_seektable_is_legal()
1032 …return FLAC__metadata_object_seektable_resize_points(object, object->data.seek_table.num_points + … in FLAC__metadata_object_seektable_template_append_placeholders()
1039 FLAC__StreamMetadata_SeekTable *seek_table; in FLAC__metadata_object_seektable_template_append_point() local
1044 seek_table = &object->data.seek_table; in FLAC__metadata_object_seektable_template_append_point()
1046 if (!FLAC__metadata_object_seektable_resize_points(object, seek_table->num_points + 1)) in FLAC__metadata_object_seektable_template_append_point()
1049 seek_table->points[seek_table->num_points - 1].sample_number = sample_number; in FLAC__metadata_object_seektable_template_append_point()
1050 seek_table->points[seek_table->num_points - 1].stream_offset = 0; in FLAC__metadata_object_seektable_template_append_point()
1051 seek_table->points[seek_table->num_points - 1].frame_samples = 0; in FLAC__metadata_object_seektable_template_append_point()
1063 FLAC__StreamMetadata_SeekTable *seek_table = &object->data.seek_table; in FLAC__metadata_object_seektable_template_append_points() local
1066 i = seek_table->num_points; in FLAC__metadata_object_seektable_template_append_points()
1068 if (!FLAC__metadata_object_seektable_resize_points(object, seek_table->num_points + num)) in FLAC__metadata_object_seektable_template_append_points()
1072 seek_table->points[i].sample_number = sample_numbers[j]; in FLAC__metadata_object_seektable_template_append_points()
1073 seek_table->points[i].stream_offset = 0; in FLAC__metadata_object_seektable_template_append_points()
1074 seek_table->points[i].frame_samples = 0; in FLAC__metadata_object_seektable_template_append_points()
1088 FLAC__StreamMetadata_SeekTable *seek_table = &object->data.seek_table; in FLAC__metadata_object_seektable_template_append_spaced_points() local
1091 i = seek_table->num_points; in FLAC__metadata_object_seektable_template_append_spaced_points()
1093 if (!FLAC__metadata_object_seektable_resize_points(object, seek_table->num_points + num)) in FLAC__metadata_object_seektable_template_append_spaced_points()
1097 seek_table->points[i].sample_number = total_samples * (FLAC__uint64)j / (FLAC__uint64)num; in FLAC__metadata_object_seektable_template_append_spaced_points()
1098 seek_table->points[i].stream_offset = 0; in FLAC__metadata_object_seektable_template_append_spaced_points()
1099 seek_table->points[i].frame_samples = 0; in FLAC__metadata_object_seektable_template_append_spaced_points()
1114 FLAC__StreamMetadata_SeekTable *seek_table = &object->data.seek_table; in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples() local
1130 i = seek_table->num_points; in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1132 …if (!FLAC__metadata_object_seektable_resize_points(object, seek_table->num_points + (unsigned)num)) in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1137 seek_table->points[i].sample_number = sample; in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1138 seek_table->points[i].stream_offset = 0; in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1139 seek_table->points[i].frame_samples = 0; in FLAC__metadata_object_seektable_template_append_spaced_points_by_samples()
1153 unique = FLAC__format_seektable_sort(&object->data.seek_table); in FLAC__metadata_object_seektable_template_sort()