2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved.
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.
13 #include "vpx/vpx_encoder.h"
19 enum TestDecodeFatality {
26 I420, // 4:2:0 8+ bit-depth
27 I422, // 4:2:2 8+ bit-depth
28 I444, // 4:4:4 8+ bit-depth
29 I440, // 4:4:0 8+ bit-depth
30 YV12, // 4:2:0 with uv flipped, only 8-bit depth
31 NV12, // 4:2:0 with uv interleaved
36 /* Configuration elements common to all streams. */
37 struct VpxEncoderConfig {
38 const struct VpxInterface *codec;
43 ColorInputType color_type;
49 enum TestDecodeFatality test_decode;
51 struct vpx_rational framerate;
54 int show_q_hist_buckets;
55 int show_rate_hist_buckets;
57 int disable_warning_prompt;
58 int experimental_bitstream;
65 #endif // VPX_VPXENC_H_