VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::CaptureBufferScale Class Reference

A structure holding capture buffer dimensions. More...

#include <gvcapturebuffer.h>

Public Member Functions

 CaptureBufferScale ()
 Default constructor.
 
 CaptureBufferScale (size_t buffersize_, size_t linesize_, size_t dx_, size_t dy_)
 Constructor.
 
bool is_simple (int dx, int dy) const
 Returns true if this buffer scale matches the given image size using packed rgb with no end-of-line padding. More...
 

Public Attributes

size_t m_buffersize
 
size_t m_linesize
 
size_t m_dx
 
size_t m_dy
 
size_t m_xy
 
size_t m_xy2
 
size_t m_xy4
 
size_t m_xy8
 

Detailed Description

A structure holding capture buffer dimensions.

The dimensions are obtained from a successful set-format ioctl.

Definition at line 43 of file gvcapturebuffer.h.

Member Function Documentation

bool Gv::CaptureBufferScale::is_simple ( int  dx,
int  dy 
) const
inline

Returns true if this buffer scale matches the given image size using packed rgb with no end-of-line padding.

Definition at line 329 of file gvcapturebuffer.h.


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