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 #ifndef VPX_VP8CX_H_ | 10 #ifndef VPX_VP8CX_H_ |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 * 2 = BT_709 | 501 * 2 = BT_709 |
502 * 3 = SMPTE_170 | 502 * 3 = SMPTE_170 |
503 * 4 = SMPTE_240 | 503 * 4 = SMPTE_240 |
504 * 5 = BT_2020 | 504 * 5 = BT_2020 |
505 * 6 = RESERVED | 505 * 6 = RESERVED |
506 * 7 = SRGB | 506 * 7 = SRGB |
507 * | 507 * |
508 * Supported in codecs: VP9 | 508 * Supported in codecs: VP9 |
509 */ | 509 */ |
510 VP9E_SET_COLOR_SPACE, | 510 VP9E_SET_COLOR_SPACE, |
| 511 |
| 512 /*!\brief Codec control function to get an Active map back from the encoder. |
| 513 * |
| 514 * Supported in codecs: VP9 |
| 515 */ |
| 516 VP9E_GET_ACTIVEMAP, |
511 }; | 517 }; |
512 | 518 |
513 /*!\brief vpx 1-D scaling mode | 519 /*!\brief vpx 1-D scaling mode |
514 * | 520 * |
515 * This set of constants define 1-D vpx scaling modes | 521 * This set of constants define 1-D vpx scaling modes |
516 */ | 522 */ |
517 typedef enum vpx_scaling_mode_1d { | 523 typedef enum vpx_scaling_mode_1d { |
518 VP8E_NORMAL = 0, | 524 VP8E_NORMAL = 0, |
519 VP8E_FOURFIVE = 1, | 525 VP8E_FOURFIVE = 1, |
520 VP8E_THREEFIVE = 2, | 526 VP8E_THREEFIVE = 2, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 | 690 |
685 VPX_CTRL_USE_TYPE(VP9E_SET_AQ_MODE, unsigned int) | 691 VPX_CTRL_USE_TYPE(VP9E_SET_AQ_MODE, unsigned int) |
686 | 692 |
687 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PERIODIC_BOOST, unsigned int) | 693 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PERIODIC_BOOST, unsigned int) |
688 | 694 |
689 VPX_CTRL_USE_TYPE(VP9E_SET_NOISE_SENSITIVITY, unsigned int) | 695 VPX_CTRL_USE_TYPE(VP9E_SET_NOISE_SENSITIVITY, unsigned int) |
690 | 696 |
691 VPX_CTRL_USE_TYPE(VP9E_SET_TUNE_CONTENT, int) /* vp9e_tune_content */ | 697 VPX_CTRL_USE_TYPE(VP9E_SET_TUNE_CONTENT, int) /* vp9e_tune_content */ |
692 | 698 |
693 VPX_CTRL_USE_TYPE(VP9E_SET_COLOR_SPACE, int) | 699 VPX_CTRL_USE_TYPE(VP9E_SET_COLOR_SPACE, int) |
| 700 |
| 701 VPX_CTRL_USE_TYPE(VP9E_GET_ACTIVEMAP, vpx_active_map_t *) |
694 /*! @} - end defgroup vp8_encoder */ | 702 /*! @} - end defgroup vp8_encoder */ |
695 #ifdef __cplusplus | 703 #ifdef __cplusplus |
696 } // extern "C" | 704 } // extern "C" |
697 #endif | 705 #endif |
698 | 706 |
699 #endif // VPX_VP8CX_H_ | 707 #endif // VPX_VP8CX_H_ |
OLD | NEW |