diff options
author | Stefan Holmer <holmer@google.com> | 2011-09-29 09:17:09 +0200 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2011-11-01 14:44:37 -0700 |
commit | 142720521539d326ff7a31f17962c1d8c81196d4 (patch) | |
tree | 0d2e12cc4ca88cbd7d8fa2a28ececb73fbda9c0f /vp8/vp8_dx_iface.c | |
parent | 9bf3bc9a729ddbc909c589b810a80e5be80c1083 (diff) | |
download | libvpx-142720521539d326ff7a31f17962c1d8c81196d4.tar libvpx-142720521539d326ff7a31f17962c1d8c81196d4.tar.gz libvpx-142720521539d326ff7a31f17962c1d8c81196d4.tar.bz2 libvpx-142720521539d326ff7a31f17962c1d8c81196d4.zip |
Changing decoder input partition API to input fragments.
Adding support for several partitions within one input fragment.
This is necessary to fully support all possible packetization
combinations in the VP8 RTP profile. Several partitions can
be transmitted in the same packet, and they can only be split
by reading the partition lengths from the bitstream.
Change-Id: If7d7ea331cc78cb7efd74c4a976b720c9a655463
Diffstat (limited to 'vp8/vp8_dx_iface.c')
-rw-r--r-- | vp8/vp8_dx_iface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/vp8_dx_iface.c b/vp8/vp8_dx_iface.c index ad8cd5e95..cdfcd2142 100644 --- a/vp8/vp8_dx_iface.c +++ b/vp8/vp8_dx_iface.c @@ -398,8 +398,8 @@ static vpx_codec_err_t vp8_decode(vpx_codec_alg_priv_t *ctx, oxcf.max_threads = ctx->cfg.threads; oxcf.error_concealment = (ctx->base.init_flags & VPX_CODEC_USE_ERROR_CONCEALMENT); - oxcf.input_partition = - (ctx->base.init_flags & VPX_CODEC_USE_INPUT_PARTITION); + oxcf.input_fragments = + (ctx->base.init_flags & VPX_CODEC_USE_INPUT_FRAGMENTS); optr = vp8dx_create_decompressor(&oxcf); @@ -741,7 +741,7 @@ CODEC_INTERFACE(vpx_codec_vp8_dx) = "WebM Project VP8 Decoder" VERSION_STRING, VPX_CODEC_INTERNAL_ABI_VERSION, VPX_CODEC_CAP_DECODER | VP8_CAP_POSTPROC | VP8_CAP_ERROR_CONCEALMENT | - VPX_CODEC_CAP_INPUT_PARTITION, + VPX_CODEC_CAP_INPUT_FRAGMENTS, /* vpx_codec_caps_t caps; */ vp8_init, /* vpx_codec_init_fn_t init; */ vp8_destroy, /* vpx_codec_destroy_fn_t destroy; */ |