pgm_structure Struct Reference

Simple implementation of the PGM image format. More...


Data Fields

unsigned int width
unsigned int height
unsigned char * pixel


Detailed Description

Simple implementation of the PGM image format.

This struct holds a bare-bones image loaded from a PGM or PPM file. Once loaded and pre-processed, each pixel in this struct will contain how far from the edge of the logo each pixel is, using the manhattan distance (|dx| + |dy|).

pixels in char * pixel can be addressed using (y * width) + height.

Definition at line 129 of file vf_remove_logo.c.


Field Documentation

unsigned int pgm_structure::height

unsigned char* pgm_structure::pixel

unsigned int pgm_structure::width


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:39:52 2012 for FFmpeg by  doxygen 1.5.8