hd2/libcoolstream/*.h: Update for new libcoolstream functions

- cs_get_lib_version()
 - cs_compare_lib_versions()
 - GetVideoSystem()
 - GetVideoSystemFormatName()
 - Add CS_CHIP_NEVIS definitions


Origin commit data
------------------
Commit: ab6ca5b606
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-10 (Fri, 10 Mar 2017)
This commit is contained in:
Michael Liebmann
2017-03-10 14:25:06 +01:00
parent 5b136d4c55
commit cd4922c0c2
2 changed files with 36 additions and 0 deletions

View File

@@ -152,6 +152,12 @@ typedef enum
VIDEO_CONTROL_MAX = VIDEO_CONTROL_SHARPNESS
} VIDEO_CONTROL;
typedef struct cs_vs_format_t
{
char formatHD[16];
char formatSD[16];
} cs_vs_format_struct_t;
class cDemux;
class cAudio;
@@ -190,6 +196,7 @@ private:
analog_mode_t analog_mode_scart;
fp_icon mode_icon;
cDemux *demux;
int current_video_system;
//
int SelectAutoFormat();
void ScalePic();
@@ -243,6 +250,11 @@ public:
int64_t GetPTS(void);
int Flush(void);
/* get video system infos */
int GetVideoSystem();
/* when system = -1 then use current video system */
void GetVideoSystemFormatName(cs_vs_format_t* format, int system = -1);
/* set video_system */
int SetVideoSystem(int video_system, bool remember = true);
int SetStreamType(VIDEO_FORMAT type);