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

Side by Side Diff: source/libvpx/tools_common.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/test/y4m_video_source.h ('k') | source/libvpx/vp8/common/postproc.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) 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 vpx_img_fmt_t fmt; 92 vpx_img_fmt_t fmt;
93 vpx_bit_depth_t bit_depth;
93 int only_i420; 94 int only_i420;
94 uint32_t fourcc; 95 uint32_t fourcc;
95 struct VpxRational framerate; 96 struct VpxRational framerate;
96 #if CONFIG_ENCODERS 97 #if CONFIG_ENCODERS
97 y4m_input y4m; 98 y4m_input y4m;
98 #endif 99 #endif
99 }; 100 };
100 101
101 #ifdef __cplusplus 102 #ifdef __cplusplus
102 extern "C" { 103 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); 139 void vpx_img_write(const vpx_image_t *img, FILE *file);
139 int vpx_img_read(vpx_image_t *img, FILE *file); 140 int vpx_img_read(vpx_image_t *img, FILE *file);
140 141
141 double sse_to_psnr(double samples, double peak, double mse); 142 double sse_to_psnr(double samples, double peak, double mse);
142 143
143 #ifdef __cplusplus 144 #ifdef __cplusplus
144 } /* extern "C" */ 145 } /* extern "C" */
145 #endif 146 #endif
146 147
147 #endif // TOOLS_COMMON_H_ 148 #endif // TOOLS_COMMON_H_
OLDNEW
« no previous file with comments | « source/libvpx/test/y4m_video_source.h ('k') | source/libvpx/vp8/common/postproc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698