edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | //! Range extension residual steps shared by the transform-skip, transquant-bypass and |
| 2 | //! cross-component paths (8.6.2, 8.6.6, 8.6.8). |
| 3 | |
| 4 | /// Rotate an `n` x `n` block by 180 degrees in place (`transform_skip_rotation_enabled_flag`). |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | /// The directional residual modification of RDPCM (8.6.8): each sample accumulates the |
| 10 | /// one before it, horizontally for `dir` 0 and vertically for `dir` 1. |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | /// Cross-component prediction (8.6.6): `r += (ResScaleVal * ((rY << BitDepthC) >> BitDepthY)) >> 3`. |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 |