mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user