#include <v4l.h>
Public Member Functions | |
| EncoderFrame () | |
| Rudimentary encoding class for raw dv frame. | |
| ~EncoderFrame () | |
| void | setVideo (void *, int, int) |
| void | setAudio (void *, int) |
Public Attributes | |
| uint8_t * | image |
| int | width |
| int | height |
| unsigned char | audio [10240] |
| int | length |
|
|
Rudimentary encoding class for raw dv frame.
Definition at line 726 of file v4l.cc. References image. 00727 {
00728 image = new uint8_t[ 720 * 576 * 3 ];
00729 }
|
|
|
Definition at line 731 of file v4l.cc. References image. 00732 {
00733 delete[] image;
00734 }
|
|
||||||||||||
|
Definition at line 747 of file v4l.cc.
|
|
||||||||||||||||
|
Definition at line 736 of file v4l.cc. References ENCODE_YUV. Referenced by GDKV4L::capture(). 00737 {
00738 if ( ENCODE_YUV )
00739 memcpy( this->image, ( unsigned char * ) image, width * height * 2 );
00740 else
00741 memcpy( this->image, ( unsigned char * ) image, ( width * height * 3 ) / 2 );
00742
00743 this->width = width;
00744 this->height = height;
00745 }
|
|
|
|
|
|
|
|
|
Definition at line 196 of file v4l.h. Referenced by EncoderFrame(), DvEncoder::writeThread(), and ~EncoderFrame(). |
|
|
|
|
|
|
1.4.2