diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-06-04 18:12:05 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-06-04 18:12:05 +0200 |
commit | 5999efd02fa5151f4a12833fa438b3532414c22a (patch) | |
tree | bd55f8908624f3412d7f936682c964829516c2d8 /decode.h | |
parent | 3166394909e8ae8703c4b1d77610e0a356fe9107 (diff) |
Add primitive bitsteam indicator to overlay
Diffstat (limited to 'decode.h')
-rw-r--r-- | decode.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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_ |