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

Side by Side Diff: source/libvpx/vpx/vp8cx.h

Issue 478033002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 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/vpx/src/vpx_encoder.c ('k') | source/libvpx/vpx/vpx_codec.h » ('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 VPX_VP8CX_H_ 10 #ifndef VPX_VP8CX_H_
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 VP9E_SET_AQ_MODE, 198 VP9E_SET_AQ_MODE,
199 VP9E_SET_FRAME_PERIODIC_BOOST, 199 VP9E_SET_FRAME_PERIODIC_BOOST,
200 200
201 VP9E_SET_SVC, 201 VP9E_SET_SVC,
202 VP9E_SET_SVC_PARAMETERS, 202 VP9E_SET_SVC_PARAMETERS,
203 /*!\brief control function to set svc layer for spatial and temporal. 203 /*!\brief control function to set svc layer for spatial and temporal.
204 * \note Valid ranges: 0..#vpx_codec_enc_cfg::ss_number_layers for spatial 204 * \note Valid ranges: 0..#vpx_codec_enc_cfg::ss_number_layers for spatial
205 * layer and 0..#vpx_codec_enc_cfg::ts_number_layers for 205 * layer and 0..#vpx_codec_enc_cfg::ts_number_layers for
206 * temporal layer. 206 * temporal layer.
207 */ 207 */
208 VP9E_SET_SVC_LAYER_ID 208 VP9E_SET_SVC_LAYER_ID,
209 VP9E_SET_TUNE_CONTENT
209 }; 210 };
210 211
211 /*!\brief vpx 1-D scaling mode 212 /*!\brief vpx 1-D scaling mode
212 * 213 *
213 * This set of constants define 1-D vpx scaling modes 214 * This set of constants define 1-D vpx scaling modes
214 */ 215 */
215 typedef enum vpx_scaling_mode_1d { 216 typedef enum vpx_scaling_mode_1d {
216 VP8E_NORMAL = 0, 217 VP8E_NORMAL = 0,
217 VP8E_FOURFIVE = 1, 218 VP8E_FOURFIVE = 1,
218 VP8E_THREEFIVE = 2, 219 VP8E_THREEFIVE = 2,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 * 271 *
271 */ 272 */
272 273
273 typedef enum { 274 typedef enum {
274 VP8_ONE_TOKENPARTITION = 0, 275 VP8_ONE_TOKENPARTITION = 0,
275 VP8_TWO_TOKENPARTITION = 1, 276 VP8_TWO_TOKENPARTITION = 1,
276 VP8_FOUR_TOKENPARTITION = 2, 277 VP8_FOUR_TOKENPARTITION = 2,
277 VP8_EIGHT_TOKENPARTITION = 3 278 VP8_EIGHT_TOKENPARTITION = 3
278 } vp8e_token_partitions; 279 } vp8e_token_partitions;
279 280
281 /*!brief VP9 encoder content type */
282 typedef enum {
283 VP9E_CONTENT_DEFAULT,
284 VP9E_CONTENT_SCREEN,
285 VP9E_CONTENT_INVALID
286 } vp9e_tune_content;
280 287
281 /*!\brief VP8 model tuning parameters 288 /*!\brief VP8 model tuning parameters
282 * 289 *
283 * Changes the encoder to tune for certain types of input material. 290 * Changes the encoder to tune for certain types of input material.
284 * 291 *
285 */ 292 */
286 typedef enum { 293 typedef enum {
287 VP8_TUNE_PSNR, 294 VP8_TUNE_PSNR,
288 VP8_TUNE_SSIM 295 VP8_TUNE_SSIM
289 } vp8e_tuning; 296 } vp8e_tuning;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 VPX_CTRL_USE_TYPE(VP8E_SET_MAX_INTRA_BITRATE_PCT, unsigned int) 370 VPX_CTRL_USE_TYPE(VP8E_SET_MAX_INTRA_BITRATE_PCT, unsigned int)
364 371
365 VPX_CTRL_USE_TYPE(VP9E_SET_LOSSLESS, unsigned int) 372 VPX_CTRL_USE_TYPE(VP9E_SET_LOSSLESS, unsigned int)
366 373
367 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PARALLEL_DECODING, unsigned int) 374 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PARALLEL_DECODING, unsigned int)
368 375
369 VPX_CTRL_USE_TYPE(VP9E_SET_AQ_MODE, unsigned int) 376 VPX_CTRL_USE_TYPE(VP9E_SET_AQ_MODE, unsigned int)
370 377
371 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PERIODIC_BOOST, unsigned int) 378 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PERIODIC_BOOST, unsigned int)
372 379
380 VPX_CTRL_USE_TYPE(VP9E_SET_TUNE_CONTENT, int) /* vp9e_tune_content */
373 /*! @} - end defgroup vp8_encoder */ 381 /*! @} - end defgroup vp8_encoder */
374 #ifdef __cplusplus 382 #ifdef __cplusplus
375 } // extern "C" 383 } // extern "C"
376 #endif 384 #endif
377 385
378 #endif // VPX_VP8CX_H_ 386 #endif // VPX_VP8CX_H_
OLDNEW
« no previous file with comments | « source/libvpx/vpx/src/vpx_encoder.c ('k') | source/libvpx/vpx/vpx_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698