From cfcee4cfe70536faeb9f2aaa87257d067e902b70 Mon Sep 17 00:00:00 2001 From: Lionel CHAZALLON Date: Mon, 23 Oct 2017 08:51:49 -0700 Subject: Add DRM_PRIME Format Handling and Display for RockChip MPP decoders This commit allows to use the AV_PIX_FMT_DRM_PRIME newly introduced format in ffmpeg that allows decoders to provide an AVDRMFrameDescriptor struct. That struct holds dmabuf fds and information allowing zerocopy rendering using KMS / DRM Atomic. This has been tested on RockChip ROCK64 device. --- DOCS/man/vo.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index 5d22ab15e7..f4ebb64629 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -504,6 +504,11 @@ Available video output drivers are: Mode ID to use (resolution, bit depth and frame rate). (default: 0) + ``--drm-overlay=`` + Select the DRM overlay index to use. + Overlay index is zero based, and related to crtc. + (default: 0) + ``mediacodec_embed`` (Android) Renders ``IMGFMT_MEDIACODEC`` frames directly to an ``android.view.Surface``. Requires ``--hwdec=mediacodec`` for hardware decoding, along with -- cgit v1.2.3