From 5999efd02fa5151f4a12833fa438b3532414c22a Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Sun, 4 Jun 2023 18:12:05 +0200 Subject: Add primitive bitsteam indicator to overlay --- decode.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'decode.h') diff --git a/decode.h b/decode.h index 61f8203..730e926 100644 --- a/decode.h +++ b/decode.h @@ -25,8 +25,14 @@ struct DecodeContext; struct Frame; struct Window; +struct DecodeStats { + size_t bitrate; +}; + struct DecodeContext* DecodeContextCreate(struct Window* window); bool DecodeContextDecode(struct DecodeContext* decode_context, int fd); +void DecodeContextGetStats(struct DecodeContext* decode_context, + struct DecodeStats* decode_stats); void DecodeContextDestroy(struct DecodeContext* decode_context); #endif // RECEIVER_DECODE_H_ -- cgit v1.2.3