Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vframe.C File Reference

#include <png.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "bcsignals.h"
#include "clip.h"
#include "colormodels.h"
#include "vframe.h"

Go to the source code of this file.

Classes

class  PngReadFunction

Defines

#define ZERO_YUV(components, type, max)
#define OVERLAY(type, max, components)


Define Documentation

#define OVERLAY type,
max,
components   ) 
 

Definition at line 691 of file vframe.C.

#define ZERO_YUV components,
type,
max   ) 
 

Value:

{ \
        for(int i = 0; i < h; i++) \
        { \
                type *row = (type*)get_rows()[i]; \
                for(int j = 0; j < w; j++) \
                { \
                        row[j * components] = 0; \
                        row[j * components + 1] = (max + 1) / 2; \
                        row[j * components + 2] = (max + 1) / 2; \
                        if(components == 4) row[j * components + 3] = 0; \
                } \
        } \
}

Definition at line 521 of file vframe.C.


Generated on Sun Jan 8 13:26:36 2006 for Guicast-svn by  doxygen 1.4.4