summaryrefslogtreecommitdiff
path: root/vp8/decoder/onyxd_int.h
diff options
context:
space:
mode:
authorStefan Holmer <holmer@google.com>2011-09-29 09:17:09 +0200
committerJohn Koleszar <jkoleszar@google.com>2011-11-01 14:44:37 -0700
commit142720521539d326ff7a31f17962c1d8c81196d4 (patch)
tree0d2e12cc4ca88cbd7d8fa2a28ececb73fbda9c0f /vp8/decoder/onyxd_int.h
parent9bf3bc9a729ddbc909c589b810a80e5be80c1083 (diff)
downloadlibvpx-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/decoder/onyxd_int.h')
-rw-r--r--vp8/decoder/onyxd_int.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/vp8/decoder/onyxd_int.h b/vp8/decoder/onyxd_int.h
index bc00831a4..519a7f2b9 100644
--- a/vp8/decoder/onyxd_int.h
+++ b/vp8/decoder/onyxd_int.h
@@ -54,11 +54,9 @@ typedef struct VP8Decompressor
VP8D_CONFIG oxcf;
- const unsigned char *Source;
- unsigned int source_sz;
- const unsigned char *partitions[MAX_PARTITIONS];
- unsigned int partition_sizes[MAX_PARTITIONS];
- unsigned int num_partitions;
+ const unsigned char *fragments[MAX_PARTITIONS];
+ unsigned int fragment_sizes[MAX_PARTITIONS];
+ unsigned int num_fragments;
#if CONFIG_MULTITHREAD
/* variable for threading */
@@ -112,7 +110,7 @@ typedef struct VP8Decompressor
#endif
int ec_enabled;
int ec_active;
- int input_partition;
+ int input_fragments;
int decoded_key_frame;
int independent_partitions;
int frame_corrupt_residual;