edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | |
| 2 | //! Apple ProRes video decoder (SMPTE RDD 36). |
| 3 | //! |
| 4 | //! Profiles 422 Proxy / LT / Standard / HQ (`apco`, `apcs`, `apcn`, `apch`) decode to |
| 5 | //! [`PixelFormat::I210`](ec_core::frame::PixelFormat::I210); 4444 and 4444 XQ (`ap4h`, `ap4x`) |
| 6 | //! decode to [`PixelFormat::I412`](ec_core::frame::PixelFormat::I412) (the 12-bit 4:4:4 layout |
| 7 | //! ffmpeg also reports). Interlaced frames (two field pictures) come back woven with |
| 8 | //! [`VideoFrame::interlace`](ec_core::frame::VideoFrame) set; slice sizes, both scan orders and |
| 9 | //! custom quantisation matrices are handled. The optional alpha plane is returned beside the |
| 10 | //! frame as a 16-bit [`AlphaPlane`], because `VideoFrame` has no alpha-bearing planar format. |
| 11 | //! |
| 12 | //! The arithmetic is ffmpeg's: its integer simple IDCT (`ff_prores_idct_10` / `_12`) is |
| 13 | //! reproduced including 16-bit intermediate wrap, so output is byte-exact against ffmpeg. |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | pub use ProResDecoder; |
| 25 | pub use ; |
| 26 | pub use ; |
| 27 | pub use FrameInfo; |