X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fsubtitles%2Fsvcd-ogt-subtitles.txt;h=a08385e032e68d44d1c66b38704bca7d37594092;hb=848489c3863b1b7ddbe542aa3e746063722b9280;hp=3c2777b4c0f7946e0d952d771e2aaabb02ecd18c;hpb=5d9dc8f576687e509a6e4155b07504fb381c52ac;p=vlc diff --git a/doc/subtitles/svcd-ogt-subtitles.txt b/doc/subtitles/svcd-ogt-subtitles.txt index 3c2777b4c0..a08385e032 100644 --- a/doc/subtitles/svcd-ogt-subtitles.txt +++ b/doc/subtitles/svcd-ogt-subtitles.txt @@ -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) @@ -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