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

Side by Side Diff: source/libvpx/vp8/encoder/denoising.h

Issue 290613006: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 VP8_ENCODER_DENOISING_H_ 11 #ifndef VP8_ENCODER_DENOISING_H_
12 #define VP8_ENCODER_DENOISING_H_ 12 #define VP8_ENCODER_DENOISING_H_
13 13
14 #include "block.h" 14 #include "block.h"
15 15
16 #ifdef __cplusplus 16 #ifdef __cplusplus
17 extern "C" { 17 extern "C" {
18 #endif 18 #endif
19 19
20 #define SUM_DIFF_THRESHOLD (16 * 16 * 2) 20 #define SUM_DIFF_THRESHOLD (16 * 16 * 2)
21 #define SUM_DIFF_THRESHOLD_HIGH (16 * 16 * 3)
21 #define MOTION_MAGNITUDE_THRESHOLD (8*3) 22 #define MOTION_MAGNITUDE_THRESHOLD (8*3)
22 23
23 enum vp8_denoiser_decision 24 enum vp8_denoiser_decision
24 { 25 {
25 COPY_BLOCK, 26 COPY_BLOCK,
26 FILTER_BLOCK 27 FILTER_BLOCK
27 }; 28 };
28 29
29 typedef struct vp8_denoiser 30 typedef struct vp8_denoiser
30 { 31 {
(...skipping 10 matching lines...) Expand all
41 unsigned int best_sse, 42 unsigned int best_sse,
42 unsigned int zero_mv_sse, 43 unsigned int zero_mv_sse,
43 int recon_yoffset, 44 int recon_yoffset,
44 int recon_uvoffset); 45 int recon_uvoffset);
45 46
46 #ifdef __cplusplus 47 #ifdef __cplusplus
47 } // extern "C" 48 } // extern "C"
48 #endif 49 #endif
49 50
50 #endif // VP8_ENCODER_DENOISING_H_ 51 #endif // VP8_ENCODER_DENOISING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698