Tom Sepez 62c1230041 Add Rust-based BMP decoder
Honor the pdf_enable_rust_bmp GN build argument to allow building
PDFium with Skia's Rust-based BMP decoder instead of the legacy C++ BMP
decoder.

Add SkiaBmpDecoder and BmpDecoderDelegate to adapt the Rust BMP decoder
for ProgressiveDecoder.

-- Adjust minimum input size calculation for 24/32 bit skia results
   in ProgressiveDecoder.

TAG=agy
CONV=19661998-5d2f-4919-b147-d44fa811807c

Bug: 537855738
Change-Id: If87228e8e2b3b1224d631044a7931c2cdc79fd4d
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/152570
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
2026-07-24 10:51:28 -07:00
..
2026-07-24 10:51:28 -07:00