Skip to content

Commit

Permalink
Interleave index to ease per-need decoding.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17456 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
ods15 committed Jan 22, 2006
1 parent fd00b26 commit 6d5a941
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions DOCS/tech/mpcf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,28 +229,29 @@ index:
syncpoint_pos_div8 v
}
for(i=0; i<stream_count; i++){
for(j=0; j<syncpoint_count; ){
for(j=0; j<syncpoints; ){
x v
type= x & 1
x>>=1
n=j
if(type){
flag= x & 1
x>>=1
while(x--)
has_keyframe[j++][i]=flag
has_keyframe[j++][i]=!flag;
has_keyframe[n++][i]=flag
has_keyframe[n++][i]=!flag;
}else{
while(x != 1){
has_keyframe[j++][i]=x&1;
has_keyframe[n++][i]=x&1;
x>>=1;
}
}
}
for(j=0; j<syncpoint_count; j++){
if (!has_keyframe[j++][i]) continue
A v
last_pts += A
keyframe_pts[j][i] = last_pts
for(; j<n && j<syncpoints; j++){
if (!has_keyframe[j][i]) continue
A v
last_pts += A
keyframe_pts[j][i] = last_pts
}
}
}
reserved_bytes
Expand Down

0 comments on commit 6d5a941

Please sign in to comment.