]> granicus.if.org Git - libvpx/blob - y4menc.h
Merge "Have check_initial_width() take subsampling as arguments directly."
[libvpx] / y4menc.h
1 /*
2  *  Copyright (c) 2014 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
11 #ifndef Y4MENC_H_
12 #define Y4MENC_H_
13
14 #include <stdio.h>
15
16 #include "./tools_common.h"
17
18 #include "vpx/vpx_decoder.h"
19
20 void y4m_write_file_header(FILE *file, int width, int height,
21                            const struct VpxRational *framerate,
22                            vpx_img_fmt_t fmt);
23
24 void y4m_write_frame_header(FILE *file);
25
26
27 #endif  // Y4MENC_H_