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

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

Issue 1169543007: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « source/libvpx/vpx/src/svc_encodeframe.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 15 matching lines...) Expand all
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 spatial layers 34 int spatial_layers; // number of spatial layers
35 int temporal_layers; // number of temporal layers 35 int temporal_layers; // number of temporal layers
36 int temporal_layering_mode;
36 SVC_LOG_LEVEL log_level; // amount of information to display 37 SVC_LOG_LEVEL log_level; // amount of information to display
37 int log_print; // when set, printf log messages instead of returning the 38 int log_print; // when set, printf log messages instead of returning the
38 // message with svc_get_message 39 // message with svc_get_message
39 40 int output_rc_stat; // for outputting rc stats
41 int speed; // speed setting for codec
42 int threads;
40 // private storage for vpx_svc_encode 43 // private storage for vpx_svc_encode
41 void *internal; 44 void *internal;
42 } SvcContext; 45 } SvcContext;
43 46
44 #define OPTION_BUFFER_SIZE 1024 47 #define OPTION_BUFFER_SIZE 1024
45 #define COMPONENTS 4 // psnr & sse statistics maintained for total, y, u, v 48 #define COMPONENTS 4 // psnr & sse statistics maintained for total, y, u, v
46 49
47 typedef struct SvcInternal { 50 typedef struct SvcInternal {
48 char options[OPTION_BUFFER_SIZE]; // set by vpx_svc_set_options 51 char options[OPTION_BUFFER_SIZE]; // set by vpx_svc_set_options
49 52
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 /** 113 /**
111 * get status message from previous encode 114 * get status message from previous encode
112 */ 115 */
113 const char *vpx_svc_get_message(const SvcContext *svc_ctx); 116 const char *vpx_svc_get_message(const SvcContext *svc_ctx);
114 117
115 #ifdef __cplusplus 118 #ifdef __cplusplus
116 } // extern "C" 119 } // extern "C"
117 #endif 120 #endif
118 121
119 #endif // VPX_SVC_CONTEXT_H_ 122 #endif // VPX_SVC_CONTEXT_H_
OLDNEW
« no previous file with comments | « source/libvpx/vpx/src/svc_encodeframe.c ('k') | source/libvpx/vpx/vp8cx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698