TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 3827|回复: 0
打印 上一主题 下一主题

[libtcas] Techniques Occupied [复制链接]

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

跳转到指定楼层
楼主
发表于 2011-10-17 14:08:16 |只看该作者 |倒序浏览
Core Techniques

Ordered Index
ordered by chunk layer and offset of the chunk in the file, use a separate ID to indicate the order

Index Linearization
linearize the ordered index to separate linear index streams

Chunk Lookup and Chunk Cache
find all the effective chunks concerning frame n, and cache them, for they may still be effective to the next frame

Key Framing
generating of inter-mediate frames according to a key frame pair

Zlib Compression
use zlib to compress the pos_and_color of compressed chunks


Utility Techniques

File Cache
cache a piece of the file to speed up the I/O

Frame Cache
cache a sequence of generated TCAS frames to improve the overall performance


Obsolete Techniques

Threadpooling
use a threadpool to generate TCAS frames in parallels

Mapping of File
map the whole file into memory



您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-12-5 02:53

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH