Skip to main content

check_cross_path_pixel_equivalence

Function check_cross_path_pixel_equivalence 

Source
pub fn check_cross_path_pixel_equivalence<E, D>(
    enc: E,
    dec: D,
    img: &TestImage,
) -> Conformance
where E: EncoderConfig, D: DecoderConfig, <E::Job as EncodeJob>::Enc: Encoder<Error = E::Error>,
Expand description

Every advertised feeding mode produces identical pixels.

Encode paths: one-shot, plus incremental push_rows when the encoder’s capabilities advertise it. Decode paths: one-shot, push-sink, plus streaming when advertised. All decoded results must equal each other and the input.