summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2010-05-20 13:14:17 -0400
committerJames Zern <jzern@google.com>2010-05-20 13:17:53 -0400
commitf767a5a29c35a96f09bbcb5193fa809994db4904 (patch)
tree1e3234e9311dd618dc3d938ad475ee40c2f2da33
parent0fc9abfbfd28f5cc423e286691aa8824cf3966c2 (diff)
downloadlibvpx-f767a5a29c35a96f09bbcb5193fa809994db4904.tar
libvpx-f767a5a29c35a96f09bbcb5193fa809994db4904.tar.gz
libvpx-f767a5a29c35a96f09bbcb5193fa809994db4904.tar.bz2
libvpx-f767a5a29c35a96f09bbcb5193fa809994db4904.zip
Name all external facing structs
Replace all anonymous structs with struct name matching current typedef minus _t. Change-Id: I639295e8f1bc4651fffc9286a7dba5171c92ce92
-rw-r--r--vpx_codec/internal/vpx_codec_internal.h2
-rw-r--r--vpx_codec/vpx_codec.h2
-rw-r--r--vpx_codec/vpx_decoder.h2
-rw-r--r--vpx_codec/vpx_image.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/vpx_codec/internal/vpx_codec_internal.h b/vpx_codec/internal/vpx_codec_internal.h
index 08675520b..e95d603e8 100644
--- a/vpx_codec/internal/vpx_codec_internal.h
+++ b/vpx_codec/internal/vpx_codec_internal.h
@@ -314,7 +314,7 @@ struct vpx_codec_iface
};
/*!\brief Callback function pointer / user data pair storage */
-typedef struct
+typedef struct vpx_codec_priv_cb_pair
{
union
{
diff --git a/vpx_codec/vpx_codec.h b/vpx_codec/vpx_codec.h
index e2a79f911..d18505c69 100644
--- a/vpx_codec/vpx_codec.h
+++ b/vpx_codec/vpx_codec.h
@@ -196,7 +196,7 @@ extern "C" {
* may reference the 'name' member to get a printable description of the
* algorithm.
*/
- typedef struct
+ typedef struct vpx_codec_ctx
{
const char *name; /**< Printable interface name */
vpx_codec_iface_t *iface; /**< Interface pointers */
diff --git a/vpx_codec/vpx_decoder.h b/vpx_codec/vpx_decoder.h
index 5e4968de5..ab0818f04 100644
--- a/vpx_codec/vpx_decoder.h
+++ b/vpx_codec/vpx_decoder.h
@@ -68,7 +68,7 @@ extern "C" {
* stream. Algorithms may extend this structure with data specific
* to their bitstream by setting the sz member appropriately.
*/
- typedef struct
+ typedef struct vpx_codec_stream_info
{
unsigned int sz; /**< Size of this structure */
unsigned int w; /**< Width (or 0 for unknown/default) */
diff --git a/vpx_codec/vpx_image.h b/vpx_codec/vpx_image.h
index a8a941674..09def8f0e 100644
--- a/vpx_codec/vpx_image.h
+++ b/vpx_codec/vpx_image.h
@@ -60,7 +60,7 @@ extern "C" {
/**\brief Image Descriptor */
- typedef struct
+ typedef struct vpx_image
{
img_fmt_t fmt; /**< Image Format */