pub fn dct_block(pixels: &[f64; 64], qt: &[u16; 64]) -> [i16; 64]
8×8 forward DCT + quantize → 64 DCT coefficients.
Input: pixel values (expected ~0–255). Output: quantized DCT coefficients in natural (row-major) order.