File indexing completed on 2025-01-05 03:57:09
0001 /* -*- C++ -*- 0002 * Copyright 2019-2021 LibRaw LLC (info@libraw.org) 0003 * 0004 Placeholder functions to build LibRaw w/o postprocessing 0005 and preprocessing calls 0006 0007 LibRaw is free software; you can redistribute it and/or modify 0008 it under the terms of the one of two licenses as you choose: 0009 0010 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 0011 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 0012 0013 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 0014 (See file LICENSE.CDDL provided in LibRaw distribution archive for details). 0015 0016 */ 0017 0018 0019 #include "../../internal/dcraw_defs.h" 0020 int LibRaw::flip_index(int row, int col) 0021 { 0022 if (flip & 4) 0023 SWAP(row, col); 0024 if (flip & 2) 0025 row = iheight - 1 - row; 0026 if (flip & 1) 0027 col = iwidth - 1 - col; 0028 return row * iwidth + col; 0029 } 0030 0031 void LibRaw::write_ppm_tiff(){} 0032 void LibRaw::jpeg_thumb_writer(FILE *tfp, char *t_humb, int t_humb_length){} 0033 #if 0 0034 void LibRaw::ppm_thumb(){} 0035 void LibRaw::jpeg_thumb(){} 0036 void LibRaw::rollei_thumb(){} 0037 void LibRaw::ppm16_thumb(){} 0038 void LibRaw::layer_thumb(){} 0039 #endif