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

FilterYV12 Class Reference

#include <FilterSource.h>

Inheritance diagram for FilterYV12:

FilterBase

List of all members.


Detailed Description

class for YV12 conversion

Definition at line 97 of file FilterSource.h.


Public Member Functions

template<class SRC>
unsigned int convert (SRC src, short x, short y, short *size, unsigned int pixSize)
 convert pixel
 FilterYV12 (void)
 constructor
FilterBasefindFirst (void)
 find first filter in chain
unsigned int firstPixelSize (void)
 get first filter's source pixel size
virtual unsigned int getPixelSize (void)
 get source pixel size
PyFilter * getPrevious (void)
 get previous filter
virtual void release (void)
void setBuffs (unsigned char *buff, short *size)
 set pointers to color buffers
void setPrevious (PyFilter *filt, bool useRefCnt=true)
 set previous filter
virtual ~FilterYV12 (void)
 destructor

Protected Member Functions

template<class SRC>
unsigned int convertPrevious (SRC src, short x, short y, short *size, unsigned int pixSize)
 get converted pixel from previous filters
virtual unsigned int filter (unsigned int *src, short x, short y, short *size, unsigned int pixSize, unsigned int val=0)
 filter pixel, source int buffer
virtual unsigned int filter (unsigned char *src, short x, short y, short *size, unsigned int pixSize, unsigned int val)
 filter pixel, source byte buffer
unsigned char * interParA (unsigned char *src, short x, short size, short shift)
 get the first parameter on the low edge
unsigned char * interParC (unsigned char *src, short x, short size, short shift)
 get the third parameter on the high edge
unsigned char * interParD (unsigned char *src, short x, short size, short shift)
 get the fourth parameter on the high edge
int interpol (int a, int b, int c, int d)
 interpolation function
int interpolEH (unsigned char *src, short x, short size)
 horizontal interpolation on edges
int interpolEV (unsigned char *src, short y, short size)
 vertical interpolation on edges
int interpolEVH (unsigned char *src, short x, short y, short *size)
 joined vertical and horizontal interpolation on edges
int interpolH (unsigned char *src)
 common horizontal interpolation
int interpolV (unsigned char *src)
 common vertical interpolation
int interpolVH (unsigned char *src)
 common joined vertical and horizontal interpolation
bool isEdge (short x, short y, short *size)
 is pixel on edge

Protected Attributes

unsigned char * m_buffU
 begin of U buffer
unsigned char * m_buffV
 begin of V buffer
short m_pitchUV
 pitch for V & U buffers
PyFilter * m_previous
 previous pixel filter

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

Generated by  Doxygen 1.6.0   Back to index