summaryrefslogtreecommitdiffstats
path: root/src/ufodecode.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-10 15:34:37 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-10 15:34:37 +0100
commit3cb96411dbb31caf286382e2a108704440b2894a (patch)
tree314bcbfe74c67a34b72147410a6c8b9e56d45bbc /src/ufodecode.h
parentabe088c58aeb876d1471fa99e0fc5c1d85cb1403 (diff)
parent0b5e739674f26ddc97e92cad9bb8239f9617c3f2 (diff)
downloadlibufodecode-3cb96411dbb31caf286382e2a108704440b2894a.tar.gz
libufodecode-3cb96411dbb31caf286382e2a108704440b2894a.tar.bz2
libufodecode-3cb96411dbb31caf286382e2a108704440b2894a.tar.xz
libufodecode-3cb96411dbb31caf286382e2a108704440b2894a.zip
Merge
Diffstat (limited to 'src/ufodecode.h')
-rw-r--r--src/ufodecode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ufodecode.h b/src/ufodecode.h
index 6d9bdce..3ae7f70 100644
--- a/src/ufodecode.h
+++ b/src/ufodecode.h
@@ -10,10 +10,11 @@ extern "C" {
#endif
-ufo_decoder ufo_decoder_new(uint32_t height, uint32_t *raw, size_t num_bytes);
+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);
+int ufo_decoder_get_next_frame(ufo_decoder decoder, uint16_t **pixels, uint32_t *frame_number, uint32_t *time_stamp, uint16_t *cmask);
void ufo_deinterlace_interpolate(const uint16_t *frame_in, uint16_t *frame_out, int width, int height);
void ufo_deinterlace_weave(const uint16_t *in1, const uint16_t *in2, uint16_t *out, int width, int height);