| 1 |
/*************************************************************************** |
| 2 |
record.h - description |
| 3 |
------------------- |
| 4 |
begin : Fri Nov 09 2001 |
| 5 |
copyright : (C) 2001 by Darko Matesic |
| 6 |
email : [email protected] |
| 7 |
***************************************************************************/ |
| 8 |
|
| 9 |
/*************************************************************************** |
| 10 |
* * |
| 11 |
* This program is free software; you can redistribute it and/or modify * |
| 12 |
* it under the terms of the GNU General Public License as published by * |
| 13 |
* the Free Software Foundation; either version 2 of the License, or * |
| 14 |
* (at your option) any later version. See also the license.txt file for * |
| 15 |
* additional informations. * |
| 16 |
* * |
| 17 |
***************************************************************************/ |
| 18 |
|
| 19 |
//*************************************************************************// |
| 20 |
// History of changes: |
| 21 |
// |
| 22 |
// 2001/12/18 - Darko Matesic |
| 23 |
// - two types of compression (16bit & 24bit) |
| 24 |
// - FPSE 24bit MDEC support |
| 25 |
// |
| 26 |
// 2001/11/09 - Darko Matesic |
| 27 |
// - first revision |
| 28 |
// |
| 29 |
//*************************************************************************// |
| 30 |
|
| 31 |
#ifndef _RECORD_H_ |
| 32 |
#define _RECORD_H_ |
| 33 |
|
| 34 |
#include <vfw.h> |
| 35 |
|
| 36 |
extern BOOL RECORD_RECORDING; |
| 37 |
extern BITMAPINFOHEADER RECORD_BI; |
| 38 |
extern unsigned char RECORD_BUFFER[1600*1200*3]; |
| 39 |
extern unsigned long RECORD_INDEX; |
| 40 |
extern unsigned long RECORD_RECORDING_MODE; |
| 41 |
extern unsigned long RECORD_VIDEO_SIZE; |
| 42 |
extern unsigned long RECORD_RECORDING_WIDTH; |
| 43 |
extern unsigned long RECORD_RECORDING_HEIGHT; |
| 44 |
extern unsigned long RECORD_FRAME_RATE_SCALE; |
| 45 |
extern unsigned long RECORD_COMPRESSION_MODE; |
| 46 |
extern COMPVARS RECORD_COMPRESSION1; |
| 47 |
extern unsigned char RECORD_COMPRESSION_STATE1[4096]; |
| 48 |
extern COMPVARS RECORD_COMPRESSION2; |
| 49 |
extern unsigned char RECORD_COMPRESSION_STATE2[4096]; |
| 50 |
|
| 51 |
BOOL RECORD_Start(); |
| 52 |
void RECORD_Stop(); |
| 53 |
BOOL RECORD_WriteFrame(); |
| 54 |
BOOL RECORD_GetFrame(); |
| 55 |
|
| 56 |
#endif |