Skip to content

Commit

Permalink
Finish the list of 3D layouts 3D_Structure_ALL can code for
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
  • Loading branch information
Damien Lespiau committed Sep 27, 2013
1 parent f6d9fb3 commit a01bb62
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a01bb62

Please sign in to comment.