cubicibo / SUPer

HDMV PGS (BD SUP) subtitle encoder compatible with typesetting effects.
GNU General Public License v3.0
21 stars 4 forks source link

Split large window to reduce DTS-PTS gap at epoch start. #30

Closed cubicibo closed 4 months ago

cubicibo commented 4 months ago

The Graphics Decoders pipelined rendering model is asymmetrical due to the different decoding and composition bandwidths. Some epoch layouts may have a total object decoding time that exceeds the initial wipe duration: the composition process gets delayed and only starts when the first object is decoded. If an object decoding time exceeds the initial wipe duration (the said object area occupies more than half of the screen), the equally large composition gets delayed. To minimize the idling time of the composition process, the largest object should be decoded while the composition process is busy clearing the graphics plane. The second smaller object may then be decoded while the first gets composited.