New upstream version 1.0.0
[fdkaac.git] / src / progress.h
1 /*
2 * Copyright (C) 2013 nu774
3 * For conditions of distribution and use, see copyright notice in COPYING
4 */
5 #ifndef PROGRESS_H
6 #define PROGRESS_H
7
8 typedef struct aacenc_progress_t {
9 double start;
10 double timescale;
11 int64_t total;
12 int64_t processed;
13 } aacenc_progress_t;
14
15 void aacenc_progress_init(aacenc_progress_t *progress, int64_t total,
16 int32_t timescale);
17 void aacenc_progress_update(aacenc_progress_t *progress, int64_t current,
18 int period);
19 void aacenc_progress_finish(aacenc_progress_t *progress, int64_t current);
20
21 #endif
This page took 0.020879 seconds and 4 git commands to generate.