Merge "Removing redundant call of vp9_init_mbmode_probs()."
[platform/upstream/libvpx.git] / vpxenc.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 VPXENC_H_
11 #define VPXENC_H_
12
13 #include "vpx/vpx_encoder.h"
14
15 enum TestDecodeFatality {
16   TEST_DECODE_OFF,
17   TEST_DECODE_FATAL,
18   TEST_DECODE_WARN,
19 };
20
21 /* Configuration elements common to all streams. */
22 struct VpxEncoderConfig {
23   const struct codec_item *codec;
24   int passes;
25   int pass;
26   int usage;
27   int deadline;
28   int use_i420;
29   int quiet;
30   int verbose;
31   int limit;
32   int skip_frames;
33   int show_psnr;
34   enum TestDecodeFatality test_decode;
35   int have_framerate;
36   struct vpx_rational framerate;
37   int out_part;
38   int debug;
39   int show_q_hist_buckets;
40   int show_rate_hist_buckets;
41   int disable_warnings;
42   int disable_warning_prompt;
43 };
44
45 #endif  // VPXENC_H_