pnmparser.cc File Reference

#include "pnmparser.h"
#include "geom/vec2.h"
#include "media/bmapdata.h"
#include "rutz/error.h"
#include "rutz/fstring.h"
#include "rutz/gzstreambuf.h"
#include "rutz/sfmt.h"
#include "rutz/shared_ptr.h"
#include <cctype>
#include <iostream>
#include "rutz/trace.h"
#include "rutz/debug.h"

Include dependency graph for pnmparser.cc:

Go to the source code of this file.

Namespaces

namespace  GVX_DBG_REGISTER

Functions

int GVX_DBG_REGISTER::mode_for_bit_depth (int depth)
int GVX_DBG_REGISTER::bit_depth_for_mode (int mode)
void GVX_DBG_REGISTER::parse_pbm_mode_1 (std::istream &is, media::bmap_data &data)
void GVX_DBG_REGISTER::parse_pbm_mode_23 (std::istream &is, media::bmap_data &data, int max_grey)
void GVX_DBG_REGISTER::parse_pbm_mode_456 (std::istream &is, media::bmap_data &data, int max_grey, int mode)
void media::save_pnm (const char *filename, const media::bmap_data &data)
 Save data in PBM format to the file filename.
void media::save_pnm (std::ostream &os, const media::bmap_data &data)
 Save data in PBM format to the std::ostream os.
void media::load_pnm (const char *filename, media::bmap_data &data)
 Load data in PBM format from the file filename.
void media::load_pnm (std::istream &is, media::bmap_data &data)
 Load data in PBM format from the std::ostream os.


Detailed Description

load/save pnm images (i.e., pbm, pgm, ppm)

Definition in file pnmparser.cc.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:51:07 2008 by Doxygen version 1.5.5.