|
@@ -225,16 +225,6 @@ int hdmi_audio_infoframe_init(struct hdmi_audio_infoframe *frame);
|
|
ssize_t hdmi_audio_infoframe_pack(struct hdmi_audio_infoframe *frame,
|
|
ssize_t hdmi_audio_infoframe_pack(struct hdmi_audio_infoframe *frame,
|
|
void *buffer, size_t size);
|
|
void *buffer, size_t size);
|
|
|
|
|
|
-struct hdmi_vendor_infoframe {
|
|
|
|
- enum hdmi_infoframe_type type;
|
|
|
|
- unsigned char version;
|
|
|
|
- unsigned char length;
|
|
|
|
- u8 data[27];
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
-ssize_t hdmi_vendor_infoframe_pack(struct hdmi_vendor_infoframe *frame,
|
|
|
|
- void *buffer, size_t size);
|
|
|
|
-
|
|
|
|
enum hdmi_3d_structure {
|
|
enum hdmi_3d_structure {
|
|
HDMI_3D_STRUCTURE_INVALID = -1,
|
|
HDMI_3D_STRUCTURE_INVALID = -1,
|
|
HDMI_3D_STRUCTURE_FRAME_PACKING = 0,
|
|
HDMI_3D_STRUCTURE_FRAME_PACKING = 0,
|
|
@@ -251,6 +241,7 @@ struct hdmi_hdmi_infoframe {
|
|
enum hdmi_infoframe_type type;
|
|
enum hdmi_infoframe_type type;
|
|
unsigned char version;
|
|
unsigned char version;
|
|
unsigned char length;
|
|
unsigned char length;
|
|
|
|
+ unsigned int oui;
|
|
u8 vic;
|
|
u8 vic;
|
|
enum hdmi_3d_structure s3d_struct;
|
|
enum hdmi_3d_structure s3d_struct;
|
|
unsigned int s3d_ext_data;
|
|
unsigned int s3d_ext_data;
|
|
@@ -260,12 +251,21 @@ int hdmi_hdmi_infoframe_init(struct hdmi_hdmi_infoframe *frame);
|
|
ssize_t hdmi_hdmi_infoframe_pack(struct hdmi_hdmi_infoframe *frame,
|
|
ssize_t hdmi_hdmi_infoframe_pack(struct hdmi_hdmi_infoframe *frame,
|
|
void *buffer, size_t size);
|
|
void *buffer, size_t size);
|
|
|
|
|
|
|
|
+union hdmi_vendor_infoframe {
|
|
|
|
+ struct {
|
|
|
|
+ enum hdmi_infoframe_type type;
|
|
|
|
+ unsigned char version;
|
|
|
|
+ unsigned char length;
|
|
|
|
+ unsigned int oui;
|
|
|
|
+ } any;
|
|
|
|
+ struct hdmi_hdmi_infoframe hdmi;
|
|
|
|
+};
|
|
|
|
+
|
|
union hdmi_infoframe {
|
|
union hdmi_infoframe {
|
|
struct hdmi_any_infoframe any;
|
|
struct hdmi_any_infoframe any;
|
|
struct hdmi_avi_infoframe avi;
|
|
struct hdmi_avi_infoframe avi;
|
|
struct hdmi_spd_infoframe spd;
|
|
struct hdmi_spd_infoframe spd;
|
|
- struct hdmi_vendor_infoframe vendor;
|
|
|
|
- struct hdmi_hdmi_infoframe hdmi;
|
|
|
|
|
|
+ union hdmi_vendor_infoframe vendor;
|
|
struct hdmi_audio_infoframe audio;
|
|
struct hdmi_audio_infoframe audio;
|
|
};
|
|
};
|
|
|
|
|