#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"
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. |
Definition in file pnmparser.cc.