Displaying 3 results from an estimated 3 matches for "kate_granul".
Did you mean:
kate_granule
2008 Feb 15
2
Seeking to granules in discontinuous streams
On 15-Feb-08, at 6:44 AM, ogg.k.ogg.k@googlemail.com wrote:
> Well, it doesn't quite work because the second part of the gpos is
> an offset,
> rather than absolute, and the precision we shed on one, we need to
> recover
> on the other one, to keep the ability to timestamp events at the
> correct
> granularity. It would have worked if the second part was absolute
2008 Feb 18
0
Seeking to granules in discontinuous streams
....c):
ogg_int64_t iframe=granulepos>>pbi->keyframe_granule_shift;
ogg_int64_t pframe=granulepos-(iframe<<pbi->keyframe_granule_shift);
return (iframe+pframe)*
((double)pbi->info.fps_denominator/pbi->info.fps_numerator);
Proposed method (from libkate's kate_granule.c):
base=granulepos>>ki->granule_shift;
offset=(granulepos-(base<<ki->granule_shift))>>ki->granule_shift2;
return base*(kate_float)ki->gps_base_denominator/ki->gps_base_numerator
+offset*(kate_float)ki->gps_offset_denominator/ki->gps_offset_numer...
2008 Feb 22
2
Seeking to granules in discontinuous streams
...granulepos>>pbi->keyframe_granule_shift;
> ogg_int64_t pframe=granulepos-(iframe<<pbi->keyframe_granule_shift);
>
> return (iframe+pframe)*
> ((double)pbi->info.fps_denominator/pbi->info.fps_numerator);
>
> Proposed method (from libkate's kate_granule.c):
>
> base=granulepos>>ki->granule_shift;
> offset=(granulepos-(base<<ki->granule_shift))>>ki->granule_shift2;
> return base*(kate_float)ki->gps_base_denominator/ki->gps_base_numerator
> +offset*(kate_float)ki->gps_offset_denominator...