HF RL Explorer

We need a way to incrementally decode AVIF images that are encoded as a grid of tiles (e.g., 1×5 grid), so…

We need a way to incrementally decode AVIF images that are encoded as a grid of tiles (e.g., 1×5 grid), so…: a task in LegoFlow-SWE (Harbor dataset). while (more bytes available) { avifResult result = avifDecoderNextImage(decoder); if (result == AVIF RESULT OK) { uint32 t decodedRows =…

The task

while (more_bytes_available) { avifResult result = avifDecoderNextImage(decoder); if (result == AVIF_RESULT_OK) { uint32_t decodedRows = avifDecoderDecodedRowCount(decoder); // Read the first decodedRows of luma/alpha/chroma from decoder->image } else if (result != AVIF_RESULT_WAITING_ON_IO) { // handle other errors…

Part of Lego-X/LegoFlow-SWE.