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

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

Issue 232133009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 8 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/vp8cx.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) 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 * return size of encoded data to be returned by vpx_svc_get_buffer 107 * return size of encoded data to be returned by vpx_svc_get_buffer
108 */ 108 */
109 size_t vpx_svc_get_frame_size(const SvcContext *svc_ctx); 109 size_t vpx_svc_get_frame_size(const SvcContext *svc_ctx);
110 110
111 /** 111 /**
112 * return buffer with encoded data 112 * return buffer with encoded data
113 */ 113 */
114 void *vpx_svc_get_buffer(const SvcContext *svc_ctx); 114 void *vpx_svc_get_buffer(const SvcContext *svc_ctx);
115 115
116 /** 116 /**
117 * return size of two pass rate control stats data to be returned by
118 * vpx_svc_get_rc_stats_buffer
119 */
120 size_t vpx_svc_get_rc_stats_buffer_size(const SvcContext *svc_ctx);
121
122 /**
123 * return buffer two pass of rate control stats data
124 */
125 char *vpx_svc_get_rc_stats_buffer(const SvcContext *svc_ctx);
126
127 /**
117 * return spatial resolution of the specified layer 128 * return spatial resolution of the specified layer
118 */ 129 */
119 vpx_codec_err_t vpx_svc_get_layer_resolution(const SvcContext *svc_ctx, 130 vpx_codec_err_t vpx_svc_get_layer_resolution(const SvcContext *svc_ctx,
120 int layer, 131 int layer,
121 unsigned int *width, 132 unsigned int *width,
122 unsigned int *height); 133 unsigned int *height);
123 /** 134 /**
124 * return number of frames that have been encoded 135 * return number of frames that have been encoded
125 */ 136 */
126 int vpx_svc_get_encode_frame_count(const SvcContext *svc_ctx); 137 int vpx_svc_get_encode_frame_count(const SvcContext *svc_ctx);
127 138
128 /** 139 /**
129 * return 1 if last encoded frame was a keyframe 140 * return 1 if last encoded frame was a keyframe
130 */ 141 */
131 int vpx_svc_is_keyframe(const SvcContext *svc_ctx); 142 int vpx_svc_is_keyframe(const SvcContext *svc_ctx);
132 143
133 /** 144 /**
134 * force the next frame to be a keyframe 145 * force the next frame to be a keyframe
135 */ 146 */
136 void vpx_svc_set_keyframe(SvcContext *svc_ctx); 147 void vpx_svc_set_keyframe(SvcContext *svc_ctx);
137 148
138 #ifdef __cplusplus 149 #ifdef __cplusplus
139 } // extern "C" 150 } // extern "C"
140 #endif 151 #endif
141 152
142 #endif // VPX_SVC_CONTEXT_H_ 153 #endif // VPX_SVC_CONTEXT_H_
OLDNEW
« no previous file with comments | « source/libvpx/vpx/src/vpx_encoder.c ('k') | source/libvpx/vpx/vp8cx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698