Deduplicate cr3 image loader
authorArkadiy Illarionov <qarkai@gmail.com>
Mon, 19 Feb 2024 20:07:48 +0000 (23:07 +0300)
committerColin Clark <colin.clark@cclark.uk>
Wed, 21 Feb 2024 11:57:49 +0000 (11:57 +0000)
commit9336f097b64824c3736c21d212f3f72a4e0c52e0
treed253d3792eb071d793e62abd34b89f47e3a3c7cb
parent9ff691a2b66dd05e1888b280ea83b34f73a1e318
Deduplicate cr3 image loader

Make it wrapper of jpeg image loader.
Add HAVE_RAW define check to make consistent with usage in image-load.
Move static functions to anonymous namespace.
src/image-load-cr3.cc
src/image-load-cr3.h
src/image-load-jpeg.cc
src/image-load-jpeg.h