bilibili / DanmakuFlameMaster
Android开源弹幕引擎·烈焰弹幕使 ~
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing bilibili/DanmakuFlameMaster in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
PreviewDanmakuFlameMaster
DFM Inside:
- libndkbitmap.so(ndk)源码:https://github.com/Bilibili/NativeBitmapFactory
- 开发交流群:314468823 (加入请注明DFM开发交流)
Features
-
使用多种方式(View/SurfaceView/TextureView)实现高效绘制
-
B站xml弹幕格式解析
-
基础弹幕精确还原绘制
-
支持mode7特殊弹幕
-
多核机型优化,高效的预缓存机制
-
支持多种显示效果选项实时切换
-
实时弹幕显示支持
-
换行弹幕支持/运动弹幕支持
-
支持自定义字体
-
支持多种弹幕参数设置
-
支持多种方式的弹幕屏蔽
TODO:
- 增加OpenGL ES绘制方式
Download
Download the latest version or grab via Maven:
<dependency>
<groupId>com.github.ctiao</groupId>
<artifactId>dfm</artifactId>
<version>0.9.25</version>
</dependency>
or Gradle:
repositories {
jcenter()
}
dependencies {
compile 'com.github.ctiao:DanmakuFlameMaster:0.9.25'
compile 'com.github.ctiao:ndkbitmap-armv7a:0.9.21'
# Other ABIs: optional
compile 'com.github.ctiao:ndkbitmap-armv5:0.9.21'
compile 'com.github.ctiao:ndkbitmap-x86:0.9.21'
}
Snapshots of the development version are available in Sonatype's snapshots repository.
License
Copyright (C) 2013-2015 Chen Hui <calmer91@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");

