search for: num_points

Displaying 8 results from an estimated 8 matches for "num_points".

Did you mean: num_hints
2004 Sep 10
2
better seeking
...nts[i].stream_offset; - lower_seek_point = i; + lower_bound_sample = decoder->private_->seek_table->points[i].sample_number; } /* find the closest seek point > target_sample, if it exists */ @@ -892,76 +894,25 @@ } if(i < (int)decoder->private_->seek_table->num_points) { /* i.e. we found a suitable seek point... */ upper_bound = first_frame_offset + decoder->private_->seek_table->points[i].stream_offset; - upper_seek_point = i; + upper_bound_sample = decoder->private_->seek_table->points[i].sample_number; } } - /* - * Now guess...
2006 Oct 28
3
better seeking
..._bound = first_frame_offset + seek_table->points[i].stream_offset; - lower_seek_point = i; + lower_bound_sample = seek_table->points[i].sample_number; } /* find the closest seek point > target_sample, if it exists */ @@ -2991,98 +2993,32 @@ } if(i < (int)seek_table->num_points) { /* i.e. we found a suitable seek point... */ upper_bound = first_frame_offset + seek_table->points[i].stream_offset; - upper_seek_point = i; + upper_bound_sample = seek_table->points[i].sample_number; } } + decoder->private_->target_sample = target_sample; - /* - * No...
2005 Jan 25
0
bitbuffer optimizations
...nts[i].stream_offset; - lower_seek_point = i; + lower_bound_sample = decoder->private_->seek_table->points[i].sample_number; } /* find the closest seek point > target_sample, if it exists */ @@ -933,98 +935,33 @@ } if(i < (int)decoder->private_->seek_table->num_points) { /* i.e. we found a suitable seek point... */ upper_bound = first_frame_offset + decoder->private_->seek_table->points[i].stream_offset; - upper_seek_point = i; + upper_bound_sample = decoder->private_->seek_table->points[i].sample_number; } } - /* - * Now guess...
2024 Oct 14
1
C API: How to get a seektable for very long files?
...ek table isn't valid. You could > try to use that approach anyway in the meantime, perhaps it works just > fine? I fixed that manually after calling FLAC__metadata_object_seektable_template_sort, according to metaflac everything is correct: for(int i = seektable->data.seek_table.num_points-1; i>=0; i--) { if (seektable->data.seek_table.points[i].stream_offset != 0) break; seektable->data.seek_table.points[i].sample_number = 0xFFFFFFFFFFFFFFFF; } > > I'd say, have your implementation prepare a seek table template for 5 > hours of recordin...
2024 Oct 14
1
C API: How to get a seektable for very long files?
Op zo 13 okt 2024 om 22:33 schreef Stefan Oltmanns <stefan-oltmanns at gmx.net>: > > Is the seektable written at the beginning of the file in the metadata > block or can there also be a second metadata block at the end? > Only at the start of the file. > > If it's at the beginning, would it possible to reserve space for N seek > points and during encoding remember
2006 Nov 03
2
better seeking
..._bound = first_frame_offset + seek_table->points[i].stream_offset; - lower_seek_point = i; + lower_bound_sample = seek_table->points[i].sample_number; } /* find the closest seek point > target_sample, if it exists */ @@ -2991,98 +2988,36 @@ } if(i < (int)seek_table->num_points) { /* i.e. we found a suitable seek point... */ upper_bound = first_frame_offset + seek_table->points[i].stream_offset; - upper_seek_point = i; + upper_bound_sample = seek_table->points[i].sample_number; } } + decoder->private_->target_sample = target_sample; - /* - * No...
2024 Jul 29
0
[ANNOUNCE] xinput_calibrator 0.8.0
...am (suggested by Paul Wise) Release v0.7.5 gtkmm: fullscreen both with and without window manager remove offset part of --geometry add manpage and gui_gtkmm support for --geometry Whitespace cleanups (were mangled in next patches) Touch points, change to constant NUM_POINTS in enum color management: make enum static Various comment cleanups from tonio (leftovers file reorg. patch) XYinfo/AxisInfo: copy constructors and invert/swap function new_axys now contains the axys value to write XYinfo: add print method Tester: test calibratio...
2004 Sep 10
4
bitbuffer optimizations
Ok, here is a patch waiting for new CVS :). It works fine for me, but please check it before commiting... -- Miroslav Lichvar -------------- next part -------------- --- src/libFLAC/bitbuffer.c.orig 2003-01-30 17:36:01.000000000 +0100 +++ src/libFLAC/bitbuffer.c 2003-01-30 21:53:18.000000000 +0100 @@ -51,6 +51,25 @@ */ static const unsigned FLAC__BITBUFFER_DEFAULT_CAPACITY = ((65536 - 64) *