diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-05 11:12:38 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-05 11:12:38 +0200 |
commit | 175df5819e126a4eea30b9c05d38fb504c958252 (patch) | |
tree | 465244d6747433a7d0e991abc1f58fe6cb28f06e /src/ufodecode.h | |
parent | bd3224828f527f05fa84eb0d5bfaa2529f64145b (diff) | |
download | libufodecode-175df5819e126a4eea30b9c05d38fb504c958252.tar.gz libufodecode-175df5819e126a4eea30b9c05d38fb504c958252.tar.bz2 libufodecode-175df5819e126a4eea30b9c05d38fb504c958252.tar.xz libufodecode-175df5819e126a4eea30b9c05d38fb504c958252.zip |
Add verbosity flag to output frequency and frame
Diffstat (limited to 'src/ufodecode.h')
-rw-r--r-- | src/ufodecode.h | 48 |
1 files changed, 31 insertions, 17 deletions
diff --git a/src/ufodecode.h b/src/ufodecode.h index 9e2cbc4..bce17ec 100644 --- a/src/ufodecode.h +++ b/src/ufodecode.h @@ -9,23 +9,37 @@ typedef struct ufo_decoder_t *ufo_decoder; extern "C" { #endif - -ufo_decoder ufo_decoder_new(int32_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 *num_rows, 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 *num_rows, 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); - +ufo_decoder ufo_decoder_new (int32_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 *num_rows, + 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 *num_rows, + 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); #ifdef __cplusplus } |