summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2014-11-07 11:01:53 -0800
committerDeb Mukherjee <debargha@google.com>2014-11-10 16:08:58 -0800
commit0ba1542f1242f2b076180aa0a8ebf279941eb520 (patch)
treeccf089c13dbe8bac2b6eadaf208b381cc0e5c35f /examples
parent08d86bc9043f55d86f20f4bab74bc4ca949b3a4c (diff)
downloadlibvpx-0ba1542f1242f2b076180aa0a8ebf279941eb520.tar.gz
libvpx-0ba1542f1242f2b076180aa0a8ebf279941eb520.tar.bz2
libvpx-0ba1542f1242f2b076180aa0a8ebf279941eb520.zip
Vidyo: Support for one-pass rc-enabled SVC encoder
Adds support for one-pass rc-enabled SVC encoder with callbacks for getting per-layer packets. - the callback function registration is implemented as an encoder control function. - if the callback function is not registered, the old way of aggregating packets with superframe will take effect. - one more control function “VP9E_GET_SVC_LAYER_ID” has been implemented to get the temporal/spatial id from the encoder within the callback. This can be used to get the ids to put on RTP packet. Change-Id: I1a90e00135dde65da128b758e6c00b57299a111a
Diffstat (limited to 'examples')
-rw-r--r--examples/vp9_spatial_svc_encoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c
index a4a9edb2d..a193c671b 100644
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -125,7 +125,7 @@ void usage_exit() {
}
static void parse_command_line(int argc, const char **argv_,
- AppInput *app_input, SvcContext *svc_ctx,
+ AppInput *app_input, SvcContext_t *svc_ctx,
vpx_codec_enc_cfg_t *enc_cfg) {
struct arg arg = {0};
char **argv = NULL;
@@ -322,7 +322,7 @@ int main(int argc, const char **argv) {
VpxVideoInfo info = {0};
vpx_codec_ctx_t codec;
vpx_codec_enc_cfg_t enc_cfg;
- SvcContext svc_ctx;
+ SvcContext_t svc_ctx;
uint32_t i;
uint32_t frame_cnt = 0;
vpx_image_t raw;