diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-02 19:17:32 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-02 19:17:32 +0000 |
commit | 8276250ea0e0b1bf589914b197ea35b650ee6820 (patch) | |
tree | c399d41a17c93e34b153b0f0227269304ee65814 /libass/ass.h | |
parent | b14a183358b97b679b42dd7470372ea3caedf500 (diff) | |
download | libass-8276250ea0e0b1bf589914b197ea35b650ee6820.tar.bz2 libass-8276250ea0e0b1bf589914b197ea35b650ee6820.tar.xz |
Better collision detection algorithm. The idea is to keep a subtitle in place
when a lower placed one disappears, thus improving readability.
As a side effect, layers are supported now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19644 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass.h')
-rw-r--r-- | libass/ass.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libass/ass.h b/libass/ass.h index e97b0f6d..a99b7540 100644 --- a/libass/ass.h +++ b/libass/ass.h @@ -52,35 +52,10 @@ void ass_done(ass_instance_t* priv); void ass_configure(ass_instance_t* priv, const ass_settings_t* config); /** - * \brief start rendering a frame - * \param priv library - * \param track subtitle track - * \param now video timestamp in milliseconds - */ -int ass_start_frame(ass_instance_t *priv, ass_track_t* track, long long now); - -/** - * \brief render a single event - * uses library, track and timestamp from the previous call to ass_start_frame - */ -int ass_render_event(ass_event_t* event); - -/** - * \brief done rendering frame, give out the results - * \return a list of images for blending - */ -ass_image_t* ass_end_frame(void); // returns linked list of images to render - -/** * \brief render a frame, producing a list of ass_image_t * \param priv library * \param track subtitle track * \param now video timestamp in milliseconds - * This function is equivalent to - * ass_start_frame() - * for events: start <= now < end: - * ass_render_event() - * ass_end_frame() */ ass_image_t* ass_render_frame(ass_instance_t *priv, ass_track_t* track, long long now); |