mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
- unify defines in header files
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __ca__
|
#ifndef __CA_H__
|
||||||
#define __ca__
|
#define __CA_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
@@ -116,4 +116,4 @@ public:
|
|||||||
virtual ~cCA();
|
virtual ~cCA();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __ca__
|
#endif // __CA_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __ca_ci__
|
#ifndef __CA_CI_H__
|
||||||
#define __ca_ci__
|
#define __CA_CI_H__
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -362,4 +362,4 @@ public:
|
|||||||
virtual ~cCA();
|
virtual ~cCA();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __ca_ci__
|
#endif // __CA_CI_H__
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/* compatibility header for tripledragon. I'm lazy, so I just left it
|
/* compatibility header for tripledragon. I'm lazy, so I just left it
|
||||||
as "cs_api.h" so that I don't need too many ifdefs in the code */
|
as "cs_api.h" so that I don't need too many ifdefs in the code */
|
||||||
|
|
||||||
#ifndef __CS_API_H_
|
#ifndef __CS_API_H__
|
||||||
#define __CS_API_H_
|
#define __CS_API_H_
|
||||||
|
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
@@ -34,4 +34,5 @@ static inline void cs_deregister_messenger(void) { return; };
|
|||||||
static inline unsigned int cs_get_revision(void) { return 1; };
|
static inline unsigned int cs_get_revision(void) { return 1; };
|
||||||
static inline unsigned int cs_get_chip_type(void) { return 0; };
|
static inline unsigned int cs_get_chip_type(void) { return 0; };
|
||||||
extern int cnxt_debug;
|
extern int cnxt_debug;
|
||||||
#endif //__CS_API_H_
|
|
||||||
|
#endif // __CS_API_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __CS_FRONTPANEL_H_
|
#ifndef __CS_FRONTPANEL_H__
|
||||||
#define __CS_FRONTPANEL_H_
|
#define __CS_FRONTPANEL_H__
|
||||||
|
|
||||||
#define VFDDISPLAYCHARS 0xc0425a00
|
#define VFDDISPLAYCHARS 0xc0425a00
|
||||||
#define VFDWRITECGRAM 0x40425a01
|
#define VFDWRITECGRAM 0x40425a01
|
||||||
@@ -317,4 +317,4 @@ typedef struct {
|
|||||||
bool number_support;
|
bool number_support;
|
||||||
} fp_display_caps_t;
|
} fp_display_caps_t;
|
||||||
|
|
||||||
#endif // __CS_FRONTPANEL_H_
|
#endif // __CS_FRONTPANEL_H__
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
/* pretty useless, but we don't need to work around this if
|
/* pretty useless, but we don't need to work around this if
|
||||||
* we just copy it over... */
|
* we just copy it over... */
|
||||||
|
|
||||||
#ifndef __CS_TYPES_H_
|
#ifndef __CS_TYPES_H__
|
||||||
#define __CS_TYPES_H_
|
#define __CS_TYPES_H__
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
@@ -20,4 +20,4 @@ typedef signed int s32;
|
|||||||
typedef signed short s16;
|
typedef signed short s16;
|
||||||
typedef signed char s8;
|
typedef signed char s8;
|
||||||
|
|
||||||
#endif // __CS_TYPES_H_
|
#endif // __CS_TYPES_H__
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __dmx_hal__
|
#ifndef __DMX_HAL_H__
|
||||||
#define __dmx_hal__
|
#define __DMX_HAL_H__
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
@@ -99,4 +99,4 @@ class cDemux
|
|||||||
void *pdata;
|
void *pdata;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__dmx_hal__
|
#endif // __DMX_HAL_H__
|
||||||
|
@@ -16,8 +16,9 @@
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __glfb__
|
#ifndef __GLFB_H__
|
||||||
#define __glfb__
|
#define __GLFB_H__
|
||||||
|
|
||||||
#include <OpenThreads/Thread>
|
#include <OpenThreads/Thread>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <linux/fb.h> /* for screeninfo etc. */
|
#include <linux/fb.h> /* for screeninfo etc. */
|
||||||
@@ -39,4 +40,5 @@ private:
|
|||||||
void blit_osd();
|
void blit_osd();
|
||||||
void *pdata; /* not yet used */
|
void *pdata; /* not yet used */
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __GLFB_H__
|
||||||
|
@@ -53,4 +53,5 @@ hw_caps_t *get_hwcaps(void);
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
#endif // __HARDWARE_CAPS_H__
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
#ifndef __init__
|
#ifndef __INIT_H__
|
||||||
#define __init__
|
#define __INIT_H__
|
||||||
|
|
||||||
void hal_api_init();
|
void hal_api_init();
|
||||||
void hal_api_exit();
|
void hal_api_exit();
|
||||||
#endif // __init__
|
|
||||||
|
#endif // __INIT_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __MMI_H_
|
#ifndef __MMI_H__
|
||||||
#define __MMI_H_
|
#define __MMI_H__
|
||||||
|
|
||||||
#define MAX_MMI_ITEMS 40
|
#define MAX_MMI_ITEMS 40
|
||||||
#define MAX_MMI_TEXT_LEN 255
|
#define MAX_MMI_TEXT_LEN 255
|
||||||
@@ -47,5 +47,5 @@ typedef struct {
|
|||||||
#define enguiryText enquiryText
|
#define enguiryText enquiryText
|
||||||
#define MMI_ENGUIRY_INFO MMI_ENQUIRY_INFO
|
#define MMI_ENGUIRY_INFO MMI_ENQUIRY_INFO
|
||||||
|
|
||||||
#endif // __MMI_H_
|
#endif // __MMI_H__
|
||||||
|
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __pwrmngr_hal__
|
#ifndef __PWRMNGR_H__
|
||||||
#define __pwrmngr_hal__
|
#define __PWRMNGR_H__
|
||||||
|
|
||||||
class cCpuFreqManager
|
class cCpuFreqManager
|
||||||
{
|
{
|
||||||
@@ -44,4 +44,4 @@ public:
|
|||||||
bool SetStandby(bool Active, bool Passive);
|
bool SetStandby(bool Active, bool Passive);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __PWRMNGR_H__
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/* public header file */
|
/* public header file */
|
||||||
|
|
||||||
#ifndef _AUDIO_LIB_H_
|
#ifndef __AUDIO_LIB_H__
|
||||||
#define _AUDIO_LIB_H_
|
#define __AUDIO_LIB_H__
|
||||||
|
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
|
|
||||||
@@ -98,4 +98,4 @@ class cAudio
|
|||||||
void EnableAnalogOut(bool enable);
|
void EnableAnalogOut(bool enable);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __AUDIO_LIB_H__
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
|
#ifndef __HDMI_CEC_H__
|
||||||
|
#define __HDMI_CEC_H__
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (C) 2018 TangoCash
|
Copyright (C) 2018 TangoCash
|
||||||
|
|
||||||
@@ -92,3 +95,5 @@ public:
|
|||||||
return muted;
|
return muted;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // __HDMI_CEC_H__
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
|
#ifndef __HDMI_CEC_TYPES_H__
|
||||||
|
#define __HDMI_CEC_TYPES_H__
|
||||||
|
|
||||||
typedef enum cec_vendor_id
|
typedef enum cec_vendor_id
|
||||||
{
|
{
|
||||||
CEC_VENDOR_TOSHIBA = 0x000039,
|
CEC_VENDOR_TOSHIBA = 0x000039,
|
||||||
@@ -706,3 +709,5 @@ static cec_opcode GetResponseOpcode(cec_opcode opcode)
|
|||||||
|
|
||||||
return CEC_OPCODE_NONE;
|
return CEC_OPCODE_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // __HDMI_CEC_TYPES_H__
|
||||||
|
@@ -16,8 +16,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PLAYBACK_CS_H
|
#ifndef __PLAYBACK_GST_H__
|
||||||
#define __PLAYBACK_CS_H
|
#define __PLAYBACK_GST_H__
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -104,5 +104,4 @@ public:
|
|||||||
void getMeta();
|
void getMeta();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __PLAYBACK_GST_H__
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __HAL_PLAYBACK_H
|
#ifndef __PLAYBACK_LIBEPLAYER3_H__
|
||||||
#define __HAL_PLAYBACK_H
|
#define __PLAYBACK_LIBEPLAYER3_H__
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -86,4 +86,5 @@ class cPlayback
|
|||||||
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __PLAYBACK_LIBEPLAYER3_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __record_hal__
|
#ifndef __RECORD_LIB_H__
|
||||||
#define __record_hal__
|
#define __RECORD_LIB_H__
|
||||||
|
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
#include "dmx_hal.h"
|
#include "dmx_hal.h"
|
||||||
@@ -53,4 +53,5 @@ class cRecord
|
|||||||
void RecordThread();
|
void RecordThread();
|
||||||
void WriterThread();
|
void WriterThread();
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __RECORD_LIB_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _VIDEO_LIB_H
|
#ifndef __VIDEO_LIB_H__
|
||||||
#define _VIDEO_LIB_H
|
#define __VIDEO_LIB_H__
|
||||||
|
|
||||||
#include <linux/dvb/video.h>
|
#include <linux/dvb/video.h>
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
@@ -254,4 +254,4 @@ class cVideo
|
|||||||
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __VIDEO_LIB_H__
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/* public header file */
|
/* public header file */
|
||||||
|
|
||||||
#ifndef _AUDIO_LIB_H_
|
#ifndef __AUDIO_LIB_H__
|
||||||
#define _AUDIO_LIB_H_
|
#define __AUDIO_LIB_H__
|
||||||
|
|
||||||
#include "../common/cs_types.h"
|
#include "../common/cs_types.h"
|
||||||
|
|
||||||
@@ -94,5 +94,4 @@ class cAudio
|
|||||||
void EnableAnalogOut(bool enable);
|
void EnableAnalogOut(bool enable);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __AUDIO_LIB_H__
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __PLAYBACK_LIB_H_
|
#ifndef __PLAYBACK_LIB_H__
|
||||||
#define __PLAYBACK_LIB_H_
|
#define __PLAYBACK_LIB_H__
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -59,4 +59,4 @@ class cPlayback
|
|||||||
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#endif // __PLAYBACK_LIB_H_
|
#endif // __PLAYBACK_LIB_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _VIDEO_LIB_H
|
#ifndef __VIDEO_LIB_H__
|
||||||
#define _VIDEO_LIB_H
|
#define __VIDEO_LIB_H__
|
||||||
|
|
||||||
#include <linux/dvb/video.h>
|
#include <linux/dvb/video.h>
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
@@ -193,4 +193,4 @@ class cVideo
|
|||||||
void SetDemux(cDemux *dmx);
|
void SetDemux(cDemux *dmx);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __VIDEO_LIB_H__
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/* public header file */
|
/* public header file */
|
||||||
|
|
||||||
#ifndef _AUDIO_LIB_H_
|
#ifndef __AUDIO_LIB_H__
|
||||||
#define _AUDIO_LIB_H_
|
#define __AUDIO_LIB_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <OpenThreads/Thread>
|
#include <OpenThreads/Thread>
|
||||||
@@ -102,4 +102,4 @@ class cAudio : public OpenThreads::Thread
|
|||||||
int my_read(uint8_t *buf, int buf_size);
|
int my_read(uint8_t *buf, int buf_size);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __AUDIO_LIB_H__
|
||||||
|
@@ -16,8 +16,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PLAYBACK_CS_H
|
#ifndef __PLAYBACK_GST_H__
|
||||||
#define __PLAYBACK_CS_H
|
#define __PLAYBACK_GST_H__
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -103,5 +103,4 @@ public:
|
|||||||
void getMeta();
|
void getMeta();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __PLAYBACK_GST_H__
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __PLAYBACK_H
|
#ifndef __PLAYBACK_LIB_H__
|
||||||
#define __PLAYBACK_H
|
#define __PLAYBACK_LIB_H__
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -57,4 +57,5 @@ class cPlayback
|
|||||||
AVFormatContext *GetAVFormatContext(){ return NULL; }
|
AVFormatContext *GetAVFormatContext(){ return NULL; }
|
||||||
void ReleaseAVFormatContext() {}
|
void ReleaseAVFormatContext() {}
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __PLAYBACK_LIB_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _VIDEO_LIB_H
|
#ifndef __VIDEO_LIB_H__
|
||||||
#define _VIDEO_LIB_H
|
#define __VIDEO_LIB_H__
|
||||||
|
|
||||||
#include <OpenThreads/Thread>
|
#include <OpenThreads/Thread>
|
||||||
#include <OpenThreads/Mutex>
|
#include <OpenThreads/Mutex>
|
||||||
@@ -224,4 +224,4 @@ class cVideo : public OpenThreads::Thread
|
|||||||
bool stillpicture;
|
bool stillpicture;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __VIDEO_LIB_H__
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/* public header file */
|
/* public header file */
|
||||||
|
|
||||||
#ifndef _AUDIO_LIB_H_
|
#ifndef __AUDIO_LIB_H__
|
||||||
#define _AUDIO_LIB_H_
|
#define __AUDIO_LIB_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
@@ -100,5 +100,4 @@ class cAudio
|
|||||||
int my_read(uint8_t *buf, int buf_size);
|
int my_read(uint8_t *buf, int buf_size);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __AUDIO_LIB_H__
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __dmx_hal__
|
#ifndef __DMX_LIB_H__
|
||||||
#define __dmx_hal__
|
#define __DMX_LIB_H__
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -66,4 +66,4 @@ class cDemux
|
|||||||
void *pdata;
|
void *pdata;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__dmx_hal__
|
#endif // __DMX_LIB_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _VIDEO_LIB_H
|
#ifndef __VIDEO_LIB_H__
|
||||||
#define _VIDEO_LIB_H
|
#define __VIDEO_LIB_H__
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <linux/dvb/video.h>
|
#include <linux/dvb/video.h>
|
||||||
@@ -213,4 +213,4 @@ class cVideo
|
|||||||
int pig_h;
|
int pig_h;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __VIDEO_LIB_H__
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
/* public header file */
|
/* public header file */
|
||||||
|
|
||||||
#ifndef _AUDIO_TD_H_
|
#ifndef __AUDIO_LIB_H__
|
||||||
#define _AUDIO_TD_H_
|
#define __AUDIO_LIB_H__
|
||||||
|
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
@@ -106,4 +107,4 @@ class cAudio
|
|||||||
void muteMixers(bool m = true);
|
void muteMixers(bool m = true);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __AUDIO_LIB_H__
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#ifndef __AUDIO_MIXER_H__
|
#ifndef __AUDIO_MIXER_H__
|
||||||
#define __AUDIO_MIXER_H__
|
#define __AUDIO_MIXER_H__
|
||||||
|
|
||||||
#include <alsa/asoundlib.h>
|
#include <alsa/asoundlib.h>
|
||||||
|
|
||||||
class mixerVolume
|
class mixerVolume
|
||||||
@@ -32,5 +33,5 @@ class mixerVolume
|
|||||||
~mixerVolume(void);
|
~mixerVolume(void);
|
||||||
bool setVolume(long volume);
|
bool setVolume(long volume);
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#endif // __AUDIO_MIXER_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __HAL_PLAYBACK_H
|
#ifndef __PLAYBACK_LIBEPLAYER3_H__
|
||||||
#define __HAL_PLAYBACK_H
|
#define __PLAYBACK_LIBEPLAYER3_H__
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -89,4 +89,5 @@ class cPlayback
|
|||||||
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __PLAYBACK_LIBEPLAYER3_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __record_hal__
|
#ifndef __RECORD_LIB_H__
|
||||||
#define __record_hal__
|
#define __RECORD_LIB_H__
|
||||||
|
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
#include "dmx_hal.h"
|
#include "dmx_hal.h"
|
||||||
@@ -53,4 +53,5 @@ class cRecord
|
|||||||
void RecordThread();
|
void RecordThread();
|
||||||
void WriterThread();
|
void WriterThread();
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __RECORD_LIB_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _VIDEO_LIB_H
|
#ifndef __VIDEO_LIB_H__
|
||||||
#define _VIDEO_LIB_H
|
#define __VIDEO_LIB_H__
|
||||||
|
|
||||||
#include <linux/dvb/video.h>
|
#include <linux/dvb/video.h>
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
@@ -219,4 +219,4 @@ class cVideo
|
|||||||
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __VIDEO_LIB_H__
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/* public header file */
|
/* public header file */
|
||||||
|
|
||||||
#ifndef _AUDIO_TD_H_
|
#ifndef __AUDIO_TD_H__
|
||||||
#define _AUDIO_TD_H_
|
#define __AUDIO_TD_H__
|
||||||
|
|
||||||
#include <hardware/aud/aud_inf.h>
|
#include <hardware/aud/aud_inf.h>
|
||||||
#include "cs_types.h"
|
#include "cs_types.h"
|
||||||
@@ -95,5 +95,4 @@ class cAudio
|
|||||||
void EnableAnalogOut(bool enable);
|
void EnableAnalogOut(bool enable);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __AUDIO_TD_H__
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __PLAYBACK_TD_H
|
#ifndef __PLAYBACK_TD_H__
|
||||||
#define __PLAYBACK_TD_H
|
#define __PLAYBACK_TD_H__
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
@@ -125,4 +125,5 @@ class cPlayback
|
|||||||
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __PLAYBACK_TD_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef __RECORD_TD_H
|
#ifndef __RECORD_TD_H__
|
||||||
#define __RECORD_TD_H
|
#define __RECORD_TD_H__
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include "dmx_hal.h"
|
#include "dmx_hal.h"
|
||||||
@@ -40,4 +40,5 @@ class cRecord
|
|||||||
|
|
||||||
void RecordThread();
|
void RecordThread();
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __RECORD_TD_H__
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _VIDEO_TD_H
|
#ifndef __VIDEO_TD_H__
|
||||||
#define _VIDEO_TD_H
|
#define __VIDEO_TD_H__
|
||||||
|
|
||||||
#include <hardware/vid/vid_inf.h>
|
#include <hardware/vid/vid_inf.h>
|
||||||
#define video_format_t vidDispSize_t
|
#define video_format_t vidDispSize_t
|
||||||
@@ -193,4 +193,4 @@ class cVideo
|
|||||||
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // __VIDEO_TD_H__
|
||||||
|
Reference in New Issue
Block a user