| 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 13 matching lines...) Expand all Loading... |
| 24 #endif | 24 #endif |
| 25 | 25 |
| 26 typedef enum SVC_LOG_LEVEL { | 26 typedef enum SVC_LOG_LEVEL { |
| 27 SVC_LOG_ERROR, | 27 SVC_LOG_ERROR, |
| 28 SVC_LOG_INFO, | 28 SVC_LOG_INFO, |
| 29 SVC_LOG_DEBUG | 29 SVC_LOG_DEBUG |
| 30 } SVC_LOG_LEVEL; | 30 } SVC_LOG_LEVEL; |
| 31 | 31 |
| 32 typedef struct { | 32 typedef struct { |
| 33 // public interface to svc_command options | 33 // public interface to svc_command options |
| 34 int spatial_layers; // number of layers | 34 int spatial_layers; // number of spatial layers |
| 35 int temporal_layers; // number of temporal layers |
| 35 SVC_LOG_LEVEL log_level; // amount of information to display | 36 SVC_LOG_LEVEL log_level; // amount of information to display |
| 36 int log_print; // when set, printf log messages instead of returning the | 37 int log_print; // when set, printf log messages instead of returning the |
| 37 // message with svc_get_message | 38 // message with svc_get_message |
| 38 | 39 |
| 39 // private storage for vpx_svc_encode | 40 // private storage for vpx_svc_encode |
| 40 void *internal; | 41 void *internal; |
| 41 } SvcContext; | 42 } SvcContext; |
| 42 | 43 |
| 43 /** | 44 /** |
| 44 * Set SVC options | 45 * Set SVC options |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 /** | 138 /** |
| 138 * force the next frame to be a keyframe | 139 * force the next frame to be a keyframe |
| 139 */ | 140 */ |
| 140 void vpx_svc_set_keyframe(SvcContext *svc_ctx); | 141 void vpx_svc_set_keyframe(SvcContext *svc_ctx); |
| 141 | 142 |
| 142 #ifdef __cplusplus | 143 #ifdef __cplusplus |
| 143 } // extern "C" | 144 } // extern "C" |
| 144 #endif | 145 #endif |
| 145 | 146 |
| 146 #endif // VPX_SVC_CONTEXT_H_ | 147 #endif // VPX_SVC_CONTEXT_H_ |
| OLD | NEW |