/alps/ufodecode

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ufodecode

« back to all changes in this revision

Viewing changes to src/ufodecode.h

  • Committer: Matthias Vogelgesang
  • Date: 2012-07-05 09:12:38 UTC
  • Revision ID: matthias.vogelgesang@kit.edu-20120705091238-iqkhneqm6g7u1fzp
Add verbosity flag to output frequency and frame

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
extern "C" {
10
10
#endif
11
11
 
12
 
 
13
 
ufo_decoder ufo_decoder_new(int32_t height, uint32_t width, uint32_t *raw, size_t num_bytes);
14
 
 
15
 
void ufo_decoder_free(ufo_decoder decoder);
16
 
 
17
 
size_t ufo_decoder_decode_frame(ufo_decoder decoder, 
18
 
        uint32_t *raw, size_t num_bytes, uint16_t *pixels, 
19
 
        uint32_t *num_rows, uint32_t *frame_number, uint32_t *time_stamp, uint16_t *cmask);
20
 
 
21
 
void ufo_decoder_set_raw_data(ufo_decoder decoder, uint32_t *raw, size_t num_bytes);
22
 
 
23
 
int ufo_decoder_get_next_frame(ufo_decoder decoder, uint16_t **pixels, 
24
 
        uint32_t *num_rows, uint32_t *frame_number, uint32_t *time_stamp, uint16_t *cmask);
25
 
 
26
 
void ufo_deinterlace_interpolate(const uint16_t *frame_in, uint16_t *frame_out, int width, int height);
27
 
void ufo_deinterlace_weave(const uint16_t *in1, const uint16_t *in2, uint16_t *out, int width, int height);
28
 
 
 
12
ufo_decoder ufo_decoder_new             (int32_t         height, 
 
13
                                         uint32_t        width, 
 
14
                                         uint32_t       *raw, 
 
15
                                         size_t          num_bytes);
 
16
void        ufo_decoder_free            (ufo_decoder     decoder);
 
17
size_t      ufo_decoder_decode_frame    (ufo_decoder     decoder, 
 
18
                                         uint32_t       *raw, 
 
19
                                         size_t          num_bytes, 
 
20
                                         uint16_t       *pixels, 
 
21
                                         uint32_t       *num_rows, 
 
22
                                         uint32_t       *frame_number, 
 
23
                                         uint32_t       *time_stamp, 
 
24
                                         uint16_t       *cmask);
 
25
void        ufo_decoder_set_raw_data    (ufo_decoder     decoder,
 
26
                                         uint32_t       *raw,
 
27
                                         size_t          num_bytes);
 
28
int         ufo_decoder_get_next_frame  (ufo_decoder     decoder, 
 
29
                                         uint16_t      **pixels, 
 
30
                                         uint32_t       *num_rows, 
 
31
                                         uint32_t       *frame_number, 
 
32
                                         uint32_t       *time_stamp, 
 
33
                                         uint16_t       *cmask);
 
34
void        ufo_deinterlace_interpolate (const uint16_t *frame_in, 
 
35
                                         uint16_t       *frame_out, 
 
36
                                         int             width, 
 
37
                                         int             height);
 
38
void        ufo_deinterlace_weave       (const uint16_t *in1,
 
39
                                         const uint16_t *in2,
 
40
                                         uint16_t       *out, 
 
41
                                         int             width, 
 
42
                                         int             height);
29
43
 
30
44
#ifdef __cplusplus
31
45
}