diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-09 11:56:01 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-09 11:56:01 +0100 |
commit | 4e242114e8a89fbe272cae93a05ac09ba0e8cf4c (patch) | |
tree | 5fac8ce62d04c0dfdb01687d0bb2e3add7530f4a /src/ufodecode.h | |
parent | e8b824dac6a2ce4d56c7d08f74f3e80bf1c01d3a (diff) | |
download | libufodecode-4e242114e8a89fbe272cae93a05ac09ba0e8cf4c.tar.gz libufodecode-4e242114e8a89fbe272cae93a05ac09ba0e8cf4c.tar.bz2 libufodecode-4e242114e8a89fbe272cae93a05ac09ba0e8cf4c.tar.xz libufodecode-4e242114e8a89fbe272cae93a05ac09ba0e8cf4c.zip |
Add width support and few consistency checks
Diffstat (limited to 'src/ufodecode.h')
-rw-r--r-- | src/ufodecode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ufodecode.h b/src/ufodecode.h index 6d9bdce..990607a 100644 --- a/src/ufodecode.h +++ b/src/ufodecode.h @@ -10,10 +10,10 @@ 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); 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); |