Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: source/libvpx/y4menc.h

Issue 375983002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vpxenc.c ('k') | source/libvpx/y4menc.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef Y4MENC_H_ 11 #ifndef Y4MENC_H_
12 #define Y4MENC_H_ 12 #define Y4MENC_H_
13 13
14 #include "./tools_common.h" 14 #include "./tools_common.h"
15 15
16 #include "vpx/vpx_decoder.h" 16 #include "vpx/vpx_decoder.h"
17 17
18 #ifdef __cplusplus 18 #ifdef __cplusplus
19 extern "C" { 19 extern "C" {
20 #endif 20 #endif
21 21
22 #define Y4M_BUFFER_SIZE 128 22 #define Y4M_BUFFER_SIZE 128
23 23
24 int y4m_write_file_header(char *buf, size_t len, int width, int height, 24 int y4m_write_file_header(char *buf, size_t len, int width, int height,
25 const struct VpxRational *framerate, 25 const struct VpxRational *framerate,
26 vpx_img_fmt_t fmt); 26 vpx_img_fmt_t fmt, unsigned int bit_depth);
27 int y4m_write_frame_header(char *buf, size_t len); 27 int y4m_write_frame_header(char *buf, size_t len);
28 28
29 #ifdef __cplusplus 29 #ifdef __cplusplus
30 } // extern "C" 30 } // extern "C"
31 #endif 31 #endif
32 32
33 #endif // Y4MENC_H_ 33 #endif // Y4MENC_H_
OLDNEW
« no previous file with comments | « source/libvpx/vpxenc.c ('k') | source/libvpx/y4menc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698