Adds some trace points showing input compressed stream or output decoded frame information. Adds an unconditional trace point when streaming starts showing the compressed stream and the decoded frame information. Adds an unconditional trace point at instance closure summarizing into a single line the decoding process (stream information, decoded and output frames number, potential errors observed). Acked-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
19 lines
560 B
C
19 lines
560 B
C
/*
|
|
* Copyright (C) STMicroelectronics SA 2015
|
|
* Authors: Hugues Fruchet <hugues.fruchet@st.com>
|
|
* Fabrice Lecoultre <fabrice.lecoultre@st.com>
|
|
* for STMicroelectronics.
|
|
* License terms: GNU General Public License (GPL), version 2
|
|
*/
|
|
|
|
#ifndef DELTA_DEBUG_H
|
|
#define DELTA_DEBUG_H
|
|
|
|
char *delta_streaminfo_str(struct delta_streaminfo *s, char *str,
|
|
unsigned int len);
|
|
char *delta_frameinfo_str(struct delta_frameinfo *f, char *str,
|
|
unsigned int len);
|
|
void delta_trace_summary(struct delta_ctx *ctx);
|
|
|
|
#endif /* DELTA_DEBUG_H */
|