Skip to content

Commit

Permalink
minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky Bernstein committed Feb 6, 2006
1 parent 5d9dc8f commit ab0937c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/subtitles/svcd-ogt-subtitles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ This value must be even.

* Command (1 byte)

>>6: 1 shift command, (cmd>>4)&3 is the direction (0=top, 1=left, 2 = right, 3 >>= bottom)
if cmd>>6 == 1 then a shift command and (cmd>>4)&3 is the
direction. 0=top, 1=left, 2 = right, 3 = bottom

* Odd-field data offset (2 bytes)

Expand All @@ -94,7 +95,7 @@ overlayed on top of.
The image is encoded using two bits per pixel that select a palette
entry except that value 0 starts a limited run-length encoding for
color 0. When 0 is seen, the next two bits encode one less than
thenumber of pixels, so we can encode run lengths from 1 to 4. These
the number of pixels, so we can encode run lengths from 1 to 4. These
get filled with the color in palette entry 0.

The encoding of each line is padded to a whole number of bytes. The
Expand Down

0 comments on commit ab0937c

Please sign in to comment.