Logo Search packages:      
Sourcecode: pfstools version File versions  Download package

pfs.h File Reference


Detailed Description

PFS library - core API interfaces.

Classes for reading and writing a stream of PFS frames.

Note on the design of pfs library API: pfs library API makes extensive usage of interfaces - classes that have only virtual methods. This way no private fields are visible for the client programs. Everything that is private is hidden in .cpp file rather than the header .h. For example, pfs library uses STL to store some internal data, but no STL class can be found the header file pfs.h. Such design should hopefully give less problems when extending and updating the library.

This file is a part of PFSTOOLS package. ---------------------------------------------------------------------- Copyright (C) 2003,2004 Rafal Mantiuk and Grzegorz Krawczyk

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ----------------------------------------------------------------------

Author:
Rafal Mantiuk, <mantiuk@mpi-sb.mpg.de>
Id
pfs.h,v 1.2 2006/03/01 17:21:16 rafm Exp

Definition in file pfs.h.

#include <stdio.h>
#include <string.h>
#include "array2d.h"

Go to the source code of this file.

Namespaces

namespace  pfs

Classes

class  pfs::Channel
class  pfs::ChannelIterator
class  pfs::CommandLineException
class  pfs::DOMIO
class  pfs::Exception
class  pfs::Frame
struct  pfs::FrameFile
class  pfs::FrameFileIterator
class  pfs::SelfDestructPtr< T >
class  pfs::TagContainer
class  pfs::TagIterator

Typedefs

typedef SelfDestructPtr
< ChannelIterator > 
pfs::ChannelIteratorPtr
typedef SelfDestructPtr
< TagIterator > 
pfs::TagIteratorPtr

Enumerations

enum  pfs::ColorSpace {
  pfs::CS_XYZ = 0, pfs::CS_RGB, pfs::CS_SRGB, pfs::CS_YUV,
  pfs::CS_Yxy, pfs::CS_LAST
}
 This enum is used to specify color spaces for transformColorSpace function. More...

Functions

void pfs::copyTags (const TagContainer *from, TagContainer *to)
void pfs::copyTags (Frame *from, Frame *to)
void pfs::transformColorSpace (ColorSpace inCS, const Array2D *inC1, const Array2D *inC2, const Array2D *inC3, ColorSpace outCS, Array2D *outC1, Array2D *outC2, Array2D *outC3)


Generated by  Doxygen 1.6.0   Back to index