Skip to main content

stripe_count

Function stripe_count 

Source
pub fn stripe_count(height: i32, codec: Codec) -> usize
Expand description

How many horizontal regions a frame of height is split into, which is the choice of how much encode parallelism to spend on it.

A video codec streams whole frames, one region; JPEG fans out across cores, held to MAX_STRIPES and bounded so no stripe is shorter than MIN_STRIPE_HEIGHT rows. Both the encoder and the settings line report from here, so what is logged is what is encoded.