diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-12 02:57:56 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-12 02:57:56 +0100 |
commit | 1ba46e0dd6192d9b879633dc5895c5910d0315cf (patch) | |
tree | 53f1317f67b9aff7901180a2cbaac9c4f4318802 /src/ufodecode.h | |
parent | 3d1bb6a8ddc5074059b37f0954faca7f9f42fda2 (diff) | |
download | libufodecode-1ba46e0dd6192d9b879633dc5895c5910d0315cf.tar.gz libufodecode-1ba46e0dd6192d9b879633dc5895c5910d0315cf.tar.bz2 libufodecode-1ba46e0dd6192d9b879633dc5895c5910d0315cf.tar.xz libufodecode-1ba46e0dd6192d9b879633dc5895c5910d0315cf.zip |
Introduce thread-safe ufo_decoder_decode_frame function
Diffstat (limited to 'src/ufodecode.h')
-rw-r--r-- | src/ufodecode.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |