Skip to content

anime4k实现过程中的疑问 #167

Closed Answered by hooke007
Arxhexa asked this question in Q&A 问答
Discussion options

You must be logged in to vote

作者的演示是基于显示设备2160p,源720p。一次两倍之后1440p,直接做第二次两倍(2880p)显然是性能浪费的有点多,为了节省开销所以在做第二次两倍前预缩回1080p;

假设链路 Anime4K_Upscale_CNN_x2_S;AutoDownscalePre_x4 显示设备1440p,源1080p。不会触发你想象的流程,因为不满足hook的条件
流程 a4k 2x upscale(2160p) → mpv dscale(1440p)

AutoDownscalePre 对大多数人来说是用不到的,特殊资源/老片爱好者除外。如上所述,1080p的源 x2之后已经2160p大于大多数人的显示分辨率了,所以构建你的a4k链路的时候不需要像原作者的方案那么复杂(可能也不在乎这点性能浪费)。

我那个文档里的说法有点问题。。但是我现在没法直接改

假设链路 Anime4K_Upscale_CNN_x2_S;AutoDownscalePre_x2 显示设备1080p 源720p

执行流程 720p → Anime4K_Upscale_CNN_x2_S (1440p) → AutoDownscalePre_x2 (1080p)
这时候就没mpv dscale什么事了,但是我不建议这么用因为 AutoDownscalePre 只是一个简单的双线性,不如用mpv dscale

但是它设计这个着色器的考量是假设你要在一次放大后挂更多高开销的着色器,
比如链路 Anime4K_Upscale_CNN_x2_S;AutoDownscalePre_x2;Anime4K_Restore_CNN_L

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@Arxhexa
Comment options

@hooke007
Comment options

@Arxhexa
Comment options

@hooke007
Comment options

@Arxhexa
Comment options

Answer selected by Arxhexa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VF/HOOK 滤镜 着色器
2 participants