From ae8dbb4d776461c8945570594d67d8bb9b7100c5 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Thu, 24 Nov 2011 17:47:32 +0100 Subject: core/conv: Add utility methods to know length of coded/decoded vectors Signed-off-by: Sylvain Munaut --- include/osmocom/core/conv.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/osmocom/core/conv.h b/include/osmocom/core/conv.h index 159a055b..e76a5c61 100644 --- a/include/osmocom/core/conv.h +++ b/include/osmocom/core/conv.h @@ -71,6 +71,12 @@ struct osmo_conv_code { }; +/* Common */ + +int osmo_conv_get_input_length(const struct osmo_conv_code *code, int len); +int osmo_conv_get_output_length(const struct osmo_conv_code *code, int len); + + /* Encoding */ /* Low level API */ -- cgit v1.2.3