• Tomasz Figa's avatar
    media: docs-rst: Document memory-to-memory video decoder interface · 051f8d2d
    Tomasz Figa authored
    Due to complexity of the video decoding process, the V4L2 drivers of
    stateful decoder hardware require specific sequences of V4L2 API calls
    to be followed. These include capability enumeration, initialization,
    decoding, seek, pause, dynamic resolution change, drain and end of
    stream.
    
    Specifics of the above have been discussed during Media Workshops at
    LinuxCon Europe 2012 in Barcelona and then later Embedded Linux
    Conference Europe 2014 in Düsseldorf. The de facto Codec API that
    originated at those events was later implemented by the drivers we already
    have merged in mainline, such as s5p-mfc or coda.
    
    The only thing missing was the real specification included as a part of
    Linux Media documentation. Fix it now and document the decoder part of
    the Codec API.
    Signed-off-by: default avatarTomasz Figa <tfiga@chromium.org>
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
    051f8d2d
v4l2.rst 10.5 KB