rusty_jpeg 0.1.1

Pure-Rust JPEG/MJPEG decoder + encoder, no C/FFI. Baseline and progressive DCT, planar YUV in/out, real quality and chroma-subsampling control.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod fdct;
mod ycbcr;

use crate::encode::encoder::Operations;
pub use fdct::fdct_avx2;
pub use ycbcr::*;

pub(crate) struct AVX2Operations;

impl Operations for AVX2Operations {
    #[inline(always)]
    fn fdct(data: &mut [i16; 64]) {
        fdct_avx2(data);
    }
}