• Philipp Zabel's avatar
    media: coda: normalise debug output · 8f90d15e
    Philipp Zabel authored
    Consistently add the context index to debug output, which otherwise is
    impossible to make sense of when two contexts are running concurrently.
    For this purpose, add a convenience macro coda_dbg(). Use the function
    name with the coda_ prefix stripped as keyword where applicable, and
    consistently use vid-out and vid-cap names for the queues. Add sequence
    counters to the decoder job finished message and correctly indicate B
    frames. Add a start streaming message to complement the stop streaming
    message and a start encoding message to complement the existing start
    decoding message.
    Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
    Signed-off-by: default avatarHans Verkuil <hansverk@cisco.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
    8f90d15e
coda-common.c 76.4 KB