Add sse2 dc, dc_left, dc_top, dc_128, v, h
[aom.git] / y4menc.h
blobcb75eeb42e75a2b3bffd9957425085b2c069e90b
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.
12 #ifndef Y4MENC_H_
13 #define Y4MENC_H_
15 #include "./tools_common.h"
17 #include "aom/aom_decoder.h"
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
23 #define Y4M_BUFFER_SIZE 128
25 int y4m_write_file_header(char *buf, size_t len, int width, int height,
26 const struct AvxRational *framerate,
27 aom_img_fmt_t fmt, unsigned int bit_depth);
28 int y4m_write_frame_header(char *buf, size_t len);
30 #ifdef __cplusplus
31 } // extern "C"
32 #endif
34 #endif // Y4MENC_H_