⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 thread_iso.h

📁 Coriander is a GUI for controlling a Digital Camera (in the sense of the IIDC specs issued by the 1
💻 H
字号:
/* * Copyright (C) 2000-2003 Damien Douxchamps  <ddouxchamps@users.sf.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */#ifndef __THREAD_ISO_H__#define __THREAD_ISO_H__typedef enum{  RECEIVE_METHOD_RAW1394=0,   RECEIVE_METHOD_VIDEO1394} receive_method_t;typedef struct{   raw1394handle_t         handle;  receive_method_t        receive_method;  dc1394_cameracapture    capture;  int video1394_dropframes;  char video1394_device[STRING_SIZE];  unsigned char *temp;  long long unsigned int temp_size;  int temp_allocated;  int orig_sizex;  int orig_sizey;  int cond16bit;  int dma_buffer_size;  struct timeval rawtime;} isothread_info_t;gintIsoStartThread(camera_t* cam);void*IsoCleanupThread(void* arg);void*IsoThread(void* arg);gintIsoStopThread(camera_t* camera);voidIsoThreadCheckParams(chain_t *iso_service);voidAllocTempBuffer(long long unsigned int requested_size, isothread_info_t* info);voidAllocImageBuffer(chain_t* iso_service);voidSetColorMode(buffer_t *buffer);#endif // __THREAD_ISO_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -