Displaying 3 results from an estimated 3 matches for "kate_float".
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
...eturn (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_numerator;
2008 Feb 22
2
Seeking to granules in discontinuous streams
...((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_numerator;
>
> _______________________________________________
>  ogg-dev mailing list
>  ogg-dev@xiph.org
>  http://lists.xiph.org/mailman/listinfo/og...