summaryrefslogtreecommitdiff
path: root/libavdevice/kmsgrab.c
Commit message (Collapse)AuthorAge
* lavd/kmsgrab: Remove the mapping for AV_PIX_FMT_RGB8.Carl Eugen Hoyos2017-09-20
| | | | The definitions are different: 3:3:2 vs 2:3:3.
* kmsgrab: Add more DRM plane formatsCarl Eugen Hoyos2017-09-19
|
* kmsgrab: Remove multiple-plane formatsMark Thompson2017-09-19
| | | | | The planes are unlikely to be contiguous, assuming they are results in very broken output. (Tested with NV12/NV16 on Rockchip.)
* kmsgrab: Fix DRM format definitionsMark Thompson2017-09-19
| | | | | | | | | All DRM formats are defined in terms of little-endian words, so RGB formats like XRGB actually have the elements in the opposite order order in memory to the order they are in the name. This does not affect YUYV and similar YUV 4:2:2 formats, which are in the expected order.
* kmsgrab: Fix build failure with old libdrmJun Zhao2017-09-14
| | | | | | | | DRM_FORMAT_R8 was added in libdrm 2.4.68. DRM_FORMAT_R16 was added in libdrm 2.4.82. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* lavd/kmsgrab: Fix packet flag settingMark Thompson2017-09-14
| | | | Found-by: James Almer <jamrial@gmail.com>
* lavd: Add KMS screen grabberMark Thompson2017-09-13