From 1ba46e0dd6192d9b879633dc5895c5910d0315cf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 12 Dec 2011 02:57:56 +0100 Subject: Introduce thread-safe ufo_decoder_decode_frame function --- src/ufodecode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ufodecode.h') diff --git a/src/ufodecode.h b/src/ufodecode.h index 990607a..3ae7f70 100644 --- a/src/ufodecode.h +++ b/src/ufodecode.h @@ -12,6 +12,7 @@ extern "C" { ufo_decoder ufo_decoder_new(uint32_t height, uint32_t width, uint32_t *raw, size_t num_bytes); void ufo_decoder_free(ufo_decoder decoder); +size_t ufo_decoder_decode_frame(ufo_decoder decoder, uint32_t *raw, size_t num_bytes, uint16_t *pixels, uint32_t *frame_number, uint32_t *time_stamp, uint16_t *cmask); void ufo_decoder_set_raw_data(ufo_decoder decoder, uint32_t *raw, size_t num_bytes); int ufo_decoder_get_next_frame(ufo_decoder decoder, uint16_t **pixels, uint32_t *frame_number, uint32_t *time_stamp, uint16_t *cmask); -- cgit v1.2.3