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

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

Issue 341293003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 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/tools/ftfy.sh ('k') | source/libvpx/vp8/common/pragmas.h » ('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) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 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 #ifndef TOOLS_COMMON_H_ 10 #ifndef TOOLS_COMMON_H_
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 }; 82 };
83 83
84 struct VpxInputContext { 84 struct VpxInputContext {
85 const char *filename; 85 const char *filename;
86 FILE *file; 86 FILE *file;
87 int64_t length; 87 int64_t length;
88 struct FileTypeDetectionBuffer detect; 88 struct FileTypeDetectionBuffer detect;
89 enum VideoFileType file_type; 89 enum VideoFileType file_type;
90 uint32_t width; 90 uint32_t width;
91 uint32_t height; 91 uint32_t height;
92 int use_i420; 92 vpx_img_fmt_t fmt;
93 int only_i420; 93 int only_i420;
94 uint32_t fourcc; 94 uint32_t fourcc;
95 struct VpxRational framerate; 95 struct VpxRational framerate;
96 #if CONFIG_ENCODERS 96 #if CONFIG_ENCODERS
97 y4m_input y4m; 97 y4m_input y4m;
98 #endif 98 #endif
99 }; 99 };
100 100
101 #ifdef __cplusplus 101 #ifdef __cplusplus
102 extern "C" { 102 extern "C" {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 void vpx_img_write(const vpx_image_t *img, FILE *file); 138 void vpx_img_write(const vpx_image_t *img, FILE *file);
139 int vpx_img_read(vpx_image_t *img, FILE *file); 139 int vpx_img_read(vpx_image_t *img, FILE *file);
140 140
141 double sse_to_psnr(double samples, double peak, double mse); 141 double sse_to_psnr(double samples, double peak, double mse);
142 142
143 #ifdef __cplusplus 143 #ifdef __cplusplus
144 } /* extern "C" */ 144 } /* extern "C" */
145 #endif 145 #endif
146 146
147 #endif // TOOLS_COMMON_H_ 147 #endif // TOOLS_COMMON_H_
OLDNEW
« no previous file with comments | « source/libvpx/tools/ftfy.sh ('k') | source/libvpx/vp8/common/pragmas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698