[MPlayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.67,1.68

D Richard Felker III dalias at aerifal.cx
Thu Mar 3 20:42:15 CET 2005


On Thu, Mar 03, 2005 at 06:16:53PM +0100, Michael Niedermayer CVS wrote:
> CVS change done by Michael Niedermayer CVS
> 
> Update of /cvsroot/mplayer/main/DOCS/tech
> In directory mail:/var2/tmp/cvs-serv23240
> 
> Modified Files:
> 	mpcf.txt 
> Log Message:
> partial indexes
> comments (with alternative suggestions and advantages) welcome

wow! nice design!
of course i'd expect no less from michael..

> +index_distance
> +	distance at which indexes are approximately stored, or 0 if there are
> +	no indexes in the file
> +	in every [x*index_distance, (x+1)*index_distance) interval, there
> +	must be an index packet for every stream, and these packets must be
> +	located prior to all frames within the interval
> +	reasoning: this ensures good error recovery as there are many and
> +	evenly distributed indexes, and also allows very quick finding of the
> +	index packets
> +
> +index_modulo
> +index_id
> +	each index packet contains every index_moduloth's keyframe of a stream,
> +	so the i'th keyframe of a stream will be at least in packets with 
> +	(i % index_modulo) == index_id 
> +
> +index_increment
> +	the index_id increment value, this MUST be a relative prime to
> +	index_modulo

I'm confused what index_increment is used for.

> +	index_increment / index_modulo SHOULD be approximately 2/(sqrt(5)+1)

And confused why this should be true..

Rich




More information about the MPlayer-cvslog mailing list