av1_convolve_ x,y _avx2() -- use 256 bit load/store
[aom.git] / aomenc.h
blob248e58356e6878d529548182f5e354ee0b0d9b33
1 /*
2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
11 #ifndef AOMENC_H_
12 #define AOMENC_H_
14 #include "aom/aom_encoder.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 enum TestDecodeFatality {
21 TEST_DECODE_OFF,
22 TEST_DECODE_FATAL,
23 TEST_DECODE_WARN,
26 typedef enum {
27 I420, // 4:2:0 8+ bit-depth
28 I422, // 4:2:2 8+ bit-depth
29 I444, // 4:4:4 8+ bit-depth
30 I440, // 4:4:0 8+ bit-depth
31 YV12, // 4:2:0 with uv flipped, only 8-bit depth
32 } ColorInputType;
34 struct AvxInterface;
36 /* Configuration elements common to all streams. */
37 struct AvxEncoderConfig {
38 const struct AvxInterface *codec;
39 int passes;
40 int pass;
41 int usage;
42 int deadline;
43 ColorInputType color_type;
44 int quiet;
45 int verbose;
46 int limit;
47 int skip_frames;
48 int show_psnr;
49 enum TestDecodeFatality test_decode;
50 int have_framerate;
51 struct aom_rational framerate;
52 int out_part;
53 int debug;
54 int show_q_hist_buckets;
55 int show_rate_hist_buckets;
56 int disable_warnings;
57 int disable_warning_prompt;
58 int experimental_bitstream;
61 #ifdef __cplusplus
62 } // extern "C"
63 #endif
65 #endif // AOMENC_H_