|
| | FileReader (Read *, int fd, const unsigned char *buffer, FILE_OFFSET buflength) |
| |
| | ~FileReader () override |
| |
| int | lock (FILE_OFFSET offset, int min_length, int length) |
| |
| int | lock (FILE_OFFSET offset, int l) |
| |
| int | lock (FILE_OFFSET offset, unsigned l) |
| |
| const unsigned char & | byte (FILE_OFFSET n) const |
| |
| const unsigned char * | at (FILE_OFFSET n) const |
| |
| void | unlock () |
| |
| int | read (void *p, FILE_OFFSET offset, int min_, int max_) |
| |
| int | read (void *p, FILE_OFFSET offset, int l) |
| |
| int | read (void *p, FILE_OFFSET offset, unsigned l) |
| |
| bool | readAllLinesRequested () const |
| |
| | Reader (Read *iop) |
| |
| virtual | ~Reader () |
| |
|
virtual bool | supports_stereo () const |
| |
|
virtual bool | fileStereo () const |
| |
|
virtual bool | videosequence () const |
| |
|
int | rowPadMultiple () const noexcept |
| | Rows must be padded to be multiples of this value, in bytes. 0 means no padding.
|
| |
|
void | setRowPadMultiple (int rowPadMultiple) noexcept |
| | Rows must be padded to be multiples of this value, in bytes. 0 means no padding.
|
| |
|
bool | aborted () const |
| | Allows a reader to check directly if its op has been aborted.
|
| |
|
const Iop::Info & | info () const |
| |
|
int | x () const |
| |
|
int | y () const |
| |
|
int | r () const |
| |
|
int | t () const |
| |
|
int | w () const |
| |
|
int | h () const |
| |
|
bool | is_constant () const |
| |
|
int | clampx (int x) const |
| |
|
int | clampy (int y) const |
| |
|
const Format & | format () const |
| |
|
const Format & | full_size_format () const |
| |
|
int | ydirection () const |
| |
|
ChannelMask | channels () const |
| |
|
int | first_frame () const |
| |
|
int | last_frame () const |
| |
| int | width () const |
| |
| int | height () const |
| |
| const char * | filename () const |
| |
| int | frame () const |
| |
| bool | premult () const |
| |
| Channel | channel (const char *name) |
| |
| const char * | channel_name (Channel c) |
| |
| void | format (const Format &f) |
| |
| void | full_size_format (const Format &f) |
| |
| virtual void | setLUT (LUT *lut) |
| |
| virtual LUT * | lut () |
| |
| virtual std::string | getDefaultColorspace () const |
| |
|
ReaderImpl * | getImpl () |
| | Get private implementation.
|
| |
|
ReaderImpl * | getImpl () const |
| |
| virtual AudioReaderI * | audioReader () |
| |
|
| static U32 | lsb32 (const unsigned char *p) |
| |
| static U32 | msb32 (const unsigned char *p) |
| |
| static U16 | lsb16 (const unsigned char *p) |
| |
| static U16 | msb16 (const unsigned char *p) |
| |
| static void | flip (U16 *p, unsigned n) |
| |
| static void | flip (U32 *p, unsigned n) |
| |
|
static void | flip (U64 *p, unsigned n) |
| |
| static void | fromlsb (U64 *p, unsigned n) |
| |
| static void | frommsb (U64 *p, unsigned n) |
| |
| static void | fromlsb (U32 *p, unsigned n) |
| |
| static void | frommsb (U32 *p, unsigned n) |
| |
| static void | fromlsb (U16 *p, unsigned n) |
| |
| static void | frommsb (U16 *p, unsigned n) |
| |
|
static void | setInPreviewMode (bool preview) |
| |
|
static bool | inPreviewMode () |
| |
| enum | PlanarPreference { ePlanarNever,
ePlanarAllow,
ePlanarAlways
} |
| |
| virtual void | prefetchMetaData () |
| |
|
virtual const MetaData::Bundle & | fetchMetaData (const char *key) |
| |
| virtual PlanarPreference | planarPreference () const |
| |
| virtual bool | useStripes () const |
| |
| virtual size_t | stripeHeight () const |
| |
| virtual PlanarI::PlaneID | getPlaneFromChannel (Channel chan) |
| |
| virtual void | open () |
| |
| virtual void | engine (int y, int x, int r, ChannelMask, Row &) |
| |
| virtual void | fetchPlane (ImagePlane &imagePlane) |
| |
| void | from_byte (Channel z, float *, const uchar *, const uchar *, int W, int delta=1) |
| |
| void | from_short (Channel z, float *, const U16 *, const U16 *, int W, int bits, int delta=1) |
| |
| void | from_float (Channel z, float *, const float *, const float *, int W, int delta=1) |
| |
| void | set_info (int width, int height, int depth, double aspect=0) |
| |
|
Read * | iop |
| |
|
LUT * | lut_ |
| |
|
Iop::Info | info_ |
| |
Reader subclass to read Unix files. This Reader subclass will read Unix files as blocks of memory and tries to be somewhat multi-threaded and have as little overhead as possible. This is used by most of the file formats.