summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2018-12-21 00:03:15 +0000
committerJohann <johannkoenig@google.com>2018-12-21 00:03:15 +0000
commit17c6f62628aebbda1b29df9750a1311ca0ca0e5f (patch)
tree2a94aa8c802ce2d85f6c38ba9754cea6d223cbd4 /examples
parent03a54576711c907648647fc2ef120aee0e2be0f6 (diff)
downloadlibvpx-17c6f62628aebbda1b29df9750a1311ca0ca0e5f.tar
libvpx-17c6f62628aebbda1b29df9750a1311ca0ca0e5f.tar.gz
libvpx-17c6f62628aebbda1b29df9750a1311ca0ca0e5f.tar.bz2
libvpx-17c6f62628aebbda1b29df9750a1311ca0ca0e5f.zip
svc examples: resolve missing declarations
BUG=webm:1584 Change-Id: Icb7ba5bb5a6d460c4d0419b76ee54af461ca4a52
Diffstat (limited to 'examples')
-rw-r--r--examples/svc_encodeframe.c4
-rw-r--r--examples/vp9_spatial_svc_encoder.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/examples/svc_encodeframe.c b/examples/svc_encodeframe.c
index 0b3c90e22..40d6e3a3c 100644
--- a/examples/svc_encodeframe.c
+++ b/examples/svc_encodeframe.c
@@ -280,8 +280,8 @@ vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options) {
return VPX_CODEC_OK;
}
-vpx_codec_err_t assign_layer_bitrates(const SvcContext *svc_ctx,
- vpx_codec_enc_cfg_t *const enc_cfg) {
+static vpx_codec_err_t assign_layer_bitrates(
+ const SvcContext *svc_ctx, vpx_codec_enc_cfg_t *const enc_cfg) {
int i;
const SvcInternal_t *const si = get_const_svc_internal(svc_ctx);
int sl, tl, spatial_layer_target;
diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c
index 50d9106ac..f8093e1bf 100644
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -539,8 +539,9 @@ static void printout_rate_control_summary(struct RateControlStats *rc,
tot_num_frames);
}
-vpx_codec_err_t parse_superframe_index(const uint8_t *data, size_t data_sz,
- uint64_t sizes[8], int *count) {
+static vpx_codec_err_t parse_superframe_index(const uint8_t *data,
+ size_t data_sz, uint64_t sizes[8],
+ int *count) {
// A chunk ending with a byte matching 0xc0 is an invalid chunk unless
// it is a super frame index. If the last byte of real video compression
// data is 0xc0 the encoder must add a 0 byte. If we have the marker but