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

 找回密码
 新人加入
查看: 2833|回复: 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-4-17 01:47

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH