/alps/ufodecode

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ufodecode

« back to all changes in this revision

Viewing changes to src/libipe.h

  • Committer: Matthias Vogelgesang
  • Date: 2011-12-01 08:41:56 UTC
  • Revision ID: matthias.vogelgesang@kit.edu-20111201084156-72tgvappjjy6aj4u
Make ipedec a lib and executable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef LIB_IPE_H
 
2
#define LIB_IPE_H
 
3
 
 
4
#include <inttypes.h>
 
5
 
 
6
typedef struct ipe_decoder_t *ipe_decoder;
 
7
 
 
8
#ifdef __cplusplus
 
9
extern "C" {
 
10
#endif
 
11
 
 
12
 
 
13
ipe_decoder ipe_decoder_new(uint32_t height, uint32_t *raw, size_t num_bytes);
 
14
void ipe_decoder_free(ipe_decoder decoder);
 
15
void ipe_decoder_set_raw_data(ipe_decoder decoder, uint32_t *raw, size_t num_bytes);
 
16
int ipe_decoder_get_next_frame(ipe_decoder decoder, uint16_t **pixels, uint32_t *frame_number, uint32_t *time_stamp);
 
17
 
 
18
void ipe_deinterlace_interpolate(const uint16_t *frame_in, uint16_t *frame_out, int width, int height);
 
19
void ipe_deinterlace_weave(const uint16_t *in1, const uint16_t *in2, uint16_t *out, int width, int height);
 
20
 
 
21
 
 
22
#ifdef __cplusplus
 
23
}
 
24
#endif
 
25
 
 
26
#endif
 
27