[NUT-devel] Split index per stream?
Michael Niedermayer
michaelni at gmx.at
Sat Mar 11 15:29:46 CET 2006
Hi
On Fri, Mar 10, 2006 at 11:28:38PM +0200, Oded Shimon wrote:
> On Fri, Mar 10, 2006 at 02:42:00PM +0100, Michael Niedermayer wrote:
> > Hi
> >
> > one index for syncpoint pos, one for each stream?
>
> Hmm, not sure it is worth it.. How do you even tell between them (I guess a
> stream_id_plus1 in the begginning). Doesn't add much for robustness (the
> stream stuff is tiny, 1-4kb of 80kb), and brings back the old index_ptr and
> several index complexity issues.. I'm against.
ok
btw, how much space would we gain/loose if we use
- sp[i-2] + 2*sp[i-1] as sycpoint position predictor instead of sp[i-1]?
or even
sp[i-1] + median(sp[i-1] - sp[i-2], sp[i-2] - sp[i-3], sp[i-3] - sp[i-4])
[...]
--
Michael
More information about the NUT-devel
mailing list