libarmbox: hdmi_colormetry added

choices:

- auto
- bt202ncl
- bt2020cl
- bt709


Origin commit data
------------------
Branch: master
Commit: bf895e3bdc
Author: Frankenstone <dampf_acc@online.de>
Date: 2021-12-02 (Thu, 02 Dec 2021)



------------------
This commit was generated by Migit
This commit is contained in:
Frankenstone
2021-12-02 16:59:21 +01:00
committed by vanhofen
parent dd892aaf4e
commit 4195e1acb0
2 changed files with 31 additions and 0 deletions

View File

@@ -36,6 +36,14 @@ typedef enum
COLORFORMAT_HDMI_YCBCR420
} COLOR_FORMAT;
typedef enum
{
HDMI_MODE_AUTO,
HDMI_MODE_BT2020NCL,
HDMI_MODE_BT2020CL,
HDMI_MODE_BT709
}HDMI_MODE;
typedef enum
{
VIDEO_FORMAT_MPEG2 = 0,
@@ -277,6 +285,7 @@ class cVideo
int StopVBI(void) { return 0; };
void SetDemux(cDemux *dmx);
void SetColorFormat(COLOR_FORMAT color_format);
void SetHdmiMode(HDMI_MODE hdmi_mode);
bool GetScreenImage(unsigned char *&data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
};