#include <vidl2_frame.h>
Inheritance diagram for vidl2_frame:

Definition at line 27 of file vidl2_frame.h.
Public Member Functions | |
| virtual | ~vidl2_frame () |
| Destructor. | |
| virtual void | invalidate () |
| Make the buffer invalid (data()==0 and size()==0). | |
| virtual void * | data ()=0 |
| Return a pointer to the first element of data. | |
| virtual const void * | data () const=0 |
| virtual unsigned long | size () const=0 |
| The size of the buffer in bytes. | |
| unsigned | ni () const |
| Width. | |
| unsigned | nj () const |
| Height. | |
| vidl2_pixel_format | pixel_format () const |
| Return the pixel format. | |
| void | ref () |
| Increment reference count. | |
| void | unref () |
| Decrement reference count. | |
| int | ref_count () const |
| Number of objects referring to this data. | |
Protected Member Functions | |
| vidl2_frame () | |
| Constructor. | |
| vidl2_frame (unsigned ni, unsigned nj, vidl2_pixel_format fmt) | |
| Constructor. | |
Protected Attributes | |
| unsigned | ni_ |
| frame width. | |
| unsigned | nj_ |
| frame height. | |
| vidl2_pixel_format | format_ |
| frame pixel format. | |
Private Attributes | |
| int | ref_count_ |
| virtual vidl2_frame::~vidl2_frame | ( | ) | [inline, virtual] |
| vidl2_frame::vidl2_frame | ( | ) | [inline, protected] |
| vidl2_frame::vidl2_frame | ( | unsigned | ni, | |
| unsigned | nj, | |||
| vidl2_pixel_format | fmt | |||
| ) | [inline, protected] |
| virtual void vidl2_frame::invalidate | ( | ) | [inline, virtual] |
Make the buffer invalid (data()==0 and size()==0).
Reimplemented in vidl2_shared_frame, and vidl2_memory_chunk_frame.
Definition at line 34 of file vidl2_frame.h.
| virtual void* vidl2_frame::data | ( | ) | [pure virtual] |
Return a pointer to the first element of data.
Implemented in vidl2_shared_frame, and vidl2_memory_chunk_frame.
| virtual const void* vidl2_frame::data | ( | ) | const [pure virtual] |
Implemented in vidl2_shared_frame, and vidl2_memory_chunk_frame.
| virtual unsigned long vidl2_frame::size | ( | ) | const [pure virtual] |
| unsigned vidl2_frame::ni | ( | ) | const [inline] |
| unsigned vidl2_frame::nj | ( | ) | const [inline] |
| vidl2_pixel_format vidl2_frame::pixel_format | ( | ) | const [inline] |
| void vidl2_frame::ref | ( | ) | [inline] |
| void vidl2_frame::unref | ( | ) |
| int vidl2_frame::ref_count | ( | ) | const [inline] |
unsigned vidl2_frame::ni_ [protected] |
unsigned vidl2_frame::nj_ [protected] |
vidl2_pixel_format vidl2_frame::format_ [protected] |
int vidl2_frame::ref_count_ [private] |
Definition at line 82 of file vidl2_frame.h.
1.5.1