diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-12-02 08:49:09 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-12-02 08:49:09 +0100 |
commit | 57f2f8976b37ba6f6ec188c77e38cd854d594233 (patch) | |
tree | 4fed2b8e73132f4f5d00f1565675c75380af6b97 /test/ipedec.c | |
parent | cb3a933340614866f7b6a3dd0977956450a161dd (diff) | |
download | libufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.tar.gz libufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.tar.bz2 libufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.tar.xz libufodecode-57f2f8976b37ba6f6ec188c77e38cd854d594233.zip |
Rename to `ufodecode`
Diffstat (limited to 'test/ipedec.c')
-rw-r--r-- | test/ipedec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ipedec.c b/test/ipedec.c index 2b44ddd..94c8d59 100644 --- a/test/ipedec.c +++ b/test/ipedec.c @@ -4,7 +4,7 @@ #include <unistd.h> #include <sys/time.h> #include <errno.h> -#include <libipe.h> +#include <ufodecode.h> int read_raw_file(const char *filename, char **buffer, size_t *length) @@ -47,7 +47,7 @@ int main(int argc, char const* argv[]) const int rows = atoi(argv[2]); - ipe_decoder decoder = ipe_decoder_new(rows, (uint32_t *) buffer, num_bytes); + ufo_decoder decoder = ufo_decoder_new(rows, (uint32_t *) buffer, num_bytes); int err = 0; uint16_t *pixels = (uint16_t *) malloc(2048 * rows * sizeof(uint16_t)); uint32_t frame_number, time_stamp; @@ -59,7 +59,7 @@ int main(int argc, char const* argv[]) while (!err) { gettimeofday(&start, NULL); - err = ipe_decoder_get_next_frame(decoder, &pixels, &frame_number, &time_stamp); + err = ufo_decoder_get_next_frame(decoder, &pixels, &frame_number, &time_stamp); gettimeofday(&end, NULL); if (!err) { @@ -75,7 +75,7 @@ int main(int argc, char const* argv[]) printf("Decoded %i frames in %.5fms\n", num_frames, mtime); free(pixels); - ipe_decoder_free(decoder); + ufo_decoder_free(decoder); free(buffer); return 0; |