vp8,get_sub_mv_ref_prob: change arguments to uint32_t
[platform/upstream/libvpx.git] / ivfenc.h
1 /*
2  *  Copyright (c) 2013 The WebM project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 #ifndef VPX_IVFENC_H_
11 #define VPX_IVFENC_H_
12
13 #include "./tools_common.h"
14
15 #include "vpx/vpx_encoder.h"
16
17 struct vpx_codec_enc_cfg;
18 struct vpx_codec_cx_pkt;
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 void ivf_write_file_header_with_video_info(FILE *outfile, unsigned int fourcc,
25                                            int frame_cnt, int frame_width,
26                                            int frame_height,
27                                            vpx_rational_t timebase);
28
29 void ivf_write_file_header(FILE *outfile, const struct vpx_codec_enc_cfg *cfg,
30                            uint32_t fourcc, int frame_cnt);
31
32 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
33
34 void ivf_write_frame_size(FILE *outfile, size_t frame_size);
35
36 #ifdef __cplusplus
37 } /* extern "C" */
38 #endif
39
40 #endif  // VPX_IVFENC_H_