Mercurial > mplayer.hg
view DOCS/tech/mpsub.sub @ 27702:b6a499f72725
Invert logic for the single-pass in swScale() functions.
Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that
variable with clip_table in .bss section, rather than issuing a .data
section just for that.
As it is, libswscale require no .data section but .data.rel.ro (that
can be mitigated by prelinking), so the change might actually save one
page of memory at runtime (per process).
author | flameeyes |
---|---|
date | Thu, 09 Oct 2008 11:10:30 +0000 |
parents | 720bf2e5c408 |
children | 0ad2da052b2e |
line wrap: on
line source
TITLE=Weird Al Yankovic - The Saga Begins (clip) # just to be informative (maybe future # use?) FILE=14233792,7972c637f619e01854ecb453b7339e3f # size,md5 AUTHOR=Gabucino TYPE=VIDEO # maybe AUDIO in future (for displaying # mp3 lyrics while playing or whatever) FORMAT=TIME # this file contains measures based on # TIME, not frames. # if FORMAT is a number, then it's frame based, i.e.: # FORMAT=25 NOTE=MPlayerSub test file v0.1 # first number : wait this much after previous subtitle disappeared # second number : display the current subtitle for this many seconds 15 3 A long, long time ago... 0 3 in a galaxy far away... 0 3 Naboo was under an attack. 1 2.5 And I thought me and Qui-Gon Jinn could 0 2.5 talk the Federation into 0 4 ...maybe cutting them a little slack. 2 3 But their response, it didn't thrill us, 0 3 They locked the doors, and tried to kill us. 0 2.5 We escaped from that gas, 0 3.5 then met Jar-jar and Boss-Nass. 1 6 We took a bongo from the scene and we went to Theed to see the Queen. 0 5 We all wound' up on Tatooine. 0 6 That's where, we've found this boy. 0 4 Oh my, my this here Anakin guy, 0 5 maybe Vader someday later now he's just a small fry. 0 4 And he left his home and kissed his mommy goodbye, 0 5 singing "Soon I'm gonna be a Jedi!" 6 6 Did you know this junkyard slave isn't even old enough to shave, 0 3 but he can use the Force, they say. 1 6 Ahh, do you see him hitting on the queen though he's just nine and she's fourteen 0 6 yeah, he's probably gonna marry her, someday!