| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 * algorithm. | 180 * algorithm. |
| 181 * | 181 * |
| 182 * For example, to allocate no more than 4.5 frames worth of bitrate | 182 * For example, to allocate no more than 4.5 frames worth of bitrate |
| 183 * to a keyframe, set this to 450. | 183 * to a keyframe, set this to 450. |
| 184 * | 184 * |
| 185 */ | 185 */ |
| 186 VP8E_SET_MAX_INTRA_BITRATE_PCT, | 186 VP8E_SET_MAX_INTRA_BITRATE_PCT, |
| 187 | 187 |
| 188 | 188 |
| 189 /* TODO(jkoleszar): Move to vp9cx.h */ | 189 /* TODO(jkoleszar): Move to vp9cx.h */ |
| 190 VP9E_SET_LOSSLESS | 190 VP9E_SET_LOSSLESS, |
| 191 VP9E_SET_TILE_COLUMNS, |
| 192 VP9E_SET_TILE_ROWS, |
| 193 VP9E_SET_FRAME_PARALLEL_DECODING |
| 191 }; | 194 }; |
| 192 | 195 |
| 193 /*!\brief vpx 1-D scaling mode | 196 /*!\brief vpx 1-D scaling mode |
| 194 * | 197 * |
| 195 * This set of constants define 1-D vpx scaling modes | 198 * This set of constants define 1-D vpx scaling modes |
| 196 */ | 199 */ |
| 197 typedef enum vpx_scaling_mode_1d { | 200 typedef enum vpx_scaling_mode_1d { |
| 198 VP8E_NORMAL = 0, | 201 VP8E_NORMAL = 0, |
| 199 VP8E_FOURFIVE = 1, | 202 VP8E_FOURFIVE = 1, |
| 200 VP8E_THREEFIVE = 2, | 203 VP8E_THREEFIVE = 2, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 VPX_CTRL_USE_TYPE(VP8E_SET_SHARPNESS, unsigned int) | 294 VPX_CTRL_USE_TYPE(VP8E_SET_SHARPNESS, unsigned int) |
| 292 VPX_CTRL_USE_TYPE(VP8E_SET_STATIC_THRESHOLD, unsigned int) | 295 VPX_CTRL_USE_TYPE(VP8E_SET_STATIC_THRESHOLD, unsigned int) |
| 293 VPX_CTRL_USE_TYPE(VP8E_SET_TOKEN_PARTITIONS, int) /* vp8e_token_partitions */ | 296 VPX_CTRL_USE_TYPE(VP8E_SET_TOKEN_PARTITIONS, int) /* vp8e_token_partitions */ |
| 294 | 297 |
| 295 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_MAXFRAMES, unsigned int) | 298 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_MAXFRAMES, unsigned int) |
| 296 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_STRENGTH, unsigned int) | 299 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_STRENGTH, unsigned int) |
| 297 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_TYPE, unsigned int) | 300 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_TYPE, unsigned int) |
| 298 VPX_CTRL_USE_TYPE(VP8E_SET_TUNING, int) /* vp8e_tuning */ | 301 VPX_CTRL_USE_TYPE(VP8E_SET_TUNING, int) /* vp8e_tuning */ |
| 299 VPX_CTRL_USE_TYPE(VP8E_SET_CQ_LEVEL, unsigned int) | 302 VPX_CTRL_USE_TYPE(VP8E_SET_CQ_LEVEL, unsigned int) |
| 300 | 303 |
| 304 VPX_CTRL_USE_TYPE(VP9E_SET_TILE_COLUMNS, int) |
| 305 VPX_CTRL_USE_TYPE(VP9E_SET_TILE_ROWS, int) |
| 306 |
| 301 VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER, int *) | 307 VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER, int *) |
| 302 VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER_64, int *) | 308 VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER_64, int *) |
| 303 | 309 |
| 304 VPX_CTRL_USE_TYPE(VP8E_SET_MAX_INTRA_BITRATE_PCT, unsigned int) | 310 VPX_CTRL_USE_TYPE(VP8E_SET_MAX_INTRA_BITRATE_PCT, unsigned int) |
| 305 | 311 |
| 306 VPX_CTRL_USE_TYPE(VP9E_SET_LOSSLESS, unsigned int) | 312 VPX_CTRL_USE_TYPE(VP9E_SET_LOSSLESS, unsigned int) |
| 307 | 313 |
| 314 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PARALLEL_DECODING, unsigned int) |
| 308 /*! @} - end defgroup vp8_encoder */ | 315 /*! @} - end defgroup vp8_encoder */ |
| 309 #include "vpx_codec_impl_bottom.h" | 316 #include "vpx_codec_impl_bottom.h" |
| 310 #endif | 317 #endif |
| OLD | NEW |