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

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

Issue 668403002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 1 month 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/yuv_video_source.h ('k') | source/libvpx/tools_common.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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // TODO(dkovalev): move this function to vpx_image.{c, h}, so it will be part 143 // TODO(dkovalev): move this function to vpx_image.{c, h}, so it will be part
144 // of vpx_image_t support 144 // of vpx_image_t support
145 int vpx_img_plane_width(const vpx_image_t *img, int plane); 145 int vpx_img_plane_width(const vpx_image_t *img, int plane);
146 int vpx_img_plane_height(const vpx_image_t *img, int plane); 146 int vpx_img_plane_height(const vpx_image_t *img, int plane);
147 void vpx_img_write(const vpx_image_t *img, FILE *file); 147 void vpx_img_write(const vpx_image_t *img, FILE *file);
148 int vpx_img_read(vpx_image_t *img, FILE *file); 148 int vpx_img_read(vpx_image_t *img, FILE *file);
149 149
150 double sse_to_psnr(double samples, double peak, double mse); 150 double sse_to_psnr(double samples, double peak, double mse);
151 151
152 #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH
153 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
154 void vpx_img_downshift(vpx_image_t *dst, vpx_image_t *src, int down_shift);
155 void vpx_img_truncate_16_to_8(vpx_image_t *dst, vpx_image_t *src);
156 #endif
157
152 #ifdef __cplusplus 158 #ifdef __cplusplus
153 } /* extern "C" */ 159 } /* extern "C" */
154 #endif 160 #endif
155 161
156 #endif // TOOLS_COMMON_H_ 162 #endif // TOOLS_COMMON_H_
OLDNEW
« no previous file with comments | « source/libvpx/test/yuv_video_source.h ('k') | source/libvpx/tools_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698