-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
タイル分割を指定してもデコードが並列実行できていない? #2
Comments
link-u/cavif#8 1x1
2x2 (
|
CDEFとLoop Restorationフィルタだけはメインスレッドで実行されるので、これをまず無効にしてさらに画像のサイズを大きくして(3082x2048)みました: 実験画像の作り方サンプル画像に入ってる中では一番解像度が大きいhato.pngでやります。 1x1(分割なし)
2x2(4つに分割)
デコードして測定1x1(分割なし)1スレッド
4スレッド
2x2(分割あり)1スレッド
4スレッド
2.5倍速ぐらいにはなったのでとりえあず「並列実行されてます!」と言い張ってもよいのではないだろうか。 |
分割の仕方についてなんですが、特定のy座標の処理が全部終わるまで全スレッドを待ってからフィルタを掛ける処理が入っていたので、たぶん横に4分割するよりは縦に4分割するほうが速そうに見える |
間違ってはなさそうだけど、言い切るには10回ぐらい測定して検定でもしないと何とも言えないやつだ… 横4分割
縦4分割
|
規格を読む限りCDEFも別スレッドでタイルごとに動かせるような気がしてならないので「なんでしないの?」って聞いてみるのはありかもしれない |
聞いた Why loopfilter + cdef + restoration are not applied in separated tile-threads? (#331) · Issues · VideoLAN / dav1d · GitLab |
No description provided.
The text was updated successfully, but these errors were encountered: