| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 * quantizers=<q1>,<q2>,... | 57 * quantizers=<q1>,<q2>,... |
| 58 */ | 58 */ |
| 59 vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options); | 59 vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options); |
| 60 | 60 |
| 61 /** | 61 /** |
| 62 * Set SVC quantizer values | 62 * Set SVC quantizer values |
| 63 * values comma separated, ordered from lowest resolution to highest | 63 * values comma separated, ordered from lowest resolution to highest |
| 64 * e.g., "60,53,39,33,27" | 64 * e.g., "60,53,39,33,27" |
| 65 */ | 65 */ |
| 66 vpx_codec_err_t vpx_svc_set_quantizers(SvcContext *svc_ctx, | 66 vpx_codec_err_t vpx_svc_set_quantizers(SvcContext *svc_ctx, |
| 67 const char *quantizer_values); | 67 const char *quantizer_values, |
| 68 const int is_for_keyframe); |
| 68 | 69 |
| 69 /** | 70 /** |
| 70 * Set SVC scale factors | 71 * Set SVC scale factors |
| 71 * values comma separated, ordered from lowest resolution to highest | 72 * values comma separated, ordered from lowest resolution to highest |
| 72 * e.g., "4/16,5/16,7/16,11/16,16/16" | 73 * e.g., "4/16,5/16,7/16,11/16,16/16" |
| 73 */ | 74 */ |
| 74 vpx_codec_err_t vpx_svc_set_scale_factors(SvcContext *svc_ctx, | 75 vpx_codec_err_t vpx_svc_set_scale_factors(SvcContext *svc_ctx, |
| 75 const char *scale_factors); | 76 const char *scale_factors); |
| 76 | 77 |
| 77 /** | 78 /** |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 /** | 133 /** |
| 133 * force the next frame to be a keyframe | 134 * force the next frame to be a keyframe |
| 134 */ | 135 */ |
| 135 void vpx_svc_set_keyframe(SvcContext *svc_ctx); | 136 void vpx_svc_set_keyframe(SvcContext *svc_ctx); |
| 136 | 137 |
| 137 #ifdef __cplusplus | 138 #ifdef __cplusplus |
| 138 } // extern "C" | 139 } // extern "C" |
| 139 #endif | 140 #endif |
| 140 | 141 |
| 141 #endif // VPX_SVC_CONTEXT_H_ | 142 #endif // VPX_SVC_CONTEXT_H_ |
| OLD | NEW |