summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-09-20 00:41:41 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-09-27 14:59:49 +0100
commita01bb62107e2d76b5373b76077ec150eb341475d (patch)
treed06a493050e35f901fe91d1f9352c8a19b78db14
parentf6d9fb3c9a10f25599b3e4cb1b08b08ffa5b8225 (diff)
Finish the list of 3D layouts 3D_Structure_ALL can code for
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
-rw-r--r--edid-decode.c20
1 files changed, 17 insertions, 3 deletions
diff --git a/edid-decode.c b/edid-decode.c
index bbaa6c8..4265843 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -830,12 +830,26 @@ cea_hdmi_block(unsigned char *x)
if (len_3d) {
if (formats) {
+ /* 3D_Structure_ALL_15..8 */
+ if (x[9 + b] & 0x80)
+ printf(" 3D: Side-by-side (half, quincunx)\n");
if (x[9 + b] & 0x01)
- printf(" Side-by-side 3D supported\n");
+ printf(" 3D: Side-by-side (half, horizontal)\n");
+ /* 3D_Structure_ALL_7..0 */
if (x[10 + b] & 0x40)
- printf(" Top-and-bottom 3D supported\n");
+ printf(" 3D: Top-and-bottom\n");
+ if (x[10 + b] & 0x20)
+ printf(" 3D: L + depth + gfx + gfx-depth\n");
+ if (x[10 + b] & 0x10)
+ printf(" 3D: L + depth\n");
+ if (x[10 + b] & 0x08)
+ printf(" 3D: Side-by-side (full)\n");
+ if (x[10 + b] & 0x04)
+ printf(" 3D: Line-alternative\n");
+ if (x[10 + b] & 0x02)
+ printf(" 3D: Field-alternative\n");
if (x[10 + b] & 0x01)
- printf(" Frame-packing 3D supported\n");
+ printf(" 3D: Frame-packing\n");
b += 2;
}
if (mask) {