| OLD | NEW |
| 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 | 10 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 { | 97 { |
| 98 /* 4 versions of bitstream defined: | 98 /* 4 versions of bitstream defined: |
| 99 * 0 best quality/slowest decode, 3 lowest quality/fastest decode | 99 * 0 best quality/slowest decode, 3 lowest quality/fastest decode |
| 100 */ | 100 */ |
| 101 int Version; | 101 int Version; |
| 102 int Width; | 102 int Width; |
| 103 int Height; | 103 int Height; |
| 104 struct vpx_rational timebase; | 104 struct vpx_rational timebase; |
| 105 unsigned int target_bandwidth; /* kilobits per second */ | 105 unsigned int target_bandwidth; /* kilobits per second */ |
| 106 | 106 |
| 107 /* parameter used for applying pre processing blur: recommendation 0 */ | 107 /* Parameter used for applying denoiser. |
| 108 * For temporal denoiser: noise_sensitivity = 0 means off, |
| 109 * noise_sensitivity = 1 means temporal denoiser on for Y channel only, |
| 110 * noise_sensitivity = 2 means temporal denoiser on for all channels. |
| 111 * noise_sensitivity = 3 will be used for aggressive mode in future. |
| 112 * Temporal denoiser is enabled via the build option |
| 113 * CONFIG_TEMPORAL_DENOISING. |
| 114 * For spatial denoiser: noise_sensitivity controls the amount of |
| 115 * pre-processing blur: noise_sensitivity = 0 means off. |
| 116 * Spatial denoiser invoked under !CONFIG_TEMPORAL_DENOISING. |
| 117 */ |
| 108 int noise_sensitivity; | 118 int noise_sensitivity; |
| 109 | 119 |
| 110 /* parameter used for sharpening output: recommendation 0: */ | 120 /* parameter used for sharpening output: recommendation 0: */ |
| 111 int Sharpness; | 121 int Sharpness; |
| 112 int cpu_used; | 122 int cpu_used; |
| 113 unsigned int rc_max_intra_bitrate_pct; | 123 unsigned int rc_max_intra_bitrate_pct; |
| 114 | 124 |
| 115 /* mode -> | 125 /* mode -> |
| 116 *(0)=Realtime/Live Encoding. This mode is optimized for realtim | 126 *(0)=Realtime/Live Encoding. This mode is optimized for realtim |
| 117 * encoding (for example, capturing a television signal or feed | 127 * encoding (for example, capturing a television signal or feed |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 int vp8_set_roimap(struct VP8_COMP* comp, unsigned char *map, unsigned int r
ows, unsigned int cols, int delta_q[4], int delta_lf[4], unsigned int threshold[
4]); | 271 int vp8_set_roimap(struct VP8_COMP* comp, unsigned char *map, unsigned int r
ows, unsigned int cols, int delta_q[4], int delta_lf[4], unsigned int threshold[
4]); |
| 262 int vp8_set_active_map(struct VP8_COMP* comp, unsigned char *map, unsigned i
nt rows, unsigned int cols); | 272 int vp8_set_active_map(struct VP8_COMP* comp, unsigned char *map, unsigned i
nt rows, unsigned int cols); |
| 263 int vp8_set_internal_size(struct VP8_COMP* comp, VPX_SCALING horiz_mode, VPX
_SCALING vert_mode); | 273 int vp8_set_internal_size(struct VP8_COMP* comp, VPX_SCALING horiz_mode, VPX
_SCALING vert_mode); |
| 264 int vp8_get_quantizer(struct VP8_COMP* c); | 274 int vp8_get_quantizer(struct VP8_COMP* c); |
| 265 | 275 |
| 266 #ifdef __cplusplus | 276 #ifdef __cplusplus |
| 267 } | 277 } |
| 268 #endif | 278 #endif |
| 269 | 279 |
| 270 #endif // VP8_COMMON_ONYX_H_ | 280 #endif // VP8_COMMON_ONYX_H_ |
| OLD | NEW |