[media] st-hva: encoding summary at instance release
authorJean-Christophe Trotin <jean-christophe.trotin@st.com>
Tue, 31 Jan 2017 10:37:56 +0000 (08:37 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 13:59:01 +0000 (11:59 -0200)
commitf7e1a6dba9ddac1da6fec2eb4dbf95b5b0cb3ce5
tree9f1deba1d3e4b621e2dc4c88cac74e5bc50119ba
parent0df03379c541ec027c94b025f2ef259f243eeb58
[media] st-hva: encoding summary at instance release

This patch adds a short summary about the encoding operation at each
instance closing, for debug purpose (through dev_dbg()):
- information about the frame (format, resolution)
- information about the stream (format, profile, level, resolution)
- number of encoded frames
- potential (system, encoding...) errors

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Jean-Christophe Trotin <jean-christophe.trotin@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sti/hva/hva-h264.c
drivers/media/platform/sti/hva/hva-hw.c
drivers/media/platform/sti/hva/hva-mem.c
drivers/media/platform/sti/hva/hva-v4l2.c
drivers/media/platform/sti/hva/hva.h