videoLinuxDV.h
Go to the documentation of this file.
00001 /*******************************************************
00002  *
00003  * Author: Hirokazu Kato
00004  *
00005  *         kato@sys.im.hiroshima-cu.ac.jp
00006  *
00007  * Revision: 1.1
00008  * Date: 2002/01/01
00009  *
00010 *******************************************************/
00011 #ifndef AR_VIDEO_LINUX_DV_H
00012 #define AR_VIDEO_LINUX_DV_H
00013 #ifdef  __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 #include <AR/config.h>
00018 #include <AR/ar.h>
00019 
00020 #include <stdio.h>
00021 #include <string.h>
00022 #include <unistd.h>
00023 #include <libraw1394/raw1394.h>
00024 #include <libdv/dv.h>
00025 
00026 typedef struct {
00027     int              size;
00028     ARUint8         *buff_in;
00029     ARUint8         *buff_wait;
00030     ARUint8         *buff_out;
00031     int              fill_size_in;
00032     int              fill_size_wait;
00033     int              fill_size_out;
00034     int              read_size;
00035     pthread_mutex_t  mutex;
00036     int              init;
00037 } AR2VideoBufferT;
00038 
00039 typedef struct {
00040     int              mode;
00041     int              debug;
00042     int              status;
00043     raw1394handle_t  handle;
00044     pthread_t        capture;
00045     AR2VideoBufferT *buffer;
00046     int              packet_num;
00047     dv_decoder_t    *dv_decoder;
00048     ARUint8         *image;
00049 } AR2VideoParamT;
00050 
00051 #ifdef  __cplusplus
00052 }
00053 #endif
00054 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:00