Ticket #8182: zmlive-colors.RGB565.patch
File zmlive-colors.RGB565.patch, 1.0 KB (added by , 13 years ago) |
---|
-
mythzoneminder/mythzoneminder/zmliveplayer.cpp
457 457 m_rgba[pos_rgba++] = b; 458 458 m_rgba[pos_rgba++] = 0xff; 459 459 } 460 else if (m_monitor.palette == MP_RGB565) 461 { 462 m_rgba[pos_rgba++] = r; 463 m_rgba[pos_rgba++] = b; 464 m_rgba[pos_rgba++] = g; 465 m_rgba[pos_rgba++] = 0xff; 466 } 460 467 else 461 468 { 462 469 m_rgba[pos_rgba++] = b; -
mythzoneminder/mythzoneminder/zmdefines.h
41 41 enum MonitorPalette 42 42 { 43 43 MP_GREY = 1, 44 MP_RGB565 = 3, 44 45 MP_RGB24 = 4 45 46 }; 46 47