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.
15 #include "./tools_common.h"
17 #include "aom/aom_decoder.h"
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
);